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

Disassembly:
push 0x40
push 0x10195c10
call fcn.10167744
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.1015f19e
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.101615a6
xor edx, edx
xor edi, edi
inc edi
cmp dword [ebx + 0x1c], edx
je 0x10161702
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x24], edx
je 0x1016170a
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x2c], edx
jne 0x10161712
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x4c], edx
jne 0x1016171a
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x3c], edx
jne 0x10161722
mov dword [ebx + 0x14], edi
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x10161737
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 0x10161756
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 0x1016178e
sub ecx, 1
je 0x10161786
sub ecx, 1
je 0x1016177e
sub ecx, 1
jne 0x1016178e
mov eax, 0x3a4
mov dword [ebp - 0x34], eax
jmp 0x10161797
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x34], eax
jmp 0x101617ae
mov eax, 0x4e4
mov dword [ebp - 0x34], eax
cmp eax, 0xfffffffe
je 0x101617ab
test eax, eax
je 0x101617ab
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x101617ab
or eax, 0xffffffff
jmp 0x10161781
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xb8], eax
mov ecx, ebx
call fcn.1016018a
cmp dword [ebp - 0x50], 0
je 0x101617cb
mov dword [esi + 0x128], edi
mov edx, edi
jmp 0x101617d7
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 0x10161800
mov dword [esi + 0x3c], 0x270f
jmp 0x10161812
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x1016180f
mov dword [esi + 0x3c], eax
jmp 0x10161812
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 0x10161855
cmp dword [ebx + 0x16c], eax
je 0x10161880
cmp eax, 4
jb 0x1016187d
mov ecx, dword [ebx + 0x16c]
cmp ecx, 0xf
ja 0x1016187d
cmp eax, ecx
ja 0x1016187d
mov dword [esi + 0x12c], eax
mov eax, dword [ebx + 0x16c]
mov dword [esi + 0x130], eax
jmp 0x10161880
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 0x10161910
push 0x1a
pop eax
mov dword [esi + 0x88], eax
cmp dword [ebx + 0xdc], 0x10e
je 0x10161925
or eax, 4
mov dword [esi + 0x88], eax
push 0
mov edx, 0x10029068
mov ecx, dword [ebx + 0x5c]
call fcn.1015f2cb
test eax, eax
jne 0x1016195d
push eax
mov edx, 0x10029060
mov ecx, dword [ebx + 0x5c]
call fcn.1015f2cb
test eax, eax
je 0x10161967
push 0
mov edx, 0x10029084
mov ecx, dword [ebx + 0x5c]
call fcn.1015f2cb
test eax, eax
je 0x10161967
or dword [esi + 0x88], 0x80
xor eax, eax
cmp dword [ebx + 0xec], eax
je 0x1016197b
or dword [esi + 0x88], 0x100
cmp dword [ebx + 0xbc], edi
jbe 0x101619a8
cmp dword [ebx + 0x148], eax
je 0x10161995
cmp dword [ebx + 0x14c], eax
jne 0x101619a8
jmp 0x1016199e
cmp dword [ebx + 0x40], 0xbc3
jae 0x101619a8
or dword [esi + 0x88], 0x800
cmp dword [ebx + 0x150], eax
je 0x101619ba
or dword [esi + 0x88], 0x1000
cmp dword [ebx + 0x164], eax
je 0x101619cc
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.1015f4c7
mov edi, dword [ebx + 0x74]
test edi, edi
je 0x10161a3a
mov edx, dword [edi + 8]
test edx, edx
jne 0x101619fb
and dword [edi + 0xc], edx
jmp 0x10161a36
inc edx
mov ecx, ebx
call fcn.1015f19e
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 0x101619eb
mov ecx, ebx
call fcn.1015f64f
lea eax, [ebx + 0x7c]
push eax
lea edx, [esi + 0x50]
mov ecx, ebx
call fcn.1015f5a9
lea eax, [ebx + 0x84]
push eax
lea edx, [esi + 0x58]
mov ecx, ebx
call fcn.1015f5a9
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.1016021b
mov ecx, ebx
call fcn.1015f8a7
push dword [ebx + 0x64]
mov edi, dword [ebp - 0x3c]
lea edx, [edi + 0xc4]
mov ecx, ebx
call fcn.1015fdce
push dword [ebx + 0x68]
lea edx, [edi + 0xcc]
mov ecx, ebx
call fcn.1015fdce
mov ecx, ebx
call fcn.101602a8
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 0x10161b46
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x38]
add eax, ecx
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x10161c16
xor edx, edx
movzx eax, byte [ecx + edx]
mov esi, 0x1002908c
cmp al, byte [esi + edx]
mov esi, dword [ebp - 0x44]
jne 0x10161c13
inc edx
cmp edx, 0xc
jne 0x10161b25
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.1015f5a9
lea eax, [ebx + 0x4c]
push eax
lea edx, [edi + 0x20]
mov ecx, ebx
call fcn.1015f5a9
test byte [esi + 0x88], 0x20
je 0x10161b82
mov eax, dword [edi + 0x2c]
test al, 3
jne 0x10161b78
or eax, 2
mov dword [edi + 0x2c], eax
test al, 2
jne 0x10161b82
or eax, 4
mov dword [edi + 0x2c], eax
lea eax, [ebx + 0x8c]
push eax
lea edx, [edi + 0x90]
mov ecx, ebx
call fcn.1015f5a9
lea eax, [ebx + 0x94]
push eax
lea edx, [edi + 0x98]
mov ecx, ebx
call fcn.1015f5a9
lea eax, [ebx + 0x9c]
push eax
lea edx, [edi + 0xa0]
mov ecx, ebx
call fcn.1015f5a9
lea eax, [ebx + 0xa4]
push eax
lea edx, [edi + 0xa8]
mov ecx, ebx
call fcn.1015f5a9
lea eax, [ebx + 0xac]
push eax
lea edx, [edi + 0xb0]
mov ecx, ebx
call fcn.1015f5a9
mov ecx, ebx
call fcn.10160d9f
mov ecx, ebx
call fcn.10160f5a
mov ecx, ebx
call fcn.10161059
cmp dword [ebx + 0x78], 0
je 0x10161c22
cmp dword [ebx + 0xb8], 0xffffffff
je 0x10161c22
mov ecx, ebx
call fcn.10161476
jmp 0x10161c29
mov edx, dword [ebp - 0x40]
inc edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x54
jmp 0x10161b05
mov ecx, ebx
call fcn.1016112b
push dword [ebx + 0x54]
push dword [ebx + 0x58]
lea edx, [esi + 0xb4]
mov ecx, ebx
call fcn.1015f4c7
mov eax, dword [ebx + 0x160]
lea edx, [esi + 0x134]
test eax, eax
jne 0x10161c50
and dword [edx], eax
jmp 0x10161c58
push eax
mov ecx, ebx
call fcn.1015f322
mov eax, dword [ebx + 0x354]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 1
jmp 0x10161c73
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x4c]
call fcn.1016778c
ret