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

Disassembly:
push 0x40
push 0x4f513778
call fcn.4f5087c4
mov dword [ebp - 0x50], edx
mov ebx, ecx
and dword [ebp - 0x4c], 0
and dword [ebp - 4], 0
mov esi, 0x258
mov edx, esi
call fcn.4f4e7537
mov dword [ebx + 0x354], esi
mov ecx, dword [ebx + 0x358]
mov dword [ebp - 0x38], ecx
mov esi, dword [ebx + 0x35c]
mov dword [ebp - 0x44], esi
mov eax, dword [ebx + 0x360]
mov dword [ebp - 0x3c], eax
mov dword [ecx + 4], 0x50504420
mov dword [ecx + 8], 0x19001e
mov dword [ecx + 0x2c], 0x34
mov dword [ecx + 0x30], 0x174
mov ecx, ebx
call fcn.4f4e7537
xor edx, edx
xor edi, edi
inc edi
cmp dword [ebx + 0x1c], edx
je 0x4f504636
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x24], edx
je 0x4f50463e
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x2c], edx
jne 0x4f504646
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x4c], edx
jne 0x4f50464e
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x3c], edx
jne 0x4f504656
mov dword [ebx + 0x14], edi
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x4f50466b
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xbc], edi
mov eax, edi
cmp edi, eax
sbb eax, eax
and eax, 0x13400
add eax, 0x2b000
cmp dword [ebx + 0xc0], eax
jae 0x4f50468a
mov dword [ebx + 0x14], edi
mov dword [ebx + 0xc0], eax
mov eax, edx
mov dword [ebp - 0x34], eax
mov ecx, dword [ebx + 0xb4]
sub ecx, edx
je 0x4f5046c2
sub ecx, 1
je 0x4f5046ba
sub ecx, 1
je 0x4f5046b2
sub ecx, 1
jne 0x4f5046c2
mov eax, 0x3a4
mov dword [ebp - 0x34], eax
jmp 0x4f5046cb
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x34], eax
jmp 0x4f5046e2
mov eax, 0x4e4
mov dword [ebp - 0x34], eax
cmp eax, 0xfffffffe
je 0x4f5046df
test eax, eax
je 0x4f5046df
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.kernel32.dll_GetCPInfo]
test eax, eax
jne 0x4f5046df
or eax, 0xffffffff
jmp 0x4f5046b5
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xb8], eax
mov ecx, ebx
call fcn.4f4e7537
cmp dword [ebp - 0x50], 0
je 0x4f5046ff
mov dword [esi + 0x128], edi
mov edx, edi
jmp 0x4f50470b
mov edx, dword [ebx + 0x154]
mov dword [esi + 0x128], edx
mov dword [esi], 0x140
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x14]
mov dword [esi + 0x18], eax
mov eax, dword [ecx + 0x18]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x14], 2
test edx, edx
jne 0x4f504734
mov dword [esi + 0x3c], 0x270f
jmp 0x4f504746
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x4f504743
mov dword [esi + 0x3c], eax
jmp 0x4f504746
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], 0x3e8
mov eax, dword [ebx + 0x3c]
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0xb4]
mov dword [esi + 0x48], eax
mov eax, dword [ebx + 0xbc]
mov dword [esi + 0x4c], eax
mov eax, dword [ebx + 0xc4]
mov dword [esi + 0x7c], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x78], edi
mov eax, dword [ebx + 0x168]
test eax, eax
jne 0x4f504789
cmp dword [ebx + 0x16c], eax
je 0x4f5047b4
cmp eax, 4
jb 0x4f5047b1
mov ecx, dword [ebx + 0x16c]
cmp ecx, 0xf
ja 0x4f5047b1
cmp eax, ecx
ja 0x4f5047b1
mov dword [esi + 0x12c], eax
mov eax, dword [ebx + 0x16c]
mov dword [esi + 0x130], eax
jmp 0x4f5047b4
mov dword [ebx + 0x14], edi
mov eax, dword [ebx + 0xd4]
or eax, 0x10
mov dword [esi + 0x60], eax
mov eax, dword [ebx + 0xc8]
mov dword [esi + 0x64], eax
mov eax, dword [ebx + 0xcc]
mov dword [esi + 0x68], eax
mov eax, dword [ebx + 0xd8]
mov dword [esi + 0x6c], eax
mov eax, dword [ebx + 0xc0]
mov dword [esi + 0x70], eax
mov eax, dword [ebx + 0xe8]
mov dword [esi + 0x80], eax
mov eax, dword [ebx + 0xe4]
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], 0xff
mov eax, dword [ebx + 0x38]
mov ecx, dword [ebp - 0x3c]
mov dword [ecx + 0x10], eax
mov eax, dword [ebx + 0x100]
mov dword [ecx + 4], eax
mov eax, 0x6338
mov dword [esi + 0xac], eax
mov dword [esi + 0xa8], eax
push 0x12
pop eax
mov dword [esi + 0x88], eax
cmp dword [ebx + 0xd0], 0
je 0x4f504844
push 0x1a
pop eax
mov dword [esi + 0x88], eax
cmp dword [ebx + 0xdc], 0x10e
je 0x4f504859
or eax, 4
mov dword [esi + 0x88], eax
push 0
mov edx, 0x4f48475c
mov ecx, dword [ebx + 0x5c]
call fcn.4f4e7537
test eax, eax
jne 0x4f504891
push eax
mov edx, 0x4f48476c
mov ecx, dword [ebx + 0x5c]
call fcn.4f4e7537
test eax, eax
je 0x4f50489b
push 0
mov edx, 0x4f484774
mov ecx, dword [ebx + 0x5c]
call fcn.4f4e7537
test eax, eax
je 0x4f50489b
or dword [esi + 0x88], 0x80
xor eax, eax
cmp dword [ebx + 0xec], eax
je 0x4f5048af
or dword [esi + 0x88], 0x100
cmp dword [ebx + 0xbc], edi
jbe 0x4f5048dc
cmp dword [ebx + 0x148], eax
je 0x4f5048c9
cmp dword [ebx + 0x14c], eax
jne 0x4f5048dc
jmp 0x4f5048d2
cmp dword [ebx + 0x40], 0xbc3
jae 0x4f5048dc
or dword [esi + 0x88], 0x800
cmp dword [ebx + 0x150], eax
je 0x4f5048ee
or dword [esi + 0x88], 0x1000
cmp dword [ebx + 0x164], eax
je 0x4f504900
or dword [esi + 0x88], 0x8000
mov eax, dword [ebx + 0x15c]
mov dword [esi + 0x124], eax
push dword [ebx + 0x2c]
push dword [ebx + 0x30]
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.4f4e7537
mov edi, dword [ebx + 0x74]
test edi, edi
je 0x4f50496e
mov edx, dword [edi + 8]
test edx, edx
jne 0x4f50492f
and dword [edi + 0xc], edx
jmp 0x4f50496a
inc edx
mov ecx, ebx
call fcn.4f4e7537
push dword [edi + 8]
push dword [edi + 0xc]
mov eax, dword [ebx + 0x348]
add eax, dword [ebx + 0x354]
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x354]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 8]
add eax, 4
and eax, 0xfffffffc
add dword [ebx + 0x354], eax
mov edi, dword [edi]
jmp 0x4f50491f
mov ecx, ebx
call fcn.4f502583
lea eax, [ebx + 0x7c]
push eax
lea edx, [esi + 0x50]
mov ecx, ebx
call fcn.4f4e7537
lea eax, [ebx + 0x84]
push eax
lea edx, [esi + 0x58]
mov ecx, ebx
call fcn.4f4e7537
mov ecx, dword [ebp - 0x3c]
mov eax, 0xff
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x30], eax
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x38], eax
mov eax, dword [ebx + 0x108]
mov dword [ecx + 0x2c], eax
lea esi, [ebx + 0x10c]
lea edi, [ecx + 0x40]
push 0xf
pop ecx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
call fcn.4f50314f
mov ecx, ebx
call fcn.4f4e7537
push dword [ebx + 0x64]
mov edi, dword [ebp - 0x3c]
lea edx, [edi + 0xc4]
mov ecx, ebx
call fcn.4f4e7537
push dword [ebx + 0x68]
lea edx, [edi + 0xcc]
mov ecx, ebx
call fcn.4f4e7537
mov ecx, ebx
call fcn.4f5031dc
mov dword [edi], 0xe4
mov eax, dword [ebx + 0xf4]
mov dword [edi + 8], eax
mov eax, dword [ebx + 0xf8]
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x40]
mov dword [edi + 0x14], eax
mov eax, dword [ebx + 0xe0]
mov dword [edi + 0xe0], eax
or dword [edi + 0x28], 0xffffffff
mov esi, dword [ebp - 0x44]
mov eax, dword [esi + 0x20]
add eax, dword [ebp - 0x38]
mov ecx, dword [esi + 0x20]
neg ecx
sbb ecx, ecx
and ecx, eax
xor edx, edx
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x48], ecx
cmp edx, dword [esi + 0x18]
jae 0x4f504a7a
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x38]
add eax, ecx
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x4f504b4a
xor edx, edx
movzx eax, byte [ecx + edx]
mov esi, 0x4f48479c
cmp al, byte [esi + edx]
mov esi, dword [ebp - 0x44]
jne 0x4f504b47
inc edx
cmp edx, 0xc
jne 0x4f504a59
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x28], eax
lea eax, [ebx + 0x44]
push eax
lea edx, [edi + 0x18]
mov ecx, ebx
call fcn.4f4e7537
lea eax, [ebx + 0x4c]
push eax
lea edx, [edi + 0x20]
mov ecx, ebx
call fcn.4f4e7537
test byte [esi + 0x88], 0x20
je 0x4f504ab6
mov eax, dword [edi + 0x2c]
test al, 3
jne 0x4f504aac
or eax, 2
mov dword [edi + 0x2c], eax
test al, 2
jne 0x4f504ab6
or eax, 4
mov dword [edi + 0x2c], eax
lea eax, [ebx + 0x8c]
push eax
lea edx, [edi + 0x90]
mov ecx, ebx
call fcn.4f4e7537
lea eax, [ebx + 0x94]
push eax
lea edx, [edi + 0x98]
mov ecx, ebx
call fcn.4f4e7537
lea eax, [ebx + 0x9c]
push eax
lea edx, [edi + 0xa0]
mov ecx, ebx
call fcn.4f4e7537
lea eax, [ebx + 0xa4]
push eax
lea edx, [edi + 0xa8]
mov ecx, ebx
call fcn.4f4e7537
lea eax, [ebx + 0xac]
push eax
lea edx, [edi + 0xb0]
mov ecx, ebx
call fcn.4f4e7537
mov ecx, ebx
call fcn.4f4e7537
mov ecx, ebx
call fcn.4f4e7537
mov ecx, ebx
call fcn.4f503f8d
cmp dword [ebx + 0x78], 0
je 0x4f504b56
cmp dword [ebx + 0xb8], 0xffffffff
je 0x4f504b56
mov ecx, ebx
call fcn.4f4e7537
jmp 0x4f504b5d
mov edx, dword [ebp - 0x40]
inc edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x54
jmp 0x4f504a39
mov ecx, ebx
call fcn.4f4e7537
push dword [ebx + 0x54]
push dword [ebx + 0x58]
lea edx, [esi + 0xb4]
mov ecx, ebx
call fcn.4f4e7537
mov eax, dword [ebx + 0x160]
lea edx, [esi + 0x134]
test eax, eax
jne 0x4f504b84
and dword [edx], eax
jmp 0x4f504b8c
push eax
mov ecx, ebx
call fcn.4f4e7537
mov eax, dword [ebx + 0x354]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 1
jmp 0x4f504ba7
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x4c]
call fcn.4f50880c
ret