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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
mov ebx, ecx
xor eax, eax
push esi
xor ebp, ebp
mov dword [esp + 0x24], ebx
or esi, 0xffffffff
mov dword [esp + 0xc], ebp
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
cmp dword [ebx + 0x4528], eax
jbe 0x471be4
lea ebp, [ebx + 0x452c]
lea edi, [ebx + 0x52c]
jmp 0x471950
mov dword [esp + 0x18], ebp
cmp esi, 0xffffffff
je 0x4719c6
mov ecx, dword [edi]
sub ecx, eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jle 0x4719c6
lea eax, [ecx + esi]
mov dword [esp + 0x1c], eax
cmp dword [ebx + 0x145c8], eax
jae 0x4719a5
push eax
push dword [ebx + 0x145c4]
call fcn.004f2533
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x471997
mov ecx, 0x56df60
call fcn.00462de0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov dword [ebx + 0x145c8], eax
mov eax, dword [esp + 0x70]
push ecx
mov eax, dword [eax]
add eax, dword [esp + 0x18]
push eax
mov eax, dword [ebx + 0x145c4]
add eax, esi
push eax
call fcn.004edb80
mov esi, dword [esp + 0x28]
add esp, 0xc
push 0x40
push 0
push ebp
call fcn.004ee100
mov ecx, dword [esp + 0x7c]
add esp, 0xc
mov eax, dword [edi]
mov edx, dword [edi - 4]
mov ecx, dword [ecx]
add ecx, eax
add eax, dword [esp + 0x78]
and eax, dword [ebx + 0x504]
mov dword [esp + 0x14], ecx
cmp edx, 6
ja case.0x4719f3.3
jmp dword [edx*4 + 0x472030]
cmp edx, 2
sete al
movzx eax, al
push eax
mov eax, dword [ebx + 0x16608]
add eax, dword [edi]
push eax
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.00473ae0
jmp 0x471a63
push eax
push dword [edi + 8]
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.004736d0
jmp 0x471a63
push eax
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.00473db0
jmp 0x471a63
push eax
push dword [edi + 8]
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.004739e0
jmp 0x471a63
mov eax, dword [ebx + 0x16608]
add eax, dword [edi]
push eax
push ebp
push dword [edi + 4]
push ecx
mov ecx, ebx
call fcn.00473bd0
mov ecx, dword [esp + 0x14]
cmp esi, 0xffffffff
je 0x471a71
add dword [ebp + 0x34], esi
jmp 0x471a76
mov eax, dword [edi]
add dword [ebp + 0x34], eax
mov edx, dword [esp + 0x18]
add ebp, 0x40
inc dword [esp + 0x10]
cmp dword [edx + 0x3c], ecx
jne 0x471a91
cmp esi, 0xffffffff
je 0x471b49
jmp 0x471ae9
cmp esi, 0xffffffff
jne 0x471ae9
mov esi, dword [edi]
test esi, esi
je 0x471ae7
cmp dword [ebx + 0x145c8], esi
jae 0x471acd
push esi
push dword [ebx + 0x145c4]
call fcn.004f2533
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x471ac7
mov ecx, 0x56df60
call fcn.00462de0
mov dword [ebx + 0x145c8], esi
mov eax, dword [esp + 0x70]
push dword [edi]
push dword [eax]
push dword [ebx + 0x145c4]
call fcn.004edb80
mov edx, dword [esp + 0x24]
add esp, 0xc
mov esi, dword [edi]
mov eax, dword [edx + 0x38]
add eax, esi
mov dword [esp + 0x24], eax
cmp dword [ebx + 0x145c8], eax
jae 0x471b2b
push eax
push dword [ebx + 0x145c4]
call fcn.004f2533
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x471b1d
mov ecx, 0x56df60
call fcn.00462de0
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x18]
mov dword [ebx + 0x145c8], eax
push dword [edx + 0x38]
mov eax, dword [ebx + 0x145c4]
push dword [edx + 0x3c]
add eax, esi
push eax
call fcn.004edb80
mov ecx, dword [esp + 0x24]
add esp, 0xc
add esi, dword [ecx + 0x38]
mov eax, dword [edi + 4]
mov edx, dword [esp + 0x20]
add eax, dword [edi]
inc edx
add edi, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
cmp edx, dword [ebx + 0x4528]
jb 0x471950
cmp esi, 0xffffffff
je 0x471be0
mov edi, dword [esp + 0x74]
mov edi, dword [edi]
sub edi, eax
test edi, edi
jle 0x471bce
lea ebp, [edi + esi]
cmp dword [ebx + 0x145c8], ebp
jae 0x471baf
push ebp
push dword [ebx + 0x145c4]
call fcn.004f2533
add esp, 8
mov dword [ebx + 0x145c4], eax
test eax, eax
jne 0x471ba9
mov ecx, 0x56df60
call fcn.00462de0
mov dword [ebx + 0x145c8], ebp
mov eax, dword [esp + 0x70]
push edi
mov eax, dword [eax]
add eax, dword [esp + 0x18]
push eax
mov eax, dword [ebx + 0x145c4]
add eax, esi
push eax
call fcn.004edb80
add esp, 0xc
mov esi, ebp
mov ecx, dword [esp + 0x70]
mov eax, dword [ebx + 0x145c4]
mov dword [ecx], eax
mov eax, dword [esp + 0x74]
mov dword [eax], esi
mov ebp, dword [esp + 0x10]
lea ecx, [ebp - 1]
xor esi, esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x70], ecx
test ecx, ecx
jle 0x471ce1
lea edx, [ebx + 0x452c]
mov eax, ecx
mov dword [esp + 0x24], edx
lea ecx, [esi + 1]
mov edi, esi
cmp ecx, ebp
jge 0x471cd4
mov eax, esi
mov esi, dword [esp + 0x24]
shl eax, 6
mov dword [esp + 0x74], eax
mov ebp, dword [eax + edx + 0x34]
mov eax, ecx
lea edx, [ebx + 0x4564]
shl eax, 6
mov ebx, dword [esp + 0x74]
add edx, eax
cmp dword [edx - 4], ebp
jne 0x471c4d
mov eax, dword [edx]
cmp eax, dword [ebx + esi + 0x38]
jne 0x471c4d
mov edi, ecx
add edx, 0x40
inc ecx
cmp ecx, dword [esp + 0x10]
jl 0x471c34
mov esi, dword [esp + 0x20]
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x78], edi
cmp edi, esi
je 0x471cc6
mov eax, edi
sub eax, esi
inc eax
cdq
sub eax, edx
mov ebp, eax
sar ebp, 1
test ebp, ebp
jle 0x471cc4
mov edx, dword [esp + 0x74]
lea eax, [ebx + 0x452c]
add edx, 0x452c
mov ecx, edi
shl ecx, 6
add edx, ebx
add eax, ecx
jmp 0x471c90
mov esi, edx
lea edi, [esp + 0x2c]
mov ecx, 0x10
rep movsd dword es:[edi], dword [esi]
mov esi, eax
mov edi, edx
mov ecx, 0x10
add edx, 0x40
rep movsd dword es:[edi], dword [esi]
mov edi, eax
lea esi, [esp + 0x2c]
mov ecx, 0x10
sub eax, 0x40
rep movsd dword es:[edi], dword [esi]
sub ebp, 1
jne 0x471c90
mov edi, dword [esp + 0x78]
mov esi, edi
mov ebp, dword [esp + 0x10]
lea edx, [ebx + 0x452c]
mov eax, dword [esp + 0x70]
inc esi
mov dword [esp + 0x20], esi
cmp esi, eax
jl 0x471c05
test ebp, ebp
jle 0x472025
lea ebp, [ebx + 0x145cc]
lea esi, [ebx + 0x452c]
jmp 0x471d00
mov edi, dword [ebx + 0x145ac]
xor eax, eax
mov byte [esp + 0x74], 1
test edi, edi
jle 0x471d35
mov edx, dword [esi]
lea ecx, [ebx + 0x1452c]
lea esp, [esp]
cmp dword [ecx], edx
je 0x471d2e
inc eax
add ecx, 4
cmp eax, edi
jl 0x471d20
jmp 0x471d35
mov edi, eax
mov byte [esp + 0x74], 0
mov ecx, ebp
call fcn.0047b1e0
xor al, al
mov byte [esp + 0x70], al
cmp byte [ebx + 0x145b4], al
je 0x471d89
push 0
push 2
mov ecx, ebp
mov byte [esp + 0x78], 0x80
call fcn.0047b410
push 0
push 4
mov ecx, ebp
call fcn.0047b410
mov byte [esp + 0x74], 1
xor edi, edi
mov dword [ebx + 0x145ac], 0
mov dword [ebx + 0x145b0], 0
mov byte [ebx + 0x145b4], 0
jmp 0x471d90
cmp byte [esp + 0x74], 0
je 0x471da9
mov ecx, dword [ebx + 0x145ac]
mov eax, dword [esi]
mov dword [ebx + ecx*4 + 0x1452c], eax
inc dword [ebx + 0x145ac]
mov al, byte [esp + 0x70]
cmp edi, dword [ebx + 0x145b0]
je 0x471dc2
or al, 0x80
mov ecx, ebx
mov byte [esp + 0x70], al
lea eax, [edi + 1]
push eax
call fcn.00476f70
mov dword [ebx + 0x145b0], edi
mov eax, dword [esi + 0x34]
sub eax, dword [ebx + 0x165fc]
add eax, dword [ebx + 0x50c]
and eax, dword [ebx + 0x504]
cmp eax, 0x102
jb 0x471dee
or byte [esp + 0x70], 0x40
sub eax, 0x102
push eax
mov ecx, ebx
call fcn.00476f70
cmp byte [esp + 0x74], 0
jne 0x471e09
mov eax, dword [ebx + edi*4 + 0x1456c]
cmp eax, dword [esi + 0x38]
je 0x471e18
push dword [esi + 0x38]
or byte [esp + 0x74], 0x20
mov ecx, ebx
call fcn.00476f70
mov eax, dword [esi + 0x38]
mov dword [ebx + edi*4 + 0x1456c], eax
mov al, byte [esi + 4]
test al, al
je 0x471e76
or byte [esp + 0x70], 0x10
mov ecx, ebp
movzx eax, al
push eax
push 7
call fcn.0047b410
mov eax, 1
lea edi, [esi + 8]
mov dword [esp + 0x78], eax
lea ebp, [eax + 6]
lea ebx, [ebx]
test byte [esi + 4], al
je 0x471e62
push dword [edi]
mov ecx, ebx
call fcn.00476f70
mov eax, dword [esp + 0x78]
rol eax, 1
add edi, 4
mov dword [esp + 0x78], eax
sub ebp, 1
jne 0x471e50
lea ebp, [ebx + 0x145cc]
cmp byte [esp + 0x74], 0
je 0x471ea7
push dword [esi + 0x28]
mov ecx, ebx
call fcn.00476f70
xor edi, edi
cmp dword [esi + 0x28], edi
jle 0x471ea7
mov edi, edi
mov eax, dword [esi + 0x24]
mov ecx, ebp
movzx eax, byte [edi + eax]
push eax
push 8
call fcn.0047b410
inc edi
cmp edi, dword [esi + 0x28]
jl 0x471e90
mov eax, dword [esi + 0x30]
test eax, eax
je 0x471ed9
or byte [esp + 0x70], 8
mov ecx, ebx
push eax
call fcn.00476f70
xor edi, edi
cmp dword [esi + 0x30], edi
jle 0x471ed9
mov eax, dword [esi + 0x2c]
mov ecx, ebp
movzx eax, byte [eax + edi]
push eax
push 8
call fcn.0047b410
inc edi
cmp edi, dword [esi + 0x30]
jl 0x471ec2
mov ecx, ebp
call fcn.0047b130
mov eax, dword [ebx + 0x145e0]
mov dword [esp + 0x74], eax
cmp eax, 6
ja 0x471efb
dec al
or byte [esp + 0x70], al
mov eax, dword [esp + 0x74]
jmp 0x471f0e
cmp eax, 0x106
ja 0x471f09
or byte [esp + 0x70], 6
jmp 0x471f0e
or byte [esp + 0x70], 7
cmp dword [ebx + 0x51c], 2
jne 0x471f9c
push dword [ebx + 0x1b208]
lea ebp, [ebx + 0x16614]
mov ecx, ebp
call fcn.004939b0
push 3
mov ecx, ebp
call fcn.004939b0
movzx eax, byte [esp + 0x70]
mov ecx, ebp
push eax
call fcn.004939b0
mov eax, dword [esp + 0x74]
cmp eax, 6
jbe 0x471f77
mov ecx, ebp
cmp eax, 0x106
ja 0x471f5b
add eax, 0xfffffff9
jmp 0x471f6d
shr eax, 8
push eax
call fcn.004939b0
mov edx, dword [esp + 0x74]
mov ecx, ebp
movzx eax, dl
push eax
call fcn.004939b0
mov eax, dword [esp + 0x74]
xor edi, edi
test eax, eax
je 0x472011
mov eax, dword [ebx + 0x145dc]
mov ecx, ebp
movzx eax, byte [eax + edi]
push eax
call fcn.004939b0
inc edi
cmp edi, dword [esp + 0x74]
jb 0x471f81
jmp 0x472011
add eax, 0x14
lea edi, [ebx + 0x1b2bc]
push eax
mov ecx, edi
call fcn.0045a140
mov ecx, dword [edi + 0x10]
mov eax, dword [edi + 8]
mov dl, byte [esp + 0x70]
mov byte [eax + ecx*8 + 1], dl
mov edx, dword [esp + 0x74]
mov byte [eax + ecx*8], 7
mov dword [eax + ecx*8 + 4], edx
inc dword [edi + 0x10]
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0xc]
jb 0x471fd9
mov ecx, edi
call fcn.00459d80
xor ebp, ebp
cmp dword [esp + 0x74], ebp
jbe 0x472011
mov eax, dword [ebx + 0x145dc]
mov ecx, dword [edi + 0x10]
mov dl, byte [eax + ebp]
mov eax, dword [edi + 8]
mov byte [eax + ecx*8], 8
mov byte [eax + ecx*8 + 4], dl
inc dword [edi + 0x10]
mov eax, dword [edi + 0x10]
cmp eax, dword [edi + 0xc]
jb 0x47200a
mov ecx, edi
call fcn.00459d80
inc ebp
cmp ebp, dword [esp + 0x74]
jb 0x471fe1
add esi, 0x40
lea ebp, [ebx + 0x145cc]
sub dword [esp + 0x10], 1
jne 0x471d00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 0xc