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

Disassembly:
push 0xffffffffffffffff
push 0x1010c424
mov eax, dword fs:[0]
push eax
sub esp, 0x100
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xf8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x114]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x1c], 0
test edi, edi
jne 0x100476d1
push edx
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], edx
push 0x101360c1
mov byte [ebx], dl
call fcn.10006370
mov dword [esp + 0x11c], edi
mov dword [esp + 0x1c], 1
jmp 0x10047b0f
push ebp
mov ecx, edi
call fcn.10047610
add esp, 4
test eax, eax
jne 0x100477b9
lea esi, [edi + ebp]
mov ecx, edi
cmp esi, edi
je 0x1004770b
lea ecx, [ecx]
mov dl, byte [ecx]
mov al, dl
dec al
cmp al, 0x1e
jbe 0x100477b9
test dl, dl
je 0x100477b9
inc ecx
cmp esi, ecx
jne 0x100476f0
push 0x101382f8
lea ecx, [esp + 0x28]
call fcn.10005e80
mov dword [esp + 0x11c], 1
mov edx, eax
push edi
lea ecx, [esp + 0x40]
call fcn.1004b3b0
add esp, 4
mov byte [esp + 0x11c], 2
mov edx, eax
push 0x101382f8
mov ecx, ebx
call fcn.1004b3b0
add esp, 4
mov dword [esp + 0x1c], 1
mov byte [esp + 0x11c], 1
cmp dword [esp + 0x50], 0x10
jb 0x1004776f
push dword [esp + 0x3c]
call fcn.1005d7c6
add esp, 4
mov dword [esp + 0x50], 0xf
mov dword [esp + 0x4c], 0
mov byte [esp + 0x3c], 0
mov byte [esp + 0x11c], 0
cmp dword [esp + 0x38], 0x10
jb 0x1004779f
push dword [esp + 0x24]
call fcn.1005d7c6
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jmp 0x10047b0f
mov dword [esp + 0x6c], 0
lea eax, [ebp*2 + 3]
mov dword [esp + 0x70], 0
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x11c], 3
mov esi, dword [esp + 0x6c]
cmp esi, eax
ja 0x10047824
cmp dword [esp + 0x70], eax
je 0x10047824
push 1
push eax
lea ecx, [esp + 0x64]
call fcn.10006540
test al, al
je 0x10047824
cmp dword [esp + 0x70], 0x10
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], esi
cmovae eax, dword [esp + 0x5c]
mov byte [eax + esi], 0
push 1
push 0x101382f8
lea ecx, [esp + 0x64]
call fcn.100156a0
add ebp, edi
cmp edi, ebp
je 0x10047a5b
mov edi, edi
mov cl, byte [edi]
movsx eax, cl
add eax, 0xfffffff8
cmp eax, 0x54
ja case.0x10047858.11
movzx eax, byte [eax + 0x10047b5c]
jmp dword [eax*4 + 0x10047b3c]
push 2
push 0x101382e8
lea ecx, [esp + 0x64]
call fcn.100156a0
jmp 0x10047a52
push 2
push 0x101382ec
lea ecx, [esp + 0x64]
call fcn.100156a0
jmp 0x10047a52
push 2
push 0x10138304
lea ecx, [esp + 0x64]
call fcn.100156a0
jmp 0x10047a52
push 2
push 0x10138308
lea ecx, [esp + 0x64]
call fcn.100156a0
jmp 0x10047a52
push 2
push 0x101382fc
lea ecx, [esp + 0x64]
call fcn.100156a0
jmp 0x10047a52
push 2
push 0x10138300
lea ecx, [esp + 0x64]
call fcn.100156a0
jmp 0x10047a52
push 2
push 0x10138314
lea ecx, [esp + 0x64]
call fcn.100156a0
jmp 0x10047a52
mov al, cl
dec al
cmp al, 0x1e
jbe 0x10047916
test cl, cl
je 0x10047916
mov byte [esp + 0x20], cl
lea ecx, [esp + 0x5c]
push dword [esp + 0x20]
push 1
call fcn.10015790
jmp 0x10047a52
push 0x98
lea eax, [esp + 0x78]
push 0
push eax
call fcn.100639b0
add esp, 4
lea ecx, [esp + 0x7c]
call fcn.10048760
mov byte [esp + 0x11c], 4
mov edx, 0x10138318
lea ecx, [esp + 0x74]
call fcn.1004b440
mov esi, eax
test esi, esi
jne 0x10047953
xor ecx, ecx
jmp 0x1004795a
mov eax, dword [esi]
mov ecx, dword [eax + 4]
add ecx, esi
mov eax, dword [ecx + 0x14]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx + 0x14], eax
test esi, esi
jne 0x10047972
xor eax, eax
jmp 0x10047979
mov eax, dword [esi]
mov eax, dword [eax + 4]
add eax, esi
or dword [eax + 0x14], 4
mov eax, dword [esi]
push 0
push 4
mov eax, dword [eax + 4]
mov byte [eax + esi + 0x40], 0x30
lea eax, [esp + 0x44]
push eax
call fcn.100e9732
mov ecx, dword [esi]
add esp, 0xc
push dword [eax + 0xc]
mov ecx, dword [ecx + 4]
push dword [eax + 8]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
movsx eax, byte [edi]
add esp, 0xc
mov ecx, esi
push eax
call fcn.100485e0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x78]
call fcn.10048920
mov byte [esp + 0x11c], 5
lea ecx, [esp + 0x5c]
push 0xffffffffffffffff
push 0
push eax
call fcn.100155e0
mov byte [esp + 0x11c], 4
cmp dword [esp + 0x38], 0x10
jb 0x100479f7
push dword [esp + 0x24]
call fcn.1005d7c6
add esp, 4
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
mov byte [esp + 0x11c], 3
lea ecx, [esp + 0xc4]
call fcn.10048850
lea eax, [esp + 0xc4]
mov dword [esp + 0xc4], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov dword [esp + 0x54], eax
mov byte [esp + 0x11c], 3
push eax
mov dword [esp + 0xc8], vtable.std::ios_base.0
call fcn.100e9785
add esp, 4
inc edi
cmp edi, ebp
jne 0x10047840
push 1
push 0x101382f8
lea ecx, [esp + 0x64]
call fcn.100156a0
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], 0
mov esi, dword [esp + 0x70]
cmp esi, 0x10
jae 0x10047aa1
mov eax, dword [esp + 0x6c]
inc eax
je 0x10047ab8
push eax
lea eax, [esp + 0x60]
push eax
push ebx
call fcn.1005d020
mov esi, dword [esp + 0x7c]
add esp, 0xc
jmp 0x10047ab8
lea eax, [esp + 0x5c]
push eax
push ebx
lea ecx, [esp + 0x23]
call fcn.100073d0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x6c]
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], esi
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov dword [esp + 0x1c], 1
mov byte [esp + 0x11c], 0
cmp dword [esp + 0x70], 0x10
jb 0x10047afa
push dword [esp + 0x5c]
call fcn.1005d7c6
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
mov eax, ebx
mov ecx, dword [esp + 0x114]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xf8]
xor ecx, esp
call fcn.1005d006
add esp, 0x10c
ret