Function at 0x10001240
Capabilities:
Access peb ldr_data
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
cmp dword [0x10003010], 0
je 0x1000125b
mov eax, 1
jmp 0x100015d1
mov eax, dword fs:[0x30]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0xc]
mov dword [ebp - 8], edx
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
jmp 0x1000128e
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x18], 0
je 0x10001310
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x40], ecx
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
add ecx, 0x78
mov dword [ebp - 0x3c], ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x100012cb
jmp 0x10001286
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
or edx, 0x20202020
cmp edx, 0x6c64746e
je 0x100012f5
jmp 0x10001286
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 4]
or ecx, 0x20202020
cmp ecx, 0x6c642e6c
jne 0x1000130b
jmp 0x10001310
jmp 0x10001286
cmp dword [ebp - 0x28], 0
jne 0x1000131d
xor eax, eax
jmp 0x100015d1
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
add edx, dword [ecx + 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
add ecx, dword [eax + 0x20]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + 0x24]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x20], 0x10003014
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
add eax, dword [edx + ecx*4 - 4]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
movzx edx, word [ecx]
cmp edx, 0x775a
jne 0x100013ba
mov eax, dword [ebp - 0x44]
push eax
call fcn.100010f0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [edx + ecx*8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
movzx edx, word [ecx + eax*2 - 2]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov edx, dword [esi + edx*4]
mov dword [ecx + eax*8 + 4], edx
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x1f4
jne 0x100013ba
jmp 0x100013c5
mov ecx, dword [ebp - 0x14]
sub ecx, 1
mov dword [ebp - 0x14], ecx
jne 0x10001358
mov edx, dword [ebp - 0xc]
mov dword [0x10003010], edx
mov dword [ebp - 0xc], 0
jmp 0x100013e0
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [0x10003010]
sub ecx, 1
cmp dword [ebp - 0xc], ecx
jae 0x100015cc
mov dword [ebp - 0x48], 0
jmp 0x10001404
mov edx, dword [ebp - 0x48]
add edx, 1
mov dword [ebp - 0x48], edx
mov esi, dword [0x10003010]
sub esi, dword [ebp - 0xc]
push str.1340
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
mov edi, eax
push str.2225
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
push str.3017
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push 0x10002190
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push 0x10002198
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
push 0x100021a0
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push str.2764
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
lea eax, [esi + edi - 1]
cmp dword [ebp - 0x48], eax
jae 0x100015c7
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x48]
mov esi, dword [ebp - 0x20]
mov ecx, dword [edx + ecx*8 + 4]
cmp ecx, dword [esi + eax*8 + 0xc]
jbe 0x100015c2
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*8]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + edx*8 + 4]
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + ecx*8 + 8]
mov dword [eax + edx*8], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x20]
mov ecx, dword [esi + ecx*8 + 0xc]
mov dword [eax + edx*8 + 4], ecx
mov esi, dword [ebp - 0x48]
add esi, 1
push str.1979
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
mov edi, eax
push str.2187
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push str.2297
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push str.1875
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
push 0x100021e4
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push 0x100021ec
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
push 0x100021f4
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
push str.1137
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
push 0x10002208
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
push 0x10002210
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push 0x10002218
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
add edi, eax
push str.4108
call dword [sym.imp.MSVCR90.dll__wtoi]
add esp, 4
sub edi, eax
sub esi, edi
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x50]
mov dword [edx + esi*8], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x4c]
mov dword [edx + ecx*8 + 0xc], eax
jmp 0x100013fb
jmp 0x100013d7
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret