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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff48
mov ebx, eax
mov eax, dword [ebx + 0x100c8]
test eax, eax
je 0x61708f
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x6170c4
inc edi
xor esi, esi
mov eax, dword [ebx + 0x100c8]
mov ecx, eax
test ecx, ecx
je 0x6170aa
sub ecx, 4
mov ecx, dword [ecx]
mov eax, dword [ebx + 0x100bc]
imul ecx
cdq
mov ecx, dword [ebx + 0x100cc]
add dword [ecx + esi*8], eax
adc dword [ecx + esi*8 + 4], edx
inc esi
dec edi
jne 0x617099
cmp byte [ebx + 0x100b0], 0
je 0x6174d2
cmp byte [ebx + 0x100d1], 0
je 0x6170f5
push 0
push 0
mov eax, dword [ebx + 0x100c4]
call fcn.0049d354
mov byte [ebx + 0x100d1], 0
jmp 0x6173bc
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov eax, dword [ebx + 0x100b8]
imul dword [ebx + 0x100bc]
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 0x617130
cmp dword [esp + 0x10], 0
jae 0x617144
jmp 0x617132
jge 0x617144
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jmp 0x617154
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x100bc]
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 0x617179
cmp eax, dword [esp + 0x18]
jae 0x61718d
jmp 0x61717b
jge 0x61718d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jmp 0x61719d
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 dword [ebx + 0x100bc]
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
jmp 0x6173bc
mov esi, dword [ebx + 0x9c]
test esi, esi
je 0x61730b
mov eax, esi
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebx + 0xac]
jne 0x617214
cmp eax, dword [ebx + 0xa8]
jbe 0x61730b
jmp 0x61721a
jle 0x61730b
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
mov eax, dword [ebx + 0x9c]
call fcn.0049d354
mov eax, dword [ebx + 0x100c4]
mov edx, dword [eax]
call dword [edx]
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 0x61726c
cmp dword [esp + 0x30], 0x10000
jae 0x617280
jmp 0x61726e
jge 0x617280
mov eax, dword [esp + 0x30]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
jmp 0x617290
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 0x61738a
cmp eax, dword [ebx + 0xa8]
jne 0x61738a
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049d3b8
jmp 0x61738a
mov eax, dword [ebx + 0x100c4]
mov edx, dword [eax]
call dword [edx]
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 0x617346
cmp dword [esp + 0x40], 0x10000
jae 0x61735a
jmp 0x617348
jge 0x61735a
mov eax, dword [esp + 0x40]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x4c], eax
jmp 0x61736a
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 0x61739a
cmp dword [esp + 8], 0
jbe 0x6173b3
jmp 0x61739c
jle 0x6173b3
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x100c4]
mov ecx, dword [esp + 8]
call fcn.0049d9cc
jmp 0x6173bc
mov byte [ebx + 0x100d2], 1
jmp 0x6173ee
mov eax, dword [ebx + 0x100c4]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
cmp edx, dword [esp + 4]
jne 0x6173e6
cmp eax, dword [esp]
pop edx
pop eax
jb 0x6171ea
jmp 0x6173ee
pop edx
pop eax
jl 0x6171ea
mov eax, dword [ebx + 0x100c8]
test eax, eax
je 0x6173fd
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x617847
inc edi
xor esi, esi
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov ebp, dword [ebx + 0x100bc]
mov eax, ebp
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 0x617444
cmp dword [esp + 0x50], 0
jae 0x617458
jmp 0x617446
jge 0x617458
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
jmp 0x617468
mov eax, dword [esp + 0x50]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, ebp
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 0x61748b
cmp eax, dword [esp + 0x58]
jae 0x61749f
jmp 0x61748d
jge 0x61749f
mov eax, dword [esp + 0x60]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x6c], eax
jmp 0x6174af
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 + esi*4]
call fcn.0049d3b8
inc esi
dec edi
jne 0x61740b
jmp 0x617847
push 0
push 0
mov eax, dword [ebx + 0x100c4]
call fcn.0049d354
jmp 0x6176dc
mov esi, dword [ebx + 0x9c]
test esi, esi
je 0x61760a
mov eax, esi
mov edx, dword [eax]
call dword [edx]
cmp edx, dword [ebx + 0xac]
jne 0x617510
cmp eax, dword [ebx + 0xa8]
jbe 0x61760a
jmp 0x617516
jle 0x61760a
push dword [ebx + 0xac]
push dword [ebx + 0xa8]
mov eax, dword [ebx + 0x9c]
call fcn.0049d354
mov eax, dword [ebx + 0x100c4]
mov edx, dword [eax]
call dword [edx]
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 0x617568
cmp dword [esp + 0x70], 0x10000
jae 0x61757c
jmp 0x61756a
jge 0x61757c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x7c], eax
jmp 0x61758c
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 0x6176aa
cmp eax, dword [ebx + 0xa8]
jne 0x6176aa
mov dword [ebx + 0xa8], 0
mov dword [ebx + 0xac], 0
push 0
push 0
mov eax, dword [ebx + 0x9c]
call fcn.0049d3b8
jmp 0x6176aa
mov eax, dword [ebx + 0x100c4]
mov edx, dword [eax]
call dword [edx]
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 0x617651
cmp dword [esp + 0x80], 0x10000
jae 0x617671
jmp 0x617653
jge 0x617671
mov eax, dword [esp + 0x80]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x8c], eax
jmp 0x617687
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 0x6176ba
cmp dword [esp + 8], 0
jbe 0x6176d3
jmp 0x6176bc
jle 0x6176d3
lea edx, [ebx + 0xb0]
mov eax, dword [ebx + 0x100c4]
mov ecx, dword [esp + 8]
call fcn.0049d9cc
jmp 0x6176dc
mov byte [ebx + 0x100d0], 1
jmp 0x61770e
mov eax, dword [ebx + 0x100c4]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
cmp edx, dword [esp + 4]
jne 0x617706
cmp eax, dword [esp]
pop edx
pop eax
jb 0x6174e6
jmp 0x61770e
pop edx
pop eax
jl 0x6174e6
mov eax, dword [ebx + 0x100c8]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x90]
test eax, eax
je 0x61772b
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
test edi, edi
jl 0x617847
inc edi
xor esi, esi
mov eax, dword [ebx + 0x100c4]
call fcn.0049d334
push edx
push eax
mov ebp, dword [ebx + 0x100bc]
mov eax, ebp
imul esi
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], edx
cmp dword [esp + 0x9c], 0
jne 0x61777e
cmp dword [esp + 0x98], 0
jae 0x617798
jmp 0x617780
jge 0x617798
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
jmp 0x6177b4
mov eax, dword [esp + 0x98]
mov dword [esp + 0xa0], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
mov eax, ebp
cdq
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0xa8]
mov edx, dword [esp + 0xac]
cmp edx, dword [esp + 0xa4]
jne 0x6177e7
cmp eax, dword [esp + 0xa0]
jae 0x617807
jmp 0x6177e9
jge 0x617807
mov eax, dword [esp + 0xa8]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0xb4], eax
jmp 0x617823
mov eax, dword [esp + 0xa0]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xb4], eax
push dword [esp + 0xb4]
push dword [esp + 0xb4]
mov eax, dword [ebx + 0x100c8]
mov eax, dword [eax + esi*4]
call fcn.0049d3b8
inc esi
dec edi
jne 0x617739
mov eax, dword [ebx + 0x100c8]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x61785b
cmp eax, 0
sete al
mov byte [ebx + 0x100d0], al
add esp, 0xb8
pop ebp
pop edi
pop esi
pop ebx
ret