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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xd4
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0xb4]
mov ecx, dword [esi + 0x3c]
mov edx, dword [esi + 0x44]
mov ebx, dword [esi + 0xdc]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x48]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x10], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [esi + 0x58]
mov eax, ecx
shr eax, 3
not eax
push edi
mov edi, dword [esi + 0x40]
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x8c]
and eax, 1
test cl, 0x20
mov dword [esp + 0x80], edi
mov dword [esp + 0x50], edx
mov dword [esp + 0x84], eax
je 0x62414c
push 0
call fcn.0044b1f0
add esp, 4
movzx eax, word [esi + 0xe0]
mov edx, dword [esi + 0x50]
mov ecx, dword [esi + 0xe4]
add eax, ebx
mov dword [esp + 0x54], eax
mov eax, dword [esi + 0xa0]
mov dword [esp + 0xa4], edx
mov edx, dword [esi + 0xa8]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esi + 0xa4]
mov dword [esp + 0xb8], eax
mov eax, dword [esi + 0xac]
mov dword [esp + 0xc0], edx
mov dword [esp + 0xbc], ecx
mov ecx, dword [esi + 0x54]
mov dword [esp + 0xc4], eax
lea edx, [esi + 0x90]
mov eax, dword [edx]
mov dword [esp + 0xa8], ecx
mov ecx, dword [edx + 4]
mov dword [esp + 0x68], eax
mov eax, dword [edx + 8]
mov dword [esp + 0xac], edi
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], ecx
mov ecx, dword [edx + 0xc]
mov edi, 2
cmp eax, edi
mov dword [esp + 0xb4], 1
mov dword [esp + 0x74], ecx
je 0x6241f8
push 0
call fcn.0044b1f0
add esp, 4
cmp ebx, dword [esp + 0x54]
jae 0x6247f6
mov cl, byte [ebx]
xor edi, edi
inc ebx
cmp cl, 0x20
mov dword [esp + 0x18], edi
mov dword [esp + 0x24], edi
mov byte [esp + 0x13], cl
mov dword [esp + 0x38], ebx
jbe 0x624236
mov dl, byte [ebx]
movzx eax, cl
sub eax, 0x20
inc ebx
mov byte [esp + 0x13], dl
mov cl, dl
mov dword [esp + 0x38], ebx
mov edx, 1
jmp 0x62423d
mov edx, 1
mov eax, edx
movzx ecx, cl
dec ecx
cmp ecx, 9
ja case.default.0x62424a
jmp dword [ecx*4 + 0x624844]
mov dword [esp + 0x24], edx
mov dword [esp + 0x18], edx
jmp case.0x62424a.4
mov dword [esp + 0x24], edx
cmp eax, edi
jle 0x6247e7
mov dword [esp + 0x2c], eax
jmp 0x624270
lea edi, [esi + 0xb0]
push edi
call dword [esp + 0x40]
mov ebx, eax
push edi
mov dword [esp + 0x90], ebx
call dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x58]
add esp, 8
dec eax
cmp eax, 3
ja case.default.0x62429c
jmp dword [eax*4 + 0x62486c]
neg edi
jmp case.default.0x62429c
mov eax, dword [esi + 0x74]
push eax
push ebx
call fcn.005c6830
mov ecx, dword [esi + 0x80]
push ecx
push edi
mov ebx, eax
call fcn.005c6830
add esp, 0x10
mov edi, eax
jmp case.default.0x62429c
mov edx, dword [esi + 0x7c]
push edx
push edi
call fcn.005c6830
mov ecx, dword [esp + 0x90]
mov ebx, eax
mov eax, dword [esi + 0x78]
push eax
push ecx
call fcn.005c6830
add esp, 0x10
mov edi, eax
jmp case.default.0x62429c
mov edx, dword [esi + 0x7c]
push edx
push edi
call fcn.005c6830
mov ecx, dword [esi + 0x74]
push ecx
push ebx
mov dword [esp + 0x38], eax
call fcn.005c6830
mov edx, dword [esi + 0x80]
mov ecx, dword [esp + 0x38]
push edx
add ecx, eax
push edi
mov ebx, ecx
call fcn.005c6830
mov ecx, dword [esp + 0xa0]
mov edi, eax
mov eax, dword [esi + 0x78]
push eax
push ecx
call fcn.005c6830
add esp, 0x20
add edi, eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x624349
mov ecx, dword [esi + 0x84]
mov eax, dword [esi + 0x88]
jmp 0x624351
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add edi, eax
mov eax, dword [esp + 0x68]
add ebx, ecx
cmp ebx, eax
jl 0x62436f
cmp ebx, dword [esp + 0x70]
jg 0x62436f
cmp edi, dword [esp + 0x6c]
jl 0x62436f
cmp edi, dword [esp + 0x74]
jle 0x624374
call fcn.00485770
mov eax, dword [esp + 0x18]
test eax, eax
mov eax, dword [esp + 0x14]
je 0x6243b0
dec eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], edi
je 0x624398
dec eax
jne 0x6243f5
mov dword [esp + 0x14], 0
jmp 0x6243f5
mov edx, dword [esi + 0xe4]
push edx
call dword [esp + 0x68]
add esp, 4
mov dword [esp + 0x14], 0
jmp 0x6243f5
sub eax, 0
je 0x6243c2
dec eax
je 0x6243e2
dec eax
jne 0x6243f5
call fcn.004857b0
jmp 0x6243f5
mov eax, dword [esi + 0xe4]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push edx
call dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x14], 1
mov eax, dword [esi + 0xe4]
push eax
push edi
push ebx
call dword [esp + 0x8c]
add esp, 0xc
mov eax, dword [esp + 0x2c]
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x2c], eax
jne 0x624270
mov ebx, dword [esp + 0x38]
jmp 0x6247e7
mov dword [esp + 0x24], edx
cmp eax, edi
jle 0x6247e7
mov dword [esp + 0x28], eax
lea ebx, [esp + 0x88]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], 3
jmp 0x624440
lea edi, [esi + 0xb0]
push edi
call dword [esp + 0x40]
push edi
mov dword [esp + 0x20], eax
mov dword [ebx], eax
call dword [esp + 0x44]
mov edi, eax
mov eax, dword [esp + 0x58]
add esp, 8
dec eax
cmp eax, 3
ja case.default.0x624469
jmp dword [eax*4 + 0x62487c]
neg edi
jmp case.default.0x624469
mov ecx, dword [esi + 0x74]
mov edx, dword [esp + 0x18]
push ecx
push edx
call fcn.005c6830
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x80]
push eax
push edi
call fcn.005c6830
add esp, 0x10
mov edi, eax
jmp case.default.0x624469
mov ecx, dword [esi + 0x7c]
push ecx
push edi
call fcn.005c6830
mov edx, dword [esi + 0x78]
mov dword [esp + 0x20], eax
mov eax, dword [ebx]
push edx
push eax
call fcn.005c6830
add esp, 0x10
mov edi, eax
jmp case.default.0x624469
mov ecx, dword [esi + 0x7c]
push ecx
push edi
call fcn.005c6830
mov edx, dword [esi + 0x74]
mov ebx, eax
mov eax, dword [esp + 0x20]
push edx
push eax
call fcn.005c6830
mov ecx, dword [esi + 0x78]
add ebx, eax
mov dword [esp + 0x28], ebx
mov ebx, dword [esp + 0x3c]
mov edx, dword [ebx]
push ecx
push edx
call fcn.005c6830
mov ecx, dword [esi + 0x80]
push ecx
push edi
mov dword [esp + 0x4c], eax
call fcn.005c6830
mov ecx, dword [esp + 0x4c]
add esp, 0x20
add ecx, eax
mov edi, ecx
mov eax, dword [esp + 0x24]
test eax, eax
mov eax, dword [esp + 0x18]
je 0x624524
mov edx, dword [esi + 0x84]
mov ecx, dword [esi + 0x88]
jmp 0x62452c
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
add edi, ecx
mov ecx, dword [esp + 0x68]
add eax, edx
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x62454e
cmp eax, dword [esp + 0x70]
jg 0x62454e
cmp edi, dword [esp + 0x6c]
jl 0x62454e
cmp edi, dword [esp + 0x74]
jle 0x624557
call fcn.00485770
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
mov eax, dword [esp + 0x4c]
add ebx, 4
mov dword [ebx], edi
add ebx, 4
dec eax
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x4c], eax
jne 0x624440
mov eax, dword [esp + 0x14]
sub eax, 0
mov edi, dword [esp + 0x9c]
mov ebx, dword [esp + 0x98]
je 0x62459f
dec eax
je 0x6245bf
dec eax
jne 0x62462b
call fcn.004857b0
jmp 0x62462b
mov edx, dword [esi + 0xe4]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push eax
push ecx
call dword [esp + 0x4c]
add esp, 0xc
mov dword [esp + 0x14], 1
mov edx, dword [esi + 0xe4]
push edx
push 1
call dword [esp + 0x50]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x9c]
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x9c]
push edi
push ebx
push edx
mov edx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
mov dword [esp + 0xd0], 0xa
call fcn.00619e10
mov edx, dword [esi + 0xe4]
push edx
push 0
call dword [esp + 0x80]
add esp, 0x38
mov eax, dword [esp + 0x28]
dec eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], edi
mov dword [esp + 0x28], eax
jne 0x624425
mov ebx, dword [esp + 0x38]
jmp 0x6247e7
mov dword [esp + 0x24], edx
cmp eax, edi
jle 0x6247e7
mov edi, dword [esp + 0x34]
lea ebx, [esi + 0x34]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
push ebx
push ecx
mov dword [esi + 8], eax
call fcn.005c68c0
mov edx, dword [esp + 0x28]
lea eax, [esi + 0x38]
push eax
push edx
call fcn.005c68c0
lea eax, [esi + 0x2c]
push eax
mov eax, dword [esp + 0x44]
push eax
call fcn.005c68c0
lea eax, [esi + 0x30]
push eax
push edi
call fcn.005c68c0
lea ecx, [esp + 0x98]
push ecx
lea edi, [esi + 0xb0]
push edi
call dword [edi]
lea edx, [esp + 0xa4]
push edx
push edi
call dword [edi]
lea eax, [esp + 0x88]
push eax
push edi
call dword [edi]
lea ecx, [esp + 0x94]
push ecx
push edi
call dword [edi]
add esp, 0x40
lea edx, [esp + 0x44]
push edx
push edi
call dword [edi]
mov al, byte [esp + 0x1b]
add esp, 8
cmp al, 9
push esi
je 0x624711
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x60]
push eax
mov eax, dword [esp + 0x60]
push ecx
mov ecx, dword [esp + 0x88]
push edx
mov edx, dword [esp + 0x88]
push eax
push ecx
push edx
call fcn.005b4d50
add esp, 0x1c
jmp 0x624738
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x84]
push ecx
mov ecx, dword [esp + 0x84]
push edx
push eax
push ecx
call fcn.005b4da0
add esp, 0x18
mov edx, dword [esi + 8]
push ebx
mov dword [esp + 0x18], edx
call fcn.004f86c0
mov dword [esp + 0x20], eax
lea eax, [esi + 0x38]
push eax
call fcn.004f86c0
mov dword [esp + 0x28], eax
lea eax, [esi + 0x2c]
push eax
call fcn.004f86c0
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x30]
push eax
call fcn.004f86c0
mov edi, eax
mov eax, dword [esp + 0x38]
add esp, 0x10
dec eax
mov dword [esp + 0x28], eax
jne 0x624662
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x34], edi
jmp 0x6247e7
mov eax, dword [esp + 0x14]
sub eax, edi
je 0x6247bd
dec eax
jne 0x6247e7
mov eax, dword [esi + 0xe4]
push eax
call dword [esp + 0x64]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
add esp, 4
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
mov dword [esp + 0x14], 0
jmp 0x6247e7
mov eax, dword [esi + 0xe4]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call dword [esp + 0x4c]
mov eax, dword [esi + 0xe4]
push eax
call dword [esp + 0x70]
add esp, 0x10
jmp 0x6247e7
call fcn.004857b0
cmp ebx, dword [esp + 0x54]
jb 0x624202
mov edi, 2
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x62481a
dec eax
jne 0x624838
mov ecx, dword [esi + 0xe4]
push ecx
call dword [esp + 0x68]
add esp, 4
mov dword [esi + 8], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test byte [esi + 0x58], 1
jne 0x624838
mov edx, dword [esi + 0xe4]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ecx
call dword [esp + 0x4c]
add esp, 0xc
mov dword [esi + 8], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret