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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x80]
cmp eax, dword [ecx + 8]
jbe 0x612cc7
sub esp, 0x100
mov eax, dword [esp + 0x104]
test byte [eax], al
movzx ecx, byte [eax + 0x104b]
test cl, cl
je 0x6129c0
movzx ecx, byte [eax + 0x104c]
test cl, cl
je 0x612870
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x64], edx
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x60], ebx
mov ebp, dword [ecx + 0x38]
mov dword [esp + 0x5c], ebp
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x58], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.00609fd0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x74], eax
mov ecx, dword [esp + 0x104]
mov edx, dword [ecx + 0x102c]
mov dword [esp], eax
mov ebx, dword [esp + 0x64]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x5c]
mov dword [esp + 0xc], esi
mov edi, dword [esp + 0x58]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebp
call fcn.0060bb80
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x74]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x104]
mov edi, edx
xor edx, edx
mov dword [esp + 0x48], edx
mov edx, edi
jmp 0x612ba8
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0x30]
mov dword [esp + 0x64], edx
mov ebx, dword [ecx + 0x34]
mov dword [esp + 0x60], ebx
mov ebp, dword [ecx + 0x38]
mov dword [esp + 0x5c], ebp
mov ecx, dword [ecx + 0x3c]
mov dword [esp + 0x58], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], ecx
call fcn.0060ab80
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
lea edi, [esp + 0x80]
xor eax, eax
call fcn.0045f230
mov eax, dword [esp + 0x104]
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 4]
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov ecx, dword [eax + 0x102c]
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0x10]
mov ebx, dword [ecx + 0x14]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], edx
mov dword [esp + 0x98], ebx
mov ecx, dword [eax + 0x102c]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0x9c], ecx
mov ecx, dword [eax + 0x102c]
mov edx, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], ebx
mov ecx, dword [eax + 0x102c]
mov ecx, dword [ecx + 0x28]
mov dword [esp + 0xac], ecx
mov ecx, dword [eax + 0x1030]
mov edx, dword [eax + 0x1034]
mov ebx, dword [eax + 0x1038]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ebx
mov ecx, dword [eax + 0x103c]
mov dword [esp + 0xbc], ecx
lea edi, [esp + 0xc0]
lea esi, [esp + 0x80]
call fcn.0045f6b0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x64]
xor esi, esi
lea edi, [esp + 0xc0]
jmp 0x612a0e
mov dword [esp + 0x108], 0
mov dword [esp + 0x10c], 0
lea eax, [0x701034]
mov dword [esp + 0x110], eax
lea eax, [0x700420]
mov dword [esp + 0x114], eax
add esp, 0x100
ret
mov ebx, dword [esp + 0x7c]
add ebx, 0x10
mov esi, dword [esp + 0x60]
mov esi, edx
mov edi, ebx
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
mov dword [esp + 0x7c], edi
mov edx, dword [edi + 4]
mov dword [esp + 0x58], edx
mov edx, dword [edi]
mov dword [esp + 0x78], edx
mov edi, dword [edi + 0xc]
mov dword [esp + 0x54], edi
lea edx, [esi + esi*2]
mov edi, dword [eax + edx*4 + 0x1050]
cmp dword [eax + 0x1050], edi
je 0x612a3f
mov edx, 1
jmp 0x612a4f
mov edx, dword [eax + edx*4 + 0x1054]
cmp dword [eax + 0x1054], edx
setne dl
mov dword [esp + 0x38], esi
mov byte [esp + 0x27], dl
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x68]
jmp 0x612a95
lea edx, [esi + 1]
cmp edx, 4
jl 0x6129f7
jmp 0x612ac6
mov ebx, dword [esp + 0x70]
mov ebp, dword [ebx + 0xc]
mov esi, dword [esp + 0x44]
add ebp, esi
mov esi, dword [esp + 0x28]
inc esi
mov ebx, esi
mov dword [esp + 0x44], ebp
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x38]
cmp ebx, ecx
jge 0x612a6b
mov dword [esp + 0x28], ebx
mov edi, dword [esp + 0x60]
sub ebx, edi
test dl, dl
je 0x612aba
mov dword [esp + 0x3c], ebx
shr ebx, 0x1f
mov edi, dword [esp + 0x3c]
add ebx, edi
sar ebx, 1
mov edi, dword [esp + 0x60]
mov dword [esp + 0x50], ebx
mov edi, dword [esp + 0x44]
add esi, edi
jmp 0x612b23
lea eax, [0x7016e8]
mov dword [esp + 0x108], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x10c], eax
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x100
ret
lea edx, [ebx + 1]
neg edx
mov byte [ebp + esi], dl
add esi, 4
mov edx, dword [esp + 0x30]
lea ebp, [edx + 1]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x70]
movzx edx, byte [esp + 0x27]
mov ebx, dword [esp + 0x50]
mov edi, dword [esp + 0x44]
mov edi, dword [esp + 0x5c]
cmp ebp, edi
jge 0x612a75
mov dword [esp + 0x30], ebp
mov edi, dword [esp + 0x64]
sub ebp, edi
test dl, dl
je 0x612b51
mov dword [esp + 0x40], ebp
shr ebp, 0x1f
mov edx, dword [esp + 0x40]
add ebp, edx
sar ebp, 1
movzx edx, byte [esp + 0x27]
mov edx, dword [esp + 0x54]
imul ebx, edx
add ebx, ebp
mov ebp, dword [esp + 0x58]
cmp ebp, ebx
jbe 0x612b81
mov ebp, dword [esp + 0x70]
mov edx, dword [ebp + 4]
mov ebp, dword [ebp]
mov edi, dword [esp + 0x78]
movzx ebx, byte [ebx + edi]
cmp esi, edx
jb 0x612afb
mov eax, esi
mov ecx, edx
call fcn.0045f030
mov eax, ebx
mov ecx, ebp
call fcn.0045f030
mov ebx, dword [esp + 0x74]
mov ebp, dword [ebx + 0xc]
mov ebx, dword [esp + 0x48]
add ebx, ebp
inc edx
mov ebp, dword [esp + 0x74]
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x48], ebx
mov ebx, dword [esp + 0x74]
cmp edx, eax
jge 0x612bbc
mov dword [esp + 0x2c], edx
mov ebx, dword [esp + 0x48]
add ebx, 3
jmp 0x612c65
lea eax, [0x673320]
mov dword [esp], eax
call fcn.0040b430
mov edi, dword [esp + 4]
mov eax, dword [esp + 0x74]
mov ecx, dword [eax]
mov edx, dword [eax + 8]
mov ebx, dword [eax + 4]
mov dword [edi + 4], ebx
mov dword [edi + 8], edx
mov edx, dword [0x8d5630]
test edx, edx
jne 0x612bee
mov dword [edi], ecx
jmp 0x612bf9
mov edx, eax
mov eax, ecx
call fcn.0045efb0
mov eax, edx
mov ecx, dword [eax + 0xc]
mov dword [edi + 0xc], ecx
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
mov ebx, dword [eax + 0x1c]
mov eax, dword [eax + 0x10]
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], ebx
lea eax, [0x7016e8]
mov dword [esp + 0x108], eax
mov dword [esp + 0x10c], edi
mov dword [esp + 0x110], 0
mov dword [esp + 0x114], 0
add esp, 0x100
ret
inc edx
neg edx
mov byte [ebp + ebx], dl
add ebx, 4
mov edx, dword [esp + 0x34]
lea ebp, [edx + 1]
mov edi, dword [esp + 0x60]
mov edx, dword [esp + 0x74]
mov edx, dword [esp + 0x2c]
cmp ebp, ecx
jge 0x612b8a
mov dword [esp + 0x34], ebp
mov dword [esp + 0x4c], ebx
mov ebx, dword [esi + 0x1034]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esi + 0x1030]
sub edx, edi
imul edx, dword [esi + 0x103c]
mov edi, dword [esp + 0x64]
sub ebp, edi
add edx, ebp
mov ebp, dword [esp + 0x5c]
cmp ebp, edx
jbe 0x612cbd
mov ebp, dword [esp + 0x74]
mov edi, dword [ebp + 4]
mov ebp, dword [ebp]
movzx edx, byte [edx + ebx]
mov ebx, dword [esp + 0x4c]
cmp ebx, edi
jb 0x612c48
mov eax, ebx
mov ecx, edi
call fcn.0045f030
mov eax, edx
mov ecx, ebp
call fcn.0045f030
nop
call fcn.0045dba0
jmp fcn.00612780