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

Disassembly:
push 0xffffffffffffffff
push 0x7b8ebf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x58], 0
mov al, byte [esp + 0x6c]
mov ebx, 1
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x68], ebx
mov byte [esp + 0x3c], al
call fcn.00404e60
mov edi, 0x870c08
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x870c08
lea ecx, [esp + 0x40]
call fcn.00404eb0
mov eax, dword [ebp + 0x300]
mov byte [esp + 0x64], 2
test eax, eax
jne 0x474021
mov esi, dword [esp + 0x6c]
mov cl, byte [esp + 0x38]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00404e60
mov edx, dword [0x7e565c]
lea eax, [esp + 0x38]
push edx
push 0
push eax
mov ecx, esi
call fcn.00404c60
mov dword [esp + 0x58], ebx
push ebx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], bl
call fcn.00404e60
push ebx
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0
call fcn.00404e60
jmp 0x474605
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
test esi, esi
mov dword [esp + 0x14], ebx
jne 0x474036
mov esi, 0x7e5658
mov cl, byte [esp + 0x6c]
push 0
mov byte [esp + 0x4c], cl
lea ecx, [esp + 0x4c]
call fcn.00404e60
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x50]
call fcn.00404eb0
mov ecx, dword [ebp + 0x300]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x4c]
push ebx
push eax
mov byte [esp + 0x70], 3
call fcn.0043dbb0
test eax, eax
push 1
lea ecx, [esp + 0x4c]
sete bl
mov byte [esp + 0x68], 2
call fcn.00404e60
test bl, bl
je 0x4740c9
mov esi, dword [esp + 0x6c]
mov cl, byte [esp + 0x38]
push 0
mov byte [esi], cl
mov ecx, esi
call fcn.00404e60
mov edx, dword [0x7e565c]
lea eax, [esp + 0x38]
push edx
push 0
push eax
mov ecx, esi
call fcn.00404c60
mov dword [esp + 0x58], 1
jmp 0x474245
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x80]
mov esi, dword [esp + 0x8c]
mov ebx, dword [esp + 0x84]
sub eax, ecx
mov cl, byte [esp + 0x6c]
sub esi, ebx
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x28], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dl, byte [esp + 0x6c]
mov byte [esp + 0x64], 4
push ebx
lea ecx, [esp + 0x84]
mov dword [esp + 0x14], ebx
mov byte [esp + 0x84], dl
call fcn.00404e60
mov edi, 0x82b61c
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x82b61c
lea ecx, [esp + 0x88]
call fcn.00404eb0
lea eax, [esp + 0x20]
lea ecx, [esp + 0x80]
push eax
push 2
push ecx
mov ecx, dword [ebp + 0x300]
mov byte [esp + 0x70], 5
call fcn.0043dbb0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.00404e60
cmp dword [esp + 0x24], esi
jle 0x47426a
mov dl, byte [esp + 0x6c]
push ebx
lea ecx, [esp + 0x84]
mov byte [esp + 0x84], dl
call fcn.00404e60
mov edi, 0x82c258
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x82c258
lea ecx, [esp + 0x88]
call fcn.00404eb0
mov ecx, dword [ebp + 0x300]
lea eax, [esp + 0x80]
push ebx
push eax
mov byte [esp + 0x6c], 6
call fcn.0043d9f0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.00404e60
mov esi, dword [esp + 0x6c]
mov cl, byte [esp + 0x38]
push ebx
mov byte [esi], cl
mov ecx, esi
call fcn.00404e60
mov edx, dword [0x7e565c]
lea eax, [esp + 0x38]
push edx
push ebx
push eax
mov ecx, esi
call fcn.00404c60
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 1
mov byte [esp + 0x6c], 2
call fcn.006660a0
mov eax, dword [esp + 0x2c]
push eax
call fcn.007a02e0
add esp, 4
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
push 1
lea ecx, [esp + 0x3c]
mov byte [esp + 0x68], 1
call fcn.00404e60
push 1
lea ecx, [esp + 0x74]
mov byte [esp + 0x68], 0
call fcn.00404e60
jmp 0x474605
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x80]
push ecx
push edx
lea ecx, [esp + 0x30]
mov dword [esp + 0x88], 0
call fcn.0048b340
mov eax, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
cmp eax, ebp
jge 0x474412
mov edi, dword [esp + 0x74]
mov ecx, dword [esp + 0x78]
mov esi, eax
cmp ecx, eax
jb 0x4742c3
test edi, edi
je 0x4742c3
lea ecx, [esp + 0x70]
call fcn.0040b450
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
lea ecx, [edi + esi]
jmp 0x4742c8
mov ecx, 0x7e5658
cmp byte [ecx], 0xa
jne 0x4742ff
inc eax
lea ecx, [ebp - 1]
xor ebx, ebx
cmp eax, ecx
mov dword [esp + 0x10], eax
jge 0x47440a
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x30]
call fcn.0048b340
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
jmp 0x47440a
mov ecx, dword [esp + 0x78]
mov esi, eax
cmp ecx, eax
jb 0x474323
test edi, edi
je 0x474323
lea ecx, [esp + 0x70]
call fcn.0040b450
mov edi, dword [esp + 0x74]
mov eax, dword [esp + 0x10]
lea ecx, [edi + esi]
jmp 0x474328
mov ecx, 0x7e5658
mov cl, byte [ecx]
mov esi, eax
and cl, 0x80
neg cl
sbb ecx, ecx
neg ecx
inc ecx
mov ebp, ecx
mov ecx, dword [esp + 0x78]
cmp ecx, eax
jb 0x474355
test edi, edi
je 0x474355
lea ecx, [esp + 0x70]
call fcn.0040b450
mov edx, dword [esp + 0x74]
add esi, edx
jmp 0x47435a
mov esi, 0x7e5658
mov al, byte [esp + 0x6c]
push 0
lea ecx, [esp + 0x84]
mov byte [esp + 0x84], al
call fcn.00404e60
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
lea ecx, [esp + 0x88]
call fcn.00404eb0
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x84]
mov ecx, dword [eax + 0x300]
push ebp
push edx
mov byte [esp + 0x70], 7
call fcn.0043dbb0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.00404e60
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
add ecx, ebx
cmp ecx, eax
jle 0x4743f2
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
xor ebx, ebx
dec edx
cmp eax, edx
jge 0x4743f6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x30]
call fcn.0048b340
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
mov edi, dword [esp + 0x74]
add eax, ebp
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x10], eax
add ebx, ecx
cmp eax, ebp
jl 0x47429f
mov ecx, dword [esp + 0x2c]
test ecx, ecx
jne 0x47441e
xor ebx, ebx
jmp 0x474427
mov ebx, dword [esp + 0x30]
sub ebx, ecx
sar ebx, 2
lea eax, [ebx - 1]
xor ebp, ebp
xor esi, esi
cmp eax, ebp
jle 0x4744e5
mov eax, dword [ecx + esi*4 + 4]
mov edi, dword [ecx + esi*4]
sub eax, edi
cmp eax, ebp
jle 0x4744d9
push eax
mov edx, edi
lea eax, [esp + 0x84]
push edx
push eax
lea ecx, [esp + 0x7c]
call fcn.0040b2a0
mov ecx, dword [0x7e565c]
mov byte [esp + 0x64], 8
push ecx
push ebp
push eax
lea ecx, [esp + 0x44]
call fcn.004147b0
push 1
lea ecx, [esp + 0x84]
mov byte [esp + 0x68], 4
call fcn.00404e60
mov eax, dword [esp + 0x40]
cmp eax, ebp
jle 0x4744d5
lea edi, [eax - 1]
cmp eax, edi
jb 0x4744ad
cmp dword [esp + 0x3c], ebp
je 0x4744ad
lea ecx, [esp + 0x38]
call fcn.0040b450
mov edx, dword [esp + 0x3c]
lea eax, [edx + edi]
jmp 0x4744b2
mov eax, 0x7e5658
cmp byte [eax], 0xa
je 0x4744d5
mov edi, 0x82b568
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push 0x82b568
lea ecx, [esp + 0x40]
call fcn.00414890
mov ecx, dword [esp + 0x2c]
inc esi
lea eax, [ebx - 1]
cmp esi, eax
jl 0x474436
mov eax, dword [esp + 0x78]
mov edi, dword [ecx + ebx*4 - 4]
sub eax, edi
cmp eax, ebp
jle 0x47454d
push eax
mov eax, dword [ecx + esi*4]
lea ecx, [esp + 0x84]
push eax
push ecx
lea ecx, [esp + 0x7c]
call fcn.0040b2a0
mov edx, dword [0x7e565c]
lea ecx, [esp + 0x38]
push edx
push ebp
push eax
mov byte [esp + 0x70], 9
call fcn.004147b0
mov eax, dword [esp + 0x84]
mov byte [esp + 0x64], 4
cmp eax, ebp
je 0x47454d
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x474544
cmp al, 0xff
je 0x474544
dec al
mov byte [ecx], al
jmp 0x47454d
push ecx
call fcn.007a02e0
add esp, 4
mov esi, dword [esp + 0x6c]
mov al, byte [esp + 0x38]
lea edx, [esp + 0x38]
mov byte [esi], al
mov dword [esi + 4], ebp
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebp
mov ecx, dword [0x7e565c]
push ecx
push ebp
push edx
mov ecx, esi
call fcn.00404c60
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x58], 1
push eax
mov byte [esp + 0x68], 2
call fcn.007a02e0
mov eax, dword [esp + 0x40]
add esp, 4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
cmp eax, ebp
mov byte [esp + 0x64], 1
je 0x4745c4
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x4745bb
cmp al, 0xff
je 0x4745bb
dec al
mov byte [ecx], al
jmp 0x4745c4
push ecx
call fcn.007a02e0
add esp, 4
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
cmp ecx, ebp
mov byte [esp + 0x64], 0
je 0x4745f9
mov al, byte [ecx - 1]
test al, al
je 0x4745ef
cmp al, 0xff
je 0x4745ef
dec al
mov byte [ecx - 1], al
jmp 0x4745f9
dec ecx
push ecx
call fcn.007a02e0
add esp, 4
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], ebp
mov ecx, dword [esp + 0x5c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret 0x24