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

Disassembly:
push 0x40
push 0x10191100
call fcn.101645bc
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.1015be09
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.1015e193
xor edx, edx
xor edi, edi
inc edi
cmp dword [ebx + 0x1c], edx
je 0x1015e2e7
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x24], edx
je 0x1015e2ef
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x2c], edx
jne 0x1015e2f7
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x4c], edx
jne 0x1015e2ff
mov dword [ebx + 0x14], edi
cmp dword [ebx + 0x3c], edx
jne 0x1015e307
mov dword [ebx + 0x14], edi
mov eax, dword [ebx + 0xbc]
test eax, eax
jne 0x1015e31c
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 0x1015e33b
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 0x1015e373
sub ecx, 1
je 0x1015e36b
sub ecx, 1
je 0x1015e363
sub ecx, 1
jne 0x1015e373
mov eax, 0x3a4
mov dword [ebp - 0x34], eax
jmp 0x1015e37c
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x34], eax
jmp 0x1015e393
mov eax, 0x4e4
mov dword [ebp - 0x34], eax
cmp eax, 0xfffffffe
je 0x1015e390
test eax, eax
je 0x1015e390
lea ecx, [ebp - 0x30]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCPInfo]
test eax, eax
jne 0x1015e390
or eax, 0xffffffff
jmp 0x1015e366
mov eax, dword [ebp - 0x34]
mov dword [ebx + 0xb8], eax
mov ecx, ebx
call fcn.1015cdd6
cmp dword [ebp - 0x50], 0
je 0x1015e3b0
mov dword [esi + 0x128], edi
mov edx, edi
jmp 0x1015e3bc
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 0x1015e3e5
mov dword [esi + 0x3c], 0x270f
jmp 0x1015e3f7
mov eax, dword [ebx + 0x158]
test eax, eax
je 0x1015e3f4
mov dword [esi + 0x3c], eax
jmp 0x1015e3f7
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 0x1015e43a
cmp dword [ebx + 0x16c], eax
je 0x1015e465
cmp eax, 4
jb 0x1015e462
mov ecx, dword [ebx + 0x16c]
cmp ecx, 0xf
ja 0x1015e462
cmp eax, ecx
ja 0x1015e462
mov dword [esi + 0x12c], eax
mov eax, dword [ebx + 0x16c]
mov dword [esi + 0x130], eax
jmp 0x1015e465
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 0x1015e4f5
push 0x1a
pop eax
mov dword [esi + 0x88], eax
cmp dword [ebx + 0xdc], 0x10e
je 0x1015e50a
or eax, 4
mov dword [esi + 0x88], eax
push 0
mov edx, 0x100294a4
mov ecx, dword [ebx + 0x5c]
call fcn.1015bf31
test eax, eax
jne 0x1015e542
push eax
mov edx, 0x100294c8
mov ecx, dword [ebx + 0x5c]
call fcn.1015bf31
test eax, eax
je 0x1015e54c
push 0
mov edx, 0x100294c0
mov ecx, dword [ebx + 0x5c]
call fcn.1015bf31
test eax, eax
je 0x1015e54c
or dword [esi + 0x88], 0x80
xor eax, eax
cmp dword [ebx + 0xec], eax
je 0x1015e560
or dword [esi + 0x88], 0x100
cmp dword [ebx + 0xbc], edi
jbe 0x1015e58d
cmp dword [ebx + 0x148], eax
je 0x1015e57a
cmp dword [ebx + 0x14c], eax
jne 0x1015e58d
jmp 0x1015e583
cmp dword [ebx + 0x40], 0xbc3
jae 0x1015e58d
or dword [esi + 0x88], 0x800
cmp dword [ebx + 0x150], eax
je 0x1015e59f
or dword [esi + 0x88], 0x1000
cmp dword [ebx + 0x164], eax
je 0x1015e5b1
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.1015c129
mov edi, dword [ebx + 0x74]
test edi, edi
je 0x1015e61f
mov edx, dword [edi + 8]
test edx, edx
jne 0x1015e5e0
and dword [edi + 0xc], edx
jmp 0x1015e61b
inc edx
mov ecx, ebx
call fcn.1015be09
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 0x1015e5d0
mov ecx, ebx
call fcn.1015c2af
lea eax, [ebx + 0x7c]
push eax
lea edx, [esi + 0x50]
mov ecx, ebx
call fcn.1015c209
lea eax, [ebx + 0x84]
push eax
lea edx, [esi + 0x58]
mov ecx, ebx
call fcn.1015c209
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.1015ce65
mov ecx, ebx
call fcn.1015c50d
push dword [ebx + 0x64]
mov edi, dword [ebp - 0x3c]
lea edx, [edi + 0xc4]
mov ecx, ebx
call fcn.1015ca20
push dword [ebx + 0x68]
lea edx, [edi + 0xcc]
mov ecx, ebx
call fcn.1015ca20
mov ecx, ebx
call fcn.1015cef2
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 0x1015e72b
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x38]
add eax, ecx
neg ecx
sbb ecx, ecx
and ecx, eax
je 0x1015e7fb
xor edx, edx
movzx eax, byte [ecx + edx]
mov esi, 0x100294f0
cmp al, byte [esi + edx]
mov esi, dword [ebp - 0x44]
jne 0x1015e7f8
inc edx
cmp edx, 0xc
jne 0x1015e70a
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.1015c209
lea eax, [ebx + 0x4c]
push eax
lea edx, [edi + 0x20]
mov ecx, ebx
call fcn.1015c209
test byte [esi + 0x88], 0x20
je 0x1015e767
mov eax, dword [edi + 0x2c]
test al, 3
jne 0x1015e75d
or eax, 2
mov dword [edi + 0x2c], eax
test al, 2
jne 0x1015e767
or eax, 4
mov dword [edi + 0x2c], eax
lea eax, [ebx + 0x8c]
push eax
lea edx, [edi + 0x90]
mov ecx, ebx
call fcn.1015c209
lea eax, [ebx + 0x94]
push eax
lea edx, [edi + 0x98]
mov ecx, ebx
call fcn.1015c209
lea eax, [ebx + 0x9c]
push eax
lea edx, [edi + 0xa0]
mov ecx, ebx
call fcn.1015c209
lea eax, [ebx + 0xa4]
push eax
lea edx, [edi + 0xa8]
mov ecx, ebx
call fcn.1015c209
lea eax, [ebx + 0xac]
push eax
lea edx, [edi + 0xb0]
mov ecx, ebx
call fcn.1015c209
mov ecx, ebx
call fcn.1015d99b
mov ecx, ebx
call fcn.1015db5c
mov ecx, ebx
call fcn.1015dc53
cmp dword [ebx + 0x78], 0
je 0x1015e807
cmp dword [ebx + 0xb8], 0xffffffff
je 0x1015e807
mov ecx, ebx
call fcn.1015e068
jmp 0x1015e80e
mov edx, dword [ebp - 0x40]
inc edx
mov ecx, dword [ebp - 0x48]
add ecx, 0x54
jmp 0x1015e6ea
mov ecx, ebx
call fcn.1015dd1f
push dword [ebx + 0x54]
push dword [ebx + 0x58]
lea edx, [esi + 0xb4]
mov ecx, ebx
call fcn.1015c129
mov eax, dword [ebx + 0x160]
lea edx, [esi + 0x134]
test eax, eax
jne 0x1015e835
and dword [edx], eax
jmp 0x1015e83d
push eax
mov ecx, ebx
call fcn.1015bf88
mov eax, dword [ebx + 0x354]
mov ecx, dword [ebp - 0x38]
mov dword [ecx], eax
mov dword [ebp - 0x4c], 1
jmp 0x1015e858
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret