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

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff50
mov ebx, eax
mov eax, dword [ebx + 0x100c8]
mov ecx, eax
test ecx, ecx
je 0x61788c
sub ecx, 4
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x100bc]
imul ecx
cdq
mov ecx, dword [ebx + 0x100b4]
mov esi, dword [ebx + 0x100cc]
add dword [esi + ecx*8], eax
adc dword [esi + ecx*8 + 4], edx
cmp byte [ebx + 0x100b0], 0
je 0x617c89
cmp dword [ebx + 0x100b4], 0
jne 0x6179ac
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov eax, dword [ebx + 0x100b8]
mov esi, dword [ebx + 0x100bc]
imul esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edx
cmp dword [esp + 0x14], 0
jne 0x6178ff
cmp dword [esp + 0x10], 0
jae 0x617913
jmp 0x617901
jge 0x617913
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x617923
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, esi
cdq
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
cmp edx, dword [esp + 0x1c]
jne 0x617944
cmp eax, dword [esp + 0x18]
jae 0x617958
jmp 0x617946
jge 0x617958
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x617968
mov eax, dword [esp + 0x18]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x100b8]
imul esi
mov edx, dword [ebx + 0x100c4]
add eax, dword [edx + 4]
mov edx, dword [ebx + 0x100c4]
mov edx, dword [edx + 4]
mov ecx, dword [esp]
call fcn.00407830
push dword [esp + 4]
push dword [esp + 4]
mov eax, dword [ebx + 0x100c4]
call fcn.0049d354
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov eax, dword [ebx + 0x100bc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x617ba2
mov esi, dword [ebx + 0x9c]
test esi, esi
je 0x617af4
mov eax, esi
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebx + 0xac]
jne 0x617a00
cmp eax, dword [ebx + 0xa8]
jbe 0x617af4
jmp 0x617a06
jle 0x617af4
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
mov eax, dword [ebx + 0x9c]
call fcn.0049d354
mov eax, dword [esp]
mov edx, dword [esp + 4]
push edx
push eax
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], edx
cmp dword [esp + 0x34], 0
jne 0x617a55
cmp dword [esp + 0x30], 0x10000
jae 0x617a69
jmp 0x617a57
jge 0x617a69
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x617a79
mov dword [esp + 0x38], 0x10000
mov dword [esp + 0x3c], 0
mov eax, dword [esp + 0x38]
mov ecx, eax
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x9c]
mov esi, dword [eax]
call dword [esi + 0xc]
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add dword [ebx + 0xa8], eax
adc dword [ebx + 0xac], edx
mov eax, dword [ebx + 0x9c]
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebx + 0xac]
jne 0x617b70
cmp eax, dword [ebx + 0xa8]
jne 0x617b70
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049d3b8
jmp 0x617b70
mov eax, dword [esp]
mov edx, dword [esp + 4]
push edx
push eax
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edx
cmp dword [esp + 0x44], 0
jne 0x617b2c
cmp dword [esp + 0x40], 0x10000
jae 0x617b40
jmp 0x617b2e
jge 0x617b40
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
jmp 0x617b50
mov dword [esp + 0x48], 0x10000
mov dword [esp + 0x4c], 0
mov eax, dword [esp + 0x48]
mov ecx, eax
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x98]
mov esi, dword [eax]
call dword [esi + 0xc]
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
cmp dword [esp + 0xc], 0
jne 0x617b80
cmp dword [esp + 8], 0
jbe 0x617b99
jmp 0x617b82
jle 0x617b99
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x100c4]
mov ecx, dword [esp + 8]
call fcn.0049d9cc
jmp 0x617ba2
mov byte [ebx + 0x100d2], 1
jmp 0x617bc4
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
cmp edx, dword [esp + 4]
jne 0x617bbe
cmp eax, dword [esp]
jb 0x6179d6
jmp 0x617bc4
jl 0x6179d6
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov edi, dword [ebx + 0x100b4]
mov eax, edi
mov esi, dword [ebx + 0x100bc]
imul esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
cmp dword [esp + 0x54], 0
jne 0x617c03
cmp dword [esp + 0x50], 0
jae 0x617c17
jmp 0x617c05
jge 0x617c17
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
jmp 0x617c27
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, esi
add eax, eax
cdq
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], edx
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
cmp edx, dword [esp + 0x5c]
jne 0x617c4a
cmp eax, dword [esp + 0x58]
jae 0x617c5e
jmp 0x617c4c
jge 0x617c5e
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
jmp 0x617c6e
mov eax, dword [esp + 0x58]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x6c], eax
push dword [esp + 0x6c]
push dword [esp + 0x6c]
mov eax, dword [ebx + 0x100c8]
mov eax, dword [eax + edi*4]
call fcn.0049d3b8
jmp 0x617feb
mov eax, dword [ebx + 0x100b4]
imul dword [ebx + 0x100bc]
cdq
push edx
push eax
mov eax, dword [ebx + 0x100c4]
call fcn.0049d354
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov eax, dword [ebx + 0x100bc]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [esp], eax
mov dword [esp + 4], edx
jmp 0x617ebd
mov esi, dword [ebx + 0x9c]
test esi, esi
je 0x617dee
mov eax, esi
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebx + 0xac]
jne 0x617cf7
cmp eax, dword [ebx + 0xa8]
jbe 0x617dee
jmp 0x617cfd
jle 0x617dee
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
mov eax, dword [ebx + 0x9c]
call fcn.0049d354
mov eax, dword [esp]
mov edx, dword [esp + 4]
push edx
push eax
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edx
cmp dword [esp + 0x74], 0
jne 0x617d4c
cmp dword [esp + 0x70], 0x10000
jae 0x617d60
jmp 0x617d4e
jge 0x617d60
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
jmp 0x617d70
mov dword [esp + 0x78], 0x10000
mov dword [esp + 0x7c], 0
mov eax, dword [esp + 0x78]
mov ecx, eax
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x9c]
mov esi, dword [eax]
call dword [esi + 0xc]
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
add dword [ebx + 0xa8], eax
adc dword [ebx + 0xac], edx
mov eax, dword [ebx + 0x9c]
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebx + 0xac]
jne 0x617e8b
cmp eax, dword [ebx + 0xa8]
jne 0x617e8b
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049d3b8
jmp 0x617e8b
mov eax, dword [esp]
mov edx, dword [esp + 4]
push edx
push eax
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
cmp dword [esp + 0x84], 0
jne 0x617e32
cmp dword [esp + 0x80], 0x10000
jae 0x617e52
jmp 0x617e34
jge 0x617e52
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
jmp 0x617e68
mov dword [esp + 0x88], 0x10000
mov dword [esp + 0x8c], 0
mov eax, dword [esp + 0x88]
mov ecx, eax
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x98]
mov esi, dword [eax]
call dword [esi + 0xc]
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
cmp dword [esp + 0xc], 0
jne 0x617e9b
cmp dword [esp + 8], 0
jbe 0x617eb4
jmp 0x617e9d
jle 0x617eb4
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x100c4]
mov ecx, dword [esp + 8]
call fcn.0049d9cc
jmp 0x617ebd
mov byte [ebx + 0x100d0], 1
jmp 0x617edf
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
cmp edx, dword [esp + 4]
jne 0x617ed9
cmp eax, dword [esp]
jb 0x617ccd
jmp 0x617edf
jl 0x617ccd
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov edi, dword [ebx + 0x100b4]
mov eax, edi
mov esi, dword [ebx + 0x100bc]
imul esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], edx
cmp dword [esp + 0x94], 0
jne 0x617f2a
cmp dword [esp + 0x90], 0
jae 0x617f44
jmp 0x617f2c
jge 0x617f44
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
jmp 0x617f60
mov eax, dword [esp + 0x90]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 0x9c], eax
mov eax, esi
cdq
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], edx
mov eax, dword [esp + 0xa0]
mov edx, dword [esp + 0xa4]
cmp edx, dword [esp + 0x9c]
jne 0x617f93
cmp eax, dword [esp + 0x98]
jae 0x617fb3
jmp 0x617f95
jge 0x617fb3
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xac], eax
jmp 0x617fcf
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xac], eax
push dword [esp + 0xac]
push dword [esp + 0xac]
mov eax, dword [ebx + 0x100c8]
mov eax, dword [eax + edi*4]
call fcn.0049d3b8
inc dword [ebx + 0x100b4]
mov eax, dword [ebx + 0x100b4]
cmp eax, dword [ebx + 0x100b8]
jne 0x618007
xor eax, eax
mov dword [ebx + 0x100b4], eax
mov eax, dword [ebx + 0x100c8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x61801b
cmp eax, 0
sete al
mov byte [ebx + 0x100d0], al
add esp, 0xb0
pop edi
pop esi
pop ebx
ret