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

Disassembly:
push 0xffffffffffffffff
push 0x57d4f4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], ebx
mov ecx, dword [ebp + 0xd38]
mov byte [esp + 0x78], 2
cmp ecx, ebx
je 0x471035
mov eax, dword [ecx]
push ebp
call dword [eax + 4]
test al, al
je 0x471035
mov eax, dword [ebp + 0xd2c]
mov dword [esp + 0x14], ebx
mov dword [ebp + 0xd44], eax
mov eax, dword [ebp + 0xd48]
mov esi, 0x596bf8
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x3c], eax
push str.infl
lea ecx, [esp + 0x1c]
mov byte [esp + 0x7c], 5
call fcn.00411a30
mov eax, dword [esp + 0x14]
mov byte [esp + 0x78], 6
cmp eax, ebx
je 0x4707ca
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x4707df
mov ecx, dword [eax]
inc ecx
mov dword [eax], ecx
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov byte [esp + 0x78], 5
je 0x4707f2
push eax
lea ecx, [esp + 0x1c]
call fcn.00411610
mov ecx, dword [ebp + 0xd48]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00454260
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x7c], 7
call fcn.00412320
mov eax, dword [esp + 0x18]
mov byte [esp + 0x78], 5
cmp eax, ebx
je 0x470829
push eax
lea ecx, [esp + 0x1c]
call fcn.00411610
push str..xxx
lea ecx, [esp + 0x1c]
call fcn.00411a30
lea eax, [esp + 0x18]
lea ecx, [esp + 0x14]
push eax
mov byte [esp + 0x7c], 8
call fcn.00412320
mov eax, dword [esp + 0x18]
mov byte [esp + 0x78], 5
cmp eax, ebx
je 0x470861
push eax
lea ecx, [esp + 0x1c]
call fcn.00411610
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0xd48]
cmp ecx, ebx
mov dword [esp + 0x50], ecx
je 0x470875
inc dword [ecx]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x54], eax
lea esi, [esp + 0x4c]
lea ecx, [esp + 0x50]
neg esi
sbb esi, esi
sub esp, 8
and esi, ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x34], ecx
mov dword [ecx], ebx
lea edi, [ecx + 4]
mov dword [edi], ebx
lea edx, [esp + 0x24]
mov byte [esp + 0x80], 0xb
push edx
call fcn.00404a90
push esi
mov ecx, edi
call fcn.00404a90
mov eax, dword [ebp + 0xcf8]
lea ecx, [ebp + 0xd54]
dec eax
mov byte [esp + 0x80], 9
push eax
call fcn.0046f9a0
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x50]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x78], 5
and ecx, edx
call fcn.0042bdc0
mov eax, dword [ebp + 0xcf8]
xor edi, edi
cmp eax, ebx
jle 0x4709a2
mov ecx, dword [ebp + 0xd24]
xor edx, edx
lea eax, [esp + 0x14]
mov dx, word [ecx + edi*2]
push eax
push edx
lea ecx, [ebp + 0xd44]
call fcn.00470430
lea eax, [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
call fcn.00404a90
lea ecx, [esp + 0x34]
call fcn.00414a80
lea ecx, [esp + 0x38]
call fcn.004133e0
lea esi, [esp + 0x34]
lea ecx, [esp + 0x38]
neg esi
sbb esi, esi
sub esp, 8
and esi, ecx
mov ecx, esp
mov dword [esp + 0x34], esp
mov dword [esp + 0x34], ecx
mov dword [ecx], 0
lea ebx, [ecx + 4]
mov dword [ebx], 0
lea edx, [esp + 0x1c]
mov byte [esp + 0x80], 0xd
push edx
call fcn.00404a90
push esi
mov ecx, ebx
call fcn.00404a90
push edi
lea ecx, [ebp + 0xd54]
mov byte [esp + 0x84], 5
call fcn.0046f9a0
mov eax, dword [ebp + 0xcf8]
inc edi
cmp edi, eax
jl 0x4708fc
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 0xd48]
cmp ecx, ebx
mov dword [esp + 0x50], ecx
je 0x4709b6
inc dword [ecx]
mov dword [esp + 0x4c], fcn.00414a80
mov dword [esp + 0x54], eax
lea edi, [esp + 0x4c]
lea eax, [esp + 0x50]
neg edi
sbb edi, edi
sub esp, 0x34
mov esi, esp
mov dword [esp + 0x60], esp
and edi, eax
mov dword [esp + 0x60], esi
lea ebx, [esi + 4]
mov dword [ebx], 0
lea eax, [esi + 8]
mov dword [esp + 0x4c], eax
mov dword [eax], 0
lea ecx, [esi + 0x10]
mov byte [esp + 0xac], 0x10
call fcn.00408610
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea ecx, [esp + 0x50]
mov byte [esp + 0xac], 0x13
push ecx
mov ecx, ebx
mov byte [esi], al
mov byte [esi + 1], al
call fcn.00404a90
mov ecx, dword [esp + 0x4c]
push edi
call fcn.00404a90
mov edx, dword [ebp + 0xcfc]
lea ecx, [ebp + 0xd6c]
dec edx
mov byte [esp + 0xac], 0xe
push edx
call fcn.0046fdb0
lea ecx, [esp + 0x4c]
lea eax, [esp + 0x50]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x78], 5
and ecx, eax
call fcn.0042bdc0
mov eax, dword [ebp + 0xcfc]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x470f49
mov edx, dword [ebp + 0xd28]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov ax, word [edx + ecx*4 + 2]
lea ecx, [ebp + 0xd44]
push eax
call fcn.00470430
lea edx, [esp + 0x14]
lea ecx, [esp + 0x38]
push edx
call fcn.00404a90
lea ecx, [esp + 0x34]
call fcn.00414a80
lea ecx, [esp + 0x38]
call fcn.004133e0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x470af1
mov eax, dword [eax + 8]
test eax, eax
je 0x470af1
dec eax
test eax, eax
je 0x470af1
lea ecx, [esp + 0x38]
call fcn.00404a70
test eax, eax
jbe 0x470af1
mov eax, dword [esp + 0x38]
cmp byte [eax + 0xc], 0x60
jne 0x470af1
push 1
push 0
lea ecx, [esp + 0x40]
call fcn.00412e80
mov edx, dword [esp + 0x24]
lea edi, [esp + 0x34]
neg edi
mov eax, dword [edx + 0xd28]
lea ecx, [esp + 0x38]
sbb edi, edi
sub esp, 0x34
and edi, ecx
mov ecx, dword [esp + 0x4c]
mov esi, esp
mov dword [esp + 0x64], esp
mov dl, byte [eax + ecx*4 + 1]
lea eax, [eax + ecx*4]
lea ebp, [esi + 4]
mov byte [esp + 0x47], dl
mov al, byte [eax]
mov dword [esp + 0x64], esi
mov byte [esp + 0x46], al
mov dword [ebp], 0
lea ebx, [esi + 8]
mov dword [ebx], 0
lea ecx, [esi + 0x10]
mov byte [esp + 0xac], 0x15
call fcn.00408610
xor eax, eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov cl, byte [esp + 0x46]
mov dl, byte [esp + 0x47]
lea eax, [esp + 0x48]
mov byte [esi], cl
push eax
mov ecx, ebp
mov byte [esp + 0xb0], 0x18
mov byte [esi + 1], dl
call fcn.00404a90
push edi
mov ecx, ebx
call fcn.00404a90
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x58]
push ecx
mov byte [esp + 0xb0], 5
lea ecx, [edx + 0xd6c]
call fcn.0046fdb0
mov eax, dword [esp + 0x38]
test eax, eax
je 0x470c09
mov eax, dword [eax + 8]
test eax, eax
je 0x470c09
dec eax
test eax, eax
je 0x470c09
lea ecx, [esp + 0x38]
xor esi, esi
call fcn.00404a70
test eax, eax
je 0x470bec
lea ecx, [esp + 0x38]
call fcn.00404a70
test eax, eax
ja 0x470bd7
lea ecx, [esp + 0x38]
call fcn.00404a70
mov esi, eax
dec esi
lea ecx, [esp + 0x38]
call fcn.00404a70
mov ecx, dword [esp + 0x38]
sub ecx, esi
mov bl, byte [eax + ecx + 0xb]
jmp 0x470bee
xor bl, bl
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
push edx
lea ebp, [eax + 0xd6c]
mov ecx, ebp
call fcn.0046ffa0
mov byte [eax + 0xc], bl
jmp 0x470c23
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
push ecx
lea ebp, [edx + 0xd6c]
mov ecx, ebp
call fcn.0046ffa0
mov byte [eax + 0xc], 0
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0046ffa0
test byte [eax], 4
je 0x470d3d
push 0
lea ecx, [esp + 0x2c]
push 0
push ecx
push 0x2c
lea ecx, [esp + 0x48]
call fcn.00412cd0
mov edi, dword [esp + 0x28]
and edi, 0xffff
test al, al
je 0x470d3d
push edi
lea edx, [esp + 0x50]
push 0
push edx
lea ecx, [esp + 0x40]
call fcn.00414940
test eax, eax
mov byte [esp + 0x78], 0x19
je 0x470c7d
lea ebx, [eax + 4]
jmp 0x470c7f
xor ebx, ebx
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0046ffa0
mov esi, eax
add esi, 0x2c
cmp esi, ebx
je 0x470cac
mov eax, dword [esi]
test eax, eax
je 0x470ca2
push eax
mov ecx, esi
call fcn.00411610
mov eax, dword [ebx]
test eax, eax
mov dword [esi], eax
je 0x470cac
inc dword [eax]
lea ecx, [esp + 0x4c]
lea edx, [esp + 0x50]
neg ecx
sbb ecx, ecx
mov byte [esp + 0x78], 5
and ecx, edx
call fcn.0042bdc0
inc edi
push 0xffff
lea eax, [esp + 0x5c]
push edi
push eax
lea ecx, [esp + 0x40]
call fcn.00414940
test eax, eax
mov byte [esp + 0x78], 0x1a
je 0x470ce7
lea edi, [eax + 4]
jmp 0x470ce9
xor edi, edi
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0046ffa0
mov esi, eax
add esi, 0x30
cmp esi, edi
je 0x470d16
mov eax, dword [esi]
test eax, eax
je 0x470d0c
push eax
mov ecx, esi
call fcn.00411610
mov eax, dword [edi]
test eax, eax
mov dword [esi], eax
je 0x470d16
inc dword [eax]
lea esi, [esp + 0x58]
lea edx, [esp + 0x5c]
neg esi
sbb esi, esi
mov byte [esp + 0x78], 5
and esi, edx
mov eax, dword [esi]
test eax, eax
je 0x470d37
push eax
mov ecx, esi
call fcn.00411610
mov dword [esi], 0
mov eax, dword [esp + 0x18]
mov ecx, ebp
push eax
call fcn.0046ffa0
push 0
lea ecx, [esp + 0x30]
push 0
push ecx
push 0x7b
lea ecx, [esp + 0x48]
mov byte [eax + 0x28], 0
call fcn.00412cd0
mov ebx, dword [esp + 0x2c]
and ebx, 0xffff
test al, al
je 0x470f2c
mov edx, dword [esp + 0x18]
mov ecx, ebp
push edx
call fcn.0046ffa0
mov byte [eax + 0x28], bl
mov eax, dword [esp + 0x38]
test eax, eax
mov esi, 1
je 0x470d9b
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x470d9b
dec ecx
cmp ecx, esi
jae 0x470daa
lea ecx, [esp + 0x38]
call fcn.00404a70
mov esi, eax
mov eax, dword [esp + 0x38]
test eax, eax
je 0x470dea
lea ecx, [esp + 0x38]
call fcn.00404a70
test eax, eax
je 0x470dea
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x3c]
call fcn.004119f0
mov eax, dword [esp + 0x38]
mov ecx, dword [eax + 8]
sub ecx, esi
mov dword [eax + 8], ecx
lea ecx, [esp + 0x38]
call fcn.00404a70
mov edx, dword [esp + 0x38]
mov byte [eax + edx + 0xc], 0
lea eax, [ebx + 1]
push 0xffff
lea ecx, [esp + 0x68]
push eax
push ecx
lea ecx, [esp + 0x40]
call fcn.00414940
test eax, eax
mov byte [esp + 0x78], 0x1b
je 0x470e0f
lea esi, [eax + 4]
jmp 0x470e11
xor esi, esi
lea edx, [esp + 0x14]
cmp edx, esi
je 0x470e37
mov eax, dword [esp + 0x14]
test eax, eax
je 0x470e2b
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov eax, dword [esi]
test eax, eax
mov dword [esp + 0x14], eax
je 0x470e37
inc dword [eax]
lea esi, [esp + 0x64]
lea eax, [esp + 0x68]
neg esi
sbb esi, esi
mov byte [esp + 0x78], 5
and esi, eax
mov eax, dword [esi]
test eax, eax
je 0x470e58
push eax
mov ecx, esi
call fcn.00411610
push 0xffff
push ebx
lea ecx, [esp + 0x40]
mov dword [esi], 0
call fcn.00412e80
mov edx, dword [esp + 0x18]
lea esi, [esp + 0x34]
neg esi
sbb esi, esi
lea ecx, [esp + 0x38]
and esi, ecx
push edx
mov ecx, ebp
call fcn.0046ffa0
mov edi, eax
add edi, 8
cmp edi, esi
je 0x470ea8
mov eax, dword [edi]
test eax, eax
je 0x470e9e
push eax
mov ecx, edi
call fcn.00411610
mov esi, dword [esi]
test esi, esi
mov dword [edi], esi
je 0x470ea8
inc dword [esi]
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x5c9488
call fcn.00411a30
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call fcn.00401ed0
lea ecx, [esp + 0x48]
call fcn.00557730
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x44]
call fcn.00557800
test al, al
je 0x470f2c
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
mov dword [eax], edx
mov eax, dword [esp + 0x24]
test eax, eax
je 0x470f00
inc dword [eax]
push esi
mov ecx, ebp
mov byte [esp + 0x80], 5
call fcn.00477260
mov ecx, eax
add ecx, 0x10
call fcn.00414460
lea eax, [esp + 0x20]
lea ecx, [esp + 0x40]
push eax
call fcn.00557800
test al, al
jne 0x470ee9
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc eax
mov ebp, ecx
mov edx, dword [ecx + 0xcfc]
mov dword [esp + 0x18], eax
cmp eax, edx
jl 0x470a77
mov eax, dword [ebp + 0xd28]
push eax
call fcn.00564ff4
mov eax, dword [ebp + 0xd24]
xor edi, edi
push eax
mov dword [ebp + 0xd28], edi
call fcn.00564ff4
mov eax, dword [ebp + 0xd2c]
mov dword [ebp + 0xd24], edi
push eax
call fcn.00564ff4
lea esi, [esp + 0x40]
add esp, 0xc
neg esi
sbb esi, esi
lea edx, [esp + 0x38]
and esi, edx
mov dword [ebp + 0xd2c], edi
mov byte [esp + 0x78], 4
mov eax, dword [esi]
cmp eax, edi
je 0x470fa5
push eax
mov ecx, esi
call fcn.00411610
mov eax, dword [esp + 0x14]
mov dword [esi], edi
cmp eax, edi
mov byte [esp + 0x78], 2
je 0x470fbe
push eax
lea ecx, [esp + 0x18]
call fcn.00411610
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], edi
cmp eax, edi
mov byte [esp + 0x78], 1
je 0x470fd9
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x44]
mov byte [esp + 0x78], 0x1d
cmp eax, edi
je 0x470ff4
push eax
lea ecx, [esp + 0x48]
call fcn.00411610
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], edi
mov byte [esp + 0x78], 0
call fcn.0042bdc0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
cmp eax, edi
je 0x471020
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
mov al, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov ecx, ebp
call fcn.004710b0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x78], 1
cmp eax, ebx
je 0x471053
push eax
lea ecx, [esp + 0x20]
call fcn.00411610
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x44]
mov byte [esp + 0x78], 3
cmp eax, ebx
je 0x47106e
push eax
lea ecx, [esp + 0x48]
call fcn.00411610
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], ebx
mov byte [esp + 0x78], 0
call fcn.0042bdc0
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], 0xffffffff
cmp eax, ebx
je 0x47109a
push eax
lea ecx, [esp + 0x24]
call fcn.00411610
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
xor al, al
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret