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

Disassembly:
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [esp + 0x4c]
push esi
mov esi, dword [esp + 0x48]
push edi
mov eax, dword [esi + 0x164]
mov dword [esp + 0x20], eax
cmp ebp, dword [esi + 0x90]
jne 0x471b93
lea ecx, [esi + 0x124]
lea ebx, [esi + 0x120]
mov dword [esp + 0x1c], ecx
jmp 0x471ba0
mov ebx, dword [esi + 0x12c]
lea eax, [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x14], ebx
mov dword [ebx], eax
lea ebx, [ebx]
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x10]
mov edi, dword [esp + 0x5c]
push ecx
push edi
push eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 4]
push ebp
call eax
mov edx, dword [esp + 0x2c]
add eax, 5
mov ecx, dword [esp + 0x20]
add esp, 0x10
mov dword [edx], ecx
cmp eax, 0x12
ja case.default.0x471be2
jmp dword [eax*4 + 0x472650]
mov eax, dword [esp + 0x10]
sub eax, dword [ebp + 0x44]
push eax
mov eax, dword [esp + 0x5c]
add eax, dword [ebp + 0x44]
push eax
mov eax, dword [ebp + 0x30]
push ebp
call eax
add esp, 0xc
mov byte [esp + 0x4c], al
test al, al
je 0x471c29
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x471be2
push 1
lea ecx, [esp + 0x50]
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4723df
mov eax, dword [esp + 0x10]
sub eax, dword [ebp + 0x44]
mov edi, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x5c]
add eax, dword [ebp + 0x44]
push eax
lea eax, [edi + 0x50]
push ebp
push eax
call fcn.00477180
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x47245d
push 0
push ebx
push edi
push esi
call fcn.00475a00
mov edi, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x81], 0
mov ecx, dword [eax + 0x60]
mov dword [eax + 0x5c], ecx
je 0x471cbf
cmp byte [eax + 0x82], 0
jne 0x471cbf
test edi, edi
jne 0x471cd1
mov eax, dword [esi + 0x78]
test eax, eax
je 0x471c9d
push edi
push ebx
push dword [esi + 4]
call eax
mov ebx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4723df
cmp dword [esi + 0x50], 0
je 0x471f0b
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
mov ebx, dword [esp + 0x24]
jmp 0x4723dc
test edi, edi
je 0x472447
cmp byte [edi + 0x22], 0
je 0x47243a
cmp byte [edi + 0x20], 0
jne 0x47242d
cmp dword [edi + 0x1c], 0
jne 0x472420
cmp dword [edi + 4], 0
je 0x471d2d
cmp byte [esi + 0x134], 0
jne 0x471d10
mov eax, dword [esi + 0x78]
test eax, eax
je 0x471c9d
push 0
push dword [edi]
push dword [esi + 4]
call eax
mov ebx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4723df
push 0
push edi
push esi
call fcn.004771d0
add esp, 0xc
test eax, eax
jne 0x472645
mov ebx, dword [esp + 0x14]
jmp 0x4723df
cmp dword [esi + 0x70], 0
je 0x471c9d
push esi
mov byte [edi + 0x20], 1
call fcn.004751a0
add esp, 4
mov byte [edi + 0x20], 0
test eax, eax
je 0x47245d
push dword [edi + 0x18]
push dword [edi + 0x10]
push dword [edi + 0x14]
push eax
push dword [esi + 0x74]
mov eax, dword [esi + 0x70]
call eax
add esp, 0x14
test eax, eax
je 0x472413
mov eax, dword [esi + 0x1b0]
mov ebx, dword [esp + 0x14]
mov dword [esi + 0x1ac], eax
jmp 0x4723df
mov ebx, dword [esi + 0x170]
test ebx, ebx
je 0x471d96
mov eax, dword [ebx]
mov dword [esi + 0x170], eax
jmp 0x471dc5
mov eax, dword [esi + 0xc]
push 0x30
call eax
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x47245d
mov ecx, dword [esi + 0xc]
push 0x20
call ecx
add esp, 4
mov dword [ebx + 0x24], eax
test eax, eax
je 0x472454
add eax, 0x20
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
mov eax, dword [esi + 0x16c]
mov dword [ebx], eax
mov dword [esi + 0x16c], ebx
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov eax, dword [esp + 0x58]
add eax, dword [ebp + 0x44]
push eax
mov dword [ebx + 4], eax
mov eax, dword [ebp + 0x20]
push ebp
call eax
mov dword [ebx + 8], eax
inc dword [esi + 0x138]
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
add edi, eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x28]
dec eax
mov dword [esp + 0x30], edi
push eax
lea eax, [esp + 0x24]
push eax
push edi
lea eax, [esp + 0x68]
push eax
mov eax, dword [ebp + 0x3c]
push ebp
call eax
mov eax, dword [esp + 0x34]
add esp, 0x1c
sub eax, dword [ebx + 0x24]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x54], edi
je 0x471e9e
mov eax, dword [ebx + 0x24]
mov edi, dword [ebx + 0x28]
sub edi, eax
add edi, edi
push edi
push eax
mov eax, dword [esi + 0x10]
call eax
add esp, 8
test eax, eax
je 0x47245d
lea ecx, [eax + edi]
mov dword [ebx + 0x24], eax
add eax, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov dword [ebx + 0x28], ecx
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x28]
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
push edi
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebp + 0x3c]
push ebp
call eax
mov eax, dword [esp + 0x2c]
add esp, 0x14
sub eax, dword [ebx + 0x24]
mov dword [esp + 0x24], eax
cmp dword [esp + 0x54], edi
jne 0x471e43
mov dword [ebx + 0x18], eax
lea edi, [ebx + 0xc]
mov eax, dword [ebx + 0x24]
mov dword [edi], eax
mov eax, dword [esp + 0x18]
mov byte [eax], 0
lea eax, [ebx + 0x2c]
push eax
push edi
push dword [esp + 0x60]
push ebp
push esi
call fcn.00477c70
add esp, 0x14
test eax, eax
jne 0x472645
mov eax, dword [esi + 0x34]
test eax, eax
je 0x471ee4
push dword [esi + 0x188]
push dword [edi]
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x471efc
cmp dword [esi + 0x50], 0
je 0x471efc
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
add esp, 0x10
lea eax, [esi + 0x1a0]
push eax
call fcn.00476c60
add esp, 4
mov ebx, dword [esp + 0x14]
jmp 0x4723df
mov edi, dword [ebp + 0x44]
add edi, dword [esp + 0x58]
mov eax, dword [ebp + 0x20]
push edi
push ebp
mov dword [esp + 0x2c], 0
mov byte [esp + 0x5c], 1
call eax
add eax, edi
lea ebx, [esi + 0x1a0]
push eax
push edi
push ebp
push ebx
call fcn.00476940
add esp, 0x18
test eax, eax
je 0x47245d
mov eax, dword [ebx + 0xc]
cmp eax, dword [ebx + 8]
jne 0x471f64
push ebx
call fcn.00477000
add esp, 4
test al, al
je 0x47245d
mov eax, dword [ebx + 0xc]
mov byte [eax], 0
mov eax, dword [ebx + 0x10]
inc dword [ebx + 0xc]
mov dword [esp + 0x30], eax
test eax, eax
je 0x47245d
mov eax, dword [esi + 0x1ac]
mov dword [esi + 0x1b0], eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x60]
push ebp
push esi
call fcn.00477c70
add esp, 0x14
test eax, eax
jne 0x472645
mov eax, dword [esi + 0x1ac]
mov edi, dword [esp + 0x30]
mov dword [esi + 0x1b0], eax
mov eax, dword [esi + 0x34]
test eax, eax
je 0x471fd2
push dword [esi + 0x188]
push edi
push dword [esi + 4]
call eax
add esp, 0xc
xor al, al
jmp 0x471fd6
mov al, byte [esp + 0x54]
cmp dword [esi + 0x38], 0
je 0x471ffc
cmp dword [esi + 0x34], 0
je 0x471fee
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [esi + 0x38]
push edi
push dword [esi + 4]
call eax
add esp, 8
jmp 0x472018
test al, al
je 0x472018
cmp dword [esi + 0x50], 0
je 0x472018
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
add esp, 0x10
push ebx
call fcn.00476c60
mov edi, dword [esp + 0x28]
add esp, 4
test edi, edi
je 0x472064
lea esp, [esp]
mov ecx, dword [esi + 0x68]
mov ebx, edi
test ecx, ecx
je 0x472045
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov eax, dword [esi + 0x178]
lea ecx, [edi + 4]
mov edi, dword [ecx]
mov dword [ecx], eax
mov dword [esi + 0x178], ebx
mov ecx, dword [ebx]
mov eax, dword [ebx + 8]
mov dword [ecx + 4], eax
test edi, edi
jne 0x472030
cmp dword [esi + 0x138], 0
je 0x47246a
mov ebx, dword [esp + 0x14]
jmp 0x4723df
mov eax, dword [esp + 0x50]
cmp dword [esi + 0x138], eax
je 0x47253d
mov ebx, dword [esi + 0x16c]
mov eax, dword [ebx]
mov dword [esi + 0x16c], eax
mov eax, dword [esi + 0x170]
mov dword [ebx], eax
mov eax, dword [esp + 0x58]
mov dword [esi + 0x170], ebx
mov ecx, dword [ebp + 0x44]
lea eax, [eax + ecx*2]
push eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x20]
push ebp
call eax
mov edi, eax
add esp, 8
cmp edi, dword [ebx + 8]
jne 0x472487
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x54]
sub edi, 4
jb 0x4720e6
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4720eb
add ecx, 4
add edx, 4
sub edi, 4
jae 0x4720d5
cmp edi, 0xfffffffc
je 0x472128
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x472487
cmp edi, 0xfffffffd
je 0x472128
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x472487
cmp edi, 0xfffffffe
je 0x472128
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x472487
cmp edi, 0xffffffff
je 0x472128
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
jne 0x472487
dec dword [esi + 0x138]
cmp dword [esi + 0x38], 0
je 0x47219f
cmp byte [esi + 0xec], 0
mov eax, dword [ebx + 0x10]
je 0x47218f
test eax, eax
je 0x47218f
mov ecx, dword [ebx + 0x1c]
mov dl, byte [eax]
add ecx, dword [ebx + 0xc]
test dl, dl
je 0x47215a
inc eax
mov byte [ecx], dl
inc ecx
mov dl, byte [eax]
test dl, dl
jne 0x472150
cmp byte [esi + 0xed], 0
mov edx, dword [ebx + 0x14]
je 0x47218c
test edx, edx
je 0x47218c
mov al, byte [esi + 0x1d8]
mov byte [ecx], al
inc ecx
mov al, byte [edx]
test al, al
je 0x47218c
lea esp, [esp]
mov byte [ecx], al
lea edx, [edx + 1]
mov al, byte [edx]
inc ecx
test al, al
jne 0x472180
mov byte [ecx], 0
push dword [ebx + 0xc]
mov eax, dword [esi + 0x38]
push dword [esi + 4]
call eax
add esp, 8
jmp 0x4721b7
cmp dword [esi + 0x50], 0
je 0x4721b7
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
add esp, 0x10
cmp dword [ebx + 0x2c], 0
je 0x472064
mov ecx, dword [esi + 0x68]
mov edi, dword [ebx + 0x2c]
test ecx, ecx
je 0x4721d7
mov eax, dword [edi]
push dword [eax]
push dword [esi + 4]
call ecx
add esp, 8
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax + 4]
mov dword [ebx + 0x2c], eax
mov eax, dword [esi + 0x178]
mov dword [edi + 4], eax
mov dword [esi + 0x178], edi
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [ecx + 4], eax
cmp dword [ebx + 0x2c], 0
jne 0x4721c1
jmp 0x472064
push dword [esp + 0x58]
mov eax, dword [ebp + 0x2c]
push ebp
call eax
add esp, 8
test eax, eax
js 0x47249e
cmp dword [esi + 0x3c], 0
je case.default.0x471be2
lea ecx, [esp + 0x2c]
push ecx
push eax
call fcn.00483390
push eax
lea eax, [esp + 0x38]
push eax
push dword [esi + 4]
mov eax, dword [esi + 0x3c]
call eax
add esp, 0x14
jmp 0x4723df
mov eax, dword [esi + 0x3c]
test eax, eax
je case.default.0x471be2
push 1
lea ecx, [esp + 0x58]
mov byte [esp + 0x58], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4723df
mov eax, dword [esi + 0x48]
test eax, eax
je 0x472277
push dword [esi + 4]
call eax
add esp, 4
jmp 0x47228f
cmp dword [esi + 0x50], 0
je 0x47228f
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
add esp, 0x10
push dword [esp + 0x64]
lea eax, [esp + 0x14]
push dword [esp + 0x64]
push edi
push eax
push ebp
push esi
call fcn.00471870
add esp, 0x18
test eax, eax
jne 0x472645
cmp dword [esp + 0x10], eax
jne 0x4723df
pop edi
mov dword [esi + 0x118], 0x471520
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov edi, dword [esi + 0x3c]
test edi, edi
je case.default.0x471be2
cmp byte [ebp + 0x48], 0
jne 0x472379
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0x3c]
push ebp
call eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x68]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edi
mov eax, dword [esp + 0x78]
add esp, 0x20
cmp eax, dword [esp + 0x10]
je 0x4723df
lea esp, [esp]
mov dword [ebx], eax
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0x3c]
push ebp
call eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x6c]
mov dword [ecx], eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x68]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edi
mov eax, dword [esp + 0x78]
add esp, 0x20
cmp eax, dword [esp + 0x10]
jne 0x472330
jmp 0x4723df
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x58]
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edi
add esp, 0xc
jmp 0x4723df
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.004777a0
add esp, 0x10
test eax, eax
je 0x47245d
jmp 0x4723df
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477650
add esp, 0x10
test eax, eax
je 0x47245d
jmp 0x4723df
cmp dword [esi + 0x50], 0
je 0x4723df
push dword [esp + 0x10]
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
add esp, 0x10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x58], eax
mov dword [ebx], eax
mov eax, dword [esi + 0x1e0]
sub eax, 2
je 0x472640
dec eax
jne 0x471bb0
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0x15
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0xf
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0x18
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0xb
pop ebx
add esp, 0x38
ret
mov eax, dword [esi + 0x14]
push ebx
call eax
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret
push dword [esp + 0x60]
push dword [esp + 0x60]
push dword [esp + 0x18]
push esi
call fcn.004749f0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 7
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
add esp, 0x38
ret
cmp byte [esp + 0x64], 0
je 0x4724c6
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
xor eax, eax
pop ebx
add esp, 0x38
ret
mov dword [edx], edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4724e5
push 1
lea ecx, [esp + 0x50]
mov byte [esp + 0x50], 0xa
push ecx
push dword [esi + 4]
call eax
add esp, 0xc
jmp 0x4724fa
cmp dword [esi + 0x50], 0
je 0x4724fa
push edi
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
je 0x472618
cmp dword [esi + 0x138], eax
jne 0x47253d
mov eax, dword [esp + 0x60]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
cmp byte [esp + 0x64], 0
jne 0x4724b2
mov eax, dword [esp + 0x50]
test eax, eax
jle 0x472618
cmp dword [esi + 0x138], eax
je 0x4724b2
pop edi
pop esi
pop ebp
mov eax, 0xd
pop ebx
add esp, 0x38
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [ebx], eax
mov eax, 4
pop ebp
pop ebx
add esp, 0x38
ret
cmp byte [esp + 0x64], 0
jne 0x4724b2
pop edi
pop esi
pop ebp
mov eax, 5
pop ebx
add esp, 0x38
ret
cmp byte [esp + 0x64], 0
jne 0x4724b2
pop edi
pop esi
pop ebp
mov eax, 6
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 0x11
pop ebx
add esp, 0x38
ret
cmp byte [esp + 0x64], 0
jne 0x4724b2
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4725f9
cmp byte [ebp + 0x48], 0
jne 0x4725e5
push dword [esi + 0x30]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
push eax
push edi
lea eax, [esp + 0x64]
push eax
mov eax, dword [ebp + 0x3c]
push ebp
call eax
mov ecx, dword [esi + 0x2c]
mov eax, dword [esp + 0x60]
sub eax, ecx
push eax
mov eax, dword [esi + 0x3c]
push ecx
push dword [esi + 4]
call eax
add esp, 0x20
jmp 0x47260e
mov ecx, dword [esp + 0x58]
mov eax, edi
sub eax, ecx
push eax
push ecx
push dword [esi + 4]
call edx
add esp, 0xc
jmp 0x47260e
cmp dword [esi + 0x50], 0
je 0x47260e
push edi
push dword [esp + 0x5c]
push ebp
push esi
call fcn.00477700
add esp, 0x10
mov eax, dword [esp + 0x50]
test eax, eax
jne 0x472625
mov dword [ebx], edi
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x38
ret
cmp dword [esi + 0x138], eax
je 0x47250e
mov dword [ebx], edi
mov eax, 0xd
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, 0x23
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret