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

Disassembly:
sub esp, 0x388
mov eax, dword [0x56a260]
xor eax, esp
mov dword [esp + 0x384], eax
push ebx
mov ebx, dword [esp + 0x394]
push ebp
push esi
push edi
mov edi, dword [esp + 0x39c]
or ebp, 0xffffffff
cmp edi, ebp
mov esi, ecx
mov dword [esp + 0x24], esi
jl 0x472118
mov eax, dword [esi]
cmp edi, dword [eax + 4]
jge 0x472118
cmp dword [esi + 4], ebp
je 0x471c30
push eax
call fcn.0046fd40
add esp, 4
cmp edi, dword [esi + 0x238]
mov dword [esi + 4], ebp
jne 0x471c52
cmp edi, ebp
je 0x471c56
add esi, 8
mov ecx, 0x8c
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x47211d
cmp edi, ebp
jne 0x471c9e
mov eax, dword [esi]
mov ecx, dword [eax + 4]
xor eax, eax
mov dword [ebx], ecx
mov word [ebx + 4], ax
mov dword [ebx + 0x20c], eax
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], eax
mov dword [ebx + 0x218], eax
mov dword [ebx + 0x21c], eax
mov dword [ebx + 0x220], eax
mov dword [ebx + 0x224], eax
mov dword [ebx + 0x228], eax
mov dword [ebx + 0x22c], eax
jmp 0x47211d
mov eax, dword [esi]
cmp edi, dword [eax + 0x10]
jge 0x471cae
push eax
call fcn.0046f950
add esp, 4
mov edx, dword [esi]
cmp dword [edx + 0x10], edi
jge 0x471cc7
mov eax, dword [esi]
push eax
call fcn.0046f9a0
mov ecx, dword [esi]
add esp, 4
cmp dword [ecx + 0x10], edi
jl 0x471cb5
mov ecx, dword [esi]
push 0
push 0
push 0
push 0
push 0x104
lea edx, [esp + 0x9c]
push edx
push 0
lea eax, [esp + 0x54]
push eax
push ecx
call fcn.0046f590
lea edx, [esp + 0x44]
push edx
mov edx, dword [esi]
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
push edx
call fcn.0046fb50
add esp, 0x34
test eax, eax
je 0x471d13
mov eax, 0x700
jmp 0x47211d
mov eax, dword [esi]
mov eax, dword [eax]
cmp byte [eax], 0
je 0x471d3a
cmp byte [eax + 1], 0
je 0x471d71
mov ecx, dword [eax + 0xc]
add ecx, dword [esp + 0x14]
mov edx, dword [eax + 4]
push 0
push 0
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
jmp 0x471d41
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x1c], ecx
mov edi, dword [esp + 0x20]
push edi
call fcn.004d377b
mov edx, dword [esi]
mov ecx, dword [edx]
push ecx
push edi
push 1
push eax
mov dword [esp + 0x28], eax
call fcn.0046f170
add esp, 0x14
cmp eax, edi
je 0x471d7b
mov edx, dword [esp + 0x14]
push edx
call fcn.004d37ab
add esp, 4
mov eax, 0x800
jmp 0x47211d
mov eax, dword [esi]
mov ecx, dword [eax + 0x10]
push 0x104
mov dword [ebx], ecx
mov ecx, dword [esi + 0x44c]
lea edx, [esp + 0x190]
push edx
push ebp
xor ebp, ebp
neg ecx
lea eax, [esp + 0x94]
push eax
sbb ecx, ecx
push ebp
and ecx, 0xfde9
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea esi, [esp + 0x18c]
lea esp, [esp]
movzx eax, word [esi]
cmp ax, bp
je 0x471dd4
cmp word [esi + 2], 0x3a
jne 0x471dd4
add esi, 4
jmp 0x471dc0
cmp ax, 0x5c
jne 0x471ddf
add esi, 2
jmp 0x471dc0
cmp ax, 0x2f
jne 0x471dea
add esi, 2
jmp 0x471dc0
push str..._
push esi
call fcn.004f2f27
add esp, 8
cmp eax, ebp
je 0x471e01
lea esi, [eax + 8]
jmp 0x471dc0
push 0x52c88c
push esi
call fcn.004f2f27
add esp, 8
cmp eax, ebp
je 0x471e18
lea esi, [eax + 8]
jmp 0x471dc0
push str._.._
push esi
call fcn.004f2f27
add esp, 8
cmp eax, ebp
je 0x471e2f
lea esi, [eax + 8]
jmp 0x471dc0
push 0x52c874
push esi
call fcn.004f2f27
add esp, 8
cmp eax, ebp
je 0x471e49
lea esi, [eax + 8]
jmp 0x471dc0
push esi
lea edx, [ebx + 4]
push 0x104
push edx
call fcn.004f2e08
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x44]
mov edx, eax
shr edx, 0x17
mov ecx, eax
shr ecx, 0x1e
not dl
and dl, 1
add esp, 0xc
and cl, 1
shr esi, 8
mov byte [esp + 0x13], dl
mov byte [esp + 0x1b], 0
mov byte [esp + 0x11], 0
mov byte [esp + 0x12], 1
je 0x471e9c
cmp esi, 7
je 0x471e9c
cmp esi, 0xb
je 0x471e9c
cmp esi, 0xe
jne 0x471ec7
mov cl, al
and cl, 1
mov byte [esp + 0x13], cl
mov ecx, eax
shr ecx, 2
and cl, 1
mov byte [esp + 0x11], cl
mov edx, eax
mov ecx, eax
shr edx, 1
shr ecx, 4
shr eax, 5
and dl, 1
and cl, 1
and al, 1
jmp 0x471ecf
mov dl, byte [esp + 0x1b]
mov al, byte [esp + 0x12]
test cl, cl
mov dword [ebx + 0x20c], ebp
je 0x471ee3
mov dword [ebx + 0x20c], 0x10
test al, al
je 0x471eee
or dword [ebx + 0x20c], 0x20
test dl, dl
je 0x471ef9
or dword [ebx + 0x20c], 2
cmp byte [esp + 0x13], 0
je 0x471f07
or dword [ebx + 0x20c], 1
cmp byte [esp + 0x11], 0
je 0x471f15
or dword [ebx + 0x20c], 4
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov dword [ebx + 0x228], eax
mov eax, dword [esp + 0x48]
push eax
shr eax, 0x10
push eax
mov dword [ebx + 0x22c], ecx
call fcn.0046fdc0
add esp, 8
mov dword [esp + 0x34], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp edi, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x210], eax
mov dword [ebx + 0x214], ecx
mov dword [ebx + 0x218], eax
mov dword [ebx + 0x21c], ecx
mov dword [ebx + 0x220], eax
mov dword [ebx + 0x224], ecx
jbe 0x4720e6
mov byte [esp + 0x1e], 0
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov cl, byte [eax + ebp]
mov dl, byte [eax + ebp + 1]
mov byte [esp + 0x1c], cl
mov edi, 0x52c870
lea esi, [esp + 0x1c]
mov ecx, 3
xor eax, eax
mov byte [esp + 0x1d], dl
repe cmpsb byte [esi], byte es:[edi]
je 0x471fd2
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + ebp + 2]
lea ebp, [edx + ebp + 4]
lea eax, [ebp + 4]
cmp eax, dword [esp + 0x20]
jb 0x471f90
jmp 0x4720e6
mov esi, dword [esp + 0x14]
movzx eax, byte [esi + ebp + 4]
mov ecx, eax
mov edx, eax
shr ecx, 1
shr edx, 2
and cl, 1
and dl, 1
add ebp, 5
test al, 1
mov byte [esp + 0x12], cl
mov byte [esp + 0x11], dl
je 0x472049
movzx ecx, byte [esi + ebp + 1]
movzx edx, byte [esi + ebp]
xor eax, eax
mov ah, byte [esi + ebp + 3]
push 0
add ebp, 4
push 0x989680
mov al, byte [esi + ebp - 2]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
cdq
add eax, 0xb6109100
adc edx, 2
push edx
push eax
call fcn.004f7020
mov ecx, edx
sar ecx, 0x1f
mov cl, byte [esp + 0x12]
mov dword [ebx + 0x224], edx
mov dl, byte [esp + 0x11]
mov dword [ebx + 0x220], eax
test cl, cl
je 0x472099
movzx edx, byte [esi + ebp + 1]
movzx ecx, byte [esi + ebp]
xor eax, eax
mov ah, byte [esi + ebp + 3]
push 0
add ebp, 4
push 0x989680
mov al, byte [esi + ebp - 2]
shl eax, 8
or eax, edx
shl eax, 8
or eax, ecx
cdq
add eax, 0xb6109100
adc edx, 2
push edx
push eax
call fcn.004f7020
mov ecx, edx
mov dword [ebx + 0x214], edx
mov dl, byte [esp + 0x11]
sar ecx, 0x1f
mov dword [ebx + 0x210], eax
test dl, dl
je 0x4720e6
mov eax, dword [esp + 0x14]
movzx ecx, byte [eax + ebp + 1]
xor edx, edx
mov dh, byte [eax + ebp + 3]
push 0
push 0x989680
mov dl, byte [eax + ebp + 2]
movzx eax, byte [eax + ebp]
shl edx, 8
or edx, ecx
shl edx, 8
or eax, edx
cdq
add eax, 0xb6109100
adc edx, 2
push edx
push eax
call fcn.004f7020
mov ecx, edx
sar ecx, 0x1f
mov dword [ebx + 0x218], eax
mov dword [ebx + 0x21c], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4720f7
push eax
call fcn.004d37ab
add esp, 4
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x39c]
lea edi, [eax + 8]
mov ecx, 0x8c
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov dword [eax + 0x238], edx
xor eax, eax
jmp 0x47211d
mov eax, 0x10000
mov ecx, dword [esp + 0x394]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f2ac1
add esp, 0x388
ret 8