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

Disassembly:
push 0xffffffffffffffff
push 0x641550
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
mov esi, dword [esp + 0x60]
push edi
lea eax, [esp + 0x18]
push eax
mov ecx, esi
call fcn.00571840
push eax
mov dword [esp + 0x50], 0
call fcn.00611800
mov ebx, dword [esp + 0x1c]
add esp, 4
mov ebp, eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x4c], 0xffffffff
test ebx, ebx
je 0x61221e
push 0
lea ecx, [esp + 0x14]
call fcn.005db214
mov eax, dword [ebx + 4]
test eax, eax
je 0x6121fe
cmp eax, 0xffffffff
jae 0x6121fe
dec eax
mov dword [ebx + 4], eax
mov edi, dword [ebx + 4]
neg edi
sbb edi, edi
lea ecx, [esp + 0x10]
not edi
call fcn.005db23c
and edi, ebx
je 0x61221e
mov edx, dword [edi]
mov eax, dword [edx]
push 1
mov ecx, edi
call eax
lea ecx, [esp + 0x28]
push ecx
mov ecx, ebp
call fcn.00611230
mov ebx, dword [esp + 0x6c]
mov al, byte [ebx]
mov dword [esp + 0x4c], 1
cmp al, 0x2b
je 0x612263
cmp al, 0x2d
je 0x612263
cmp al, 0x30
jne 0x612259
mov al, byte [ebx + 1]
cmp al, 0x78
je 0x61224f
cmp al, 0x58
jne 0x612259
mov dword [esp + 0x10], 2
jmp 0x61226b
mov dword [esp + 0x10], 0
jmp 0x61226b
mov dword [esp + 0x10], 1
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x28]
mov eax, edx
cmp ecx, 0x10
jae 0x61227e
lea eax, [esp + 0x28]
cmp byte [eax], 0x7f
je 0x612311
mov eax, edx
cmp ecx, 0x10
jae 0x612292
lea eax, [esp + 0x28]
cmp byte [eax], 0
jle 0x612311
cmp ecx, 0x10
jae 0x6122a0
lea edx, [esp + 0x28]
mov ebp, dword [esp + 0x70]
mov eax, edx
mov al, byte [eax]
mov dword [esp + 0x6c], edx
mov esi, ebp
cmp al, 0x7f
je 0x6122f6
test al, al
jle 0x6122f6
mov ecx, esi
sub ecx, dword [esp + 0x10]
movsx eax, al
cmp eax, ecx
jae 0x6122f6
sub esi, eax
mov eax, ebp
sub eax, esi
inc eax
push eax
lea edi, [esi + ebx]
push edi
push eax
lea eax, [esi + ebx + 1]
push eax
call fcn.005dda9f
mov eax, dword [esp + 0x7c]
add esp, 0x10
mov byte [edi], 0
inc ebp
cmp byte [eax + 1], 0
jle 0x6122f0
inc eax
mov dword [esp + 0x6c], eax
mov al, byte [eax]
cmp al, 0x7f
jne 0x6122b2
mov esi, dword [esp + 0x64]
cmp dword [esi + 0x24], 0
mov edi, dword [esi + 0x20]
jl 0x612317
jg 0x612309
test edi, edi
je 0x612317
cmp edi, ebp
jbe 0x612317
sub edi, ebp
jmp 0x612319
mov ebp, dword [esp + 0x70]
jmp 0x6122fa
xor edi, edi
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x54]
and eax, 0x1c0
cmp eax, 0x40
je 0x6123ba
mov edx, dword [esp + 0x60]
cmp eax, 0x100
mov eax, dword [esp + 0x5c]
je 0x612362
mov ecx, dword [esp + 0x68]
push edi
push ecx
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
push esi
call fcn.00610eb0
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov eax, dword [eax + 4]
add esp, 0x18
mov dword [esp + 0x60], eax
jmp 0x6123b8
mov ecx, dword [esp + 0x10]
push ecx
push ebx
push edx
push eax
lea ecx, [esp + 0x30]
push ecx
push esi
call fcn.00610f20
mov edx, dword [eax]
mov dword [esp + 0x74], edx
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x28]
push edi
push edx
mov edx, dword [eax]
add ebx, ecx
sub ebp, ecx
mov ecx, dword [eax + 4]
push ecx
push edx
lea eax, [esp + 0x48]
push eax
push esi
call fcn.00610eb0
mov ecx, dword [eax]
mov dword [esp + 0x8c], ecx
mov edx, dword [eax + 4]
add esp, 0x30
mov dword [esp + 0x60], edx
xor edi, edi
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov byte [esp + 0x6c], al
mov eax, dword [esp + 0x6c]
push eax
push ebp
push ebx
push ecx
push edx
lea eax, [esp + 0x34]
push eax
push esi
call fcn.00610f90
mov ecx, dword [eax]
mov edx, dword [esp + 0x80]
push edi
mov edi, dword [esp + 0x78]
mov dword [esp + 0x7c], ecx
mov eax, dword [eax + 4]
xor ebx, ebx
mov dword [edx + 0x20], ebx
mov dword [edx + 0x24], ebx
mov edx, dword [esp + 0x88]
push edx
push eax
push ecx
push edi
push esi
mov dword [esp + 0x94], eax
call fcn.00610eb0
add esp, 0x34
cmp dword [esp + 0x3c], 0x10
jb 0x612431
mov eax, dword [esp + 0x28]
push eax
call fcn.005dc86c
add esp, 4
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret