Function at 0x619190
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x1c
cmp byte [eax + 2], 0
push ebx
push ebp
push esi
movzx esi, byte [eax + 0xa]
push edi
mov edi, dword [esp + 0x34]
je 0x619204
mov ecx, dword [esp + 0x38]
mov ebp, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x10]
add ebx, ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
cmp ebx, 0x80
jae 0x6191d6
mov byte [esi + edi], bl
mov eax, 1
jmp 0x6191eb
mov eax, ebx
cdq
push edx
push eax
lea eax, [esi + edi]
push eax
call fcn.006619a0
mov ecx, dword [esp + 0x44]
add esp, 0xc
push dword [ecx + 0xc]
movzx eax, al
push dword [ecx + 8]
add esi, eax
lea eax, [esi + edi]
push eax
call fcn.006619a0
add esp, 0xc
jmp 0x619241
mov eax, dword [esp + 0x38]
mov ebx, dword [eax + 8]
mov ebp, ebx
mov eax, dword [eax]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], eax
cmp ebx, 0x80
jae 0x61922d
mov byte [esi + edi], bl
mov eax, 1
jmp 0x61923e
mov eax, ebx
cdq
push edx
push eax
lea eax, [esi + edi]
push eax
call fcn.006619a0
add esp, 0xc
movzx eax, al
mov ecx, dword [esp + 0x30]
add esi, eax
add edi, esi
movzx eax, word [ecx + 0xe]
mov dword [esp + 0x24], eax
cmp ebx, eax
jg 0x61928e
lea ecx, [ebx + esi]
cmp ecx, 4
jge 0x619262
mov ecx, 4
mov eax, dword [esp + 0x3c]
push ebp
push dword [esp + 0x14]
push edi
mov dword [eax], ecx
call sub.MSVCRT.dll_memcpy
sub ebx, ebp
lea eax, [edi + ebp]
push ebx
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
movzx edx, word [ecx + 0x10]
mov eax, ebx
mov ecx, dword [ecx + 0x34]
sub eax, edx
mov dword [esp + 0x28], edx
xor edx, edx
mov ecx, dword [ecx + 0x24]
sub ecx, 4
div ecx
mov eax, dword [esp + 0x28]
lea ebp, [eax + edx]
cmp ebp, dword [esp + 0x24]
jle 0x6192b6
mov ebp, eax
mov eax, dword [esp + 0x3c]
lea edx, [esi + ebp]
lea ecx, [edx + 4]
mov dword [eax], ecx
mov eax, dword [esp + 0x34]
add eax, edx
mov dword [esp + 0x28], eax
xor eax, eax
mov dword [esp + 0x1c], eax
xor ebx, ebx
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], ebx
mov eax, dword [eax + 0x34]
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
jmp 0x6192f0
mov esi, eax
cmp eax, ebp
jle 0x6192f8
mov esi, ebp
cmp ecx, esi
jl 0x619309
push esi
push dword [esp + 0x14]
push edi
call sub.MSVCRT.dll_memcpy
jmp 0x619325
test ecx, ecx
jle 0x61931c
push ecx
push dword [esp + 0x14]
mov esi, ecx
push edi
call sub.MSVCRT.dll_memcpy
jmp 0x619325
push esi
push 0
push edi
call sub.MSVCRT.dll_memset
mov eax, dword [esp + 0x20]
add esp, 0xc
sub eax, esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x6194d4
mov ecx, dword [esp + 0x18]
add edi, esi
add dword [esp + 0x10], esi
sub ecx, esi
mov dword [esp + 0x18], ecx
sub ebp, esi
jne 0x6192f0
mov esi, dword [esp + 0x34]
mov edi, ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x24], edi
cmp byte [esi + 0x11], 0
je 0x6193be
mov edi, dword [esi + 0x20]
mov ebp, dword [0xb26710]
jmp 0x619370
inc ebx
cmp ebx, 2
jae 0x61937a
xor ecx, ecx
jmp 0x6193a7
mov eax, 0xcccccccd
mul dword [esi + 0x24]
lea eax, [ebx - 2]
mov esi, edx
xor edx, edx
shr esi, 2
inc esi
div esi
xor edx, edx
mov ecx, eax
mov eax, ebp
div edi
imul ecx, esi
inc eax
add ecx, 2
cmp ecx, eax
jne 0x6193a3
inc ecx
mov esi, dword [esp + 0x34]
cmp ecx, ebx
je 0x619370
xor edx, edx
mov eax, ebp
div edi
inc eax
cmp ebx, eax
je 0x619370
mov edi, dword [esp + 0x24]
mov dword [esp + 0x20], ebx
push 0
push ebx
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
call fcn.00609eb0
mov ecx, dword [esp + 0x48]
add esp, 0x14
mov ebp, dword [esp + 0x30]
mov esi, eax
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], esi
cmp byte [ecx + 0x11], 0
je 0x619426
test esi, esi
jne 0x6194b7
lea eax, [esp + 0x24]
test edi, edi
push eax
setne al
add al, 3
push edi
movzx eax, al
push eax
push ebx
push ecx
call fcn.00639180
mov esi, dword [esp + 0x38]
add esp, 0x14
test esi, esi
je 0x61942e
test ebp, ebp
je 0x619426
push dword [ebp + 0x48]
call fcn.0065dcd0
add esp, 4
test esi, esi
jne 0x6194b7
mov ecx, dword [esp + 0x28]
mov eax, ebx
bswap eax
mov dword [ecx], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x619491
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x619488
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
dec ecx
mov edi, dword [esi]
cdq
push edx
push eax
push 0
push ecx
call fcn.00519690
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
add esp, 0x10
jmp 0x619491
push edx
call fcn.0065ec30
add esp, 4
mov edx, dword [ebp + 0x38]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x28], edx
mov dword [edx], 0
mov edi, dword [ebp + 0x38]
mov ebp, dword [eax + 0x24]
add edi, 4
sub ebp, 4
jmp 0x6192e3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6194ca
push dword [eax + 0x48]
call fcn.0065dcd0
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x6194e7
push dword [eax + 0x48]
call fcn.0065dcd0
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x1c
ret