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

Disassembly:
sub esp, 0x49c
push ebx
push ebp
mov ebp, ecx
xor ebx, ebx
push esi
push edi
cmp dword [ebp + 0x14], ebx
je 0x47eb15
pop edi
pop esi
pop ebp
mov eax, 0x40000
pop ebx
add esp, 0x49c
ret 0x10
mov al, byte [ebp + 0x2c]
test al, al
je 0x47eb2e
pop edi
pop esi
pop ebp
mov eax, 0x50000
pop ebx
add esp, 0x49c
ret 0x10
mov eax, dword [ebp]
mov edx, dword [esp + 0x4bc]
cmp eax, ebx
mov dword [esp + 0x2c], ebx
je 0x47eb4d
cmp edx, 4
je 0x47eb4d
mov dword [esp + 0x2c], 0xc
mov edi, dword [esp + 0x4b0]
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x3a8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x14], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov al, byte [esp + 0x3a8]
test al, al
je 0x47f27f
lea eax, [esp + 0x3a8]
cmp byte [eax], 0x5c
jne 0x47eb9c
mov byte [eax], 0x2f
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x47eb94
cmp edx, 4
sete dl
test dl, dl
mov byte [esp + 0x12], dl
je 0x47ebd2
lea edi, [esp + 0x3a8]
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x13], 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp byte [esp + ecx + 0x3a7], 0x2f
jne 0x47ebd7
mov byte [esp + 0x13], 0
test dl, dl
mov dword [esp + 0x14], 8
jne 0x47ebf7
lea ecx, [esp + 0x3a8]
push ecx
call fcn.0047de00
add esp, 4
test al, al
je 0x47ebfb
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x4bc]
cmp eax, 2
jne 0x47ec18
mov edx, dword [esp + 0x4b4]
mov ecx, ebp
push edx
call fcn.0047e4e0
jmp 0x47ec64
cmp eax, 1
jne 0x47ec36
mov eax, dword [esp + 0x4b8]
mov ecx, dword [esp + 0x4b4]
push eax
push ecx
mov ecx, ebp
call fcn.0047e570
jmp 0x47ec64
cmp eax, 3
jne 0x47ec54
mov edx, dword [esp + 0x4b8]
mov eax, dword [esp + 0x4b4]
push edx
push eax
mov ecx, ebp
call fcn.0047e6c0
jmp 0x47ec64
cmp eax, 4
jne 0x47f27f
mov ecx, ebp
call fcn.0047e7b0
cmp eax, ebx
jne 0x47f284
mov edi, 0x5e2540
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x80]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x3a4], ebx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x190]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x3a8]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x190]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov al, byte [esp + 0x13]
not ecx
dec ecx
test al, al
mov dword [esp + 0x60], ecx
je 0x47ed19
mov edi, 0x5c1844
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x190]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
inc dword [esp + 0x60]
mov edi, 0x5e2540
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x294]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov ax, 8
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x68]
mov dword [esp + 0x18c], ebx
mov dword [esp + 0x50], ecx
mov ecx, dword [ebp]
cmp ecx, ebx
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x398], 1
mov dword [esp + 0x3a0], ebx
mov word [esp + 0x72], bx
mov word [esp + 0x48], 0xb17
mov word [esp + 0x4a], 0x14
mov dword [esp + 0x54], ebx
mov word [esp + 0x4c], ax
je 0x47ed9e
mov cl, byte [esp + 0x12]
test cl, cl
jne 0x47ed9e
mov ax, 9
mov word [esp + 0x4c], ax
mov word [esp + 0x74], ax
mov eax, dword [esp + 0x14]
cmp eax, ebx
mov word [esp + 0x4e], ax
jne 0x47edc3
mov eax, dword [ebp + 0x70]
cmp eax, ebx
jl 0x47edc3
mov edx, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x58], eax
jmp 0x47edc7
mov dword [esp + 0x58], ebx
mov eax, dword [ebp + 0x70]
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x4c]
mov esi, dword [ebp + 0x58]
mov edi, dword [ebp + 0x5c]
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x78], ecx
add edx, eax
lea eax, [esp + 0x18]
mov dword [esp + 0x7c], edx
mov dl, byte [ebp + 0x58]
lea ecx, [esp + 0x30]
mov dword [esp + 0x184], eax
mov dword [esp + 0x188], ecx
mov byte [esp + 0x1d], dl
mov ecx, 8
mov eax, esi
mov edx, edi
mov word [esp + 0x70], 0
mov dword [esp + 0x64], 0x11
mov dword [esp + 0x68], 9
mov byte [esp + 0x18], 0x55
mov byte [esp + 0x19], 0x54
mov byte [esp + 0x1a], 0xd
mov byte [esp + 0x1b], 0
mov byte [esp + 0x1c], 7
call fcn.004d1a10
mov byte [esp + 0x1e], al
mov ecx, 0x10
mov eax, esi
mov edx, edi
call fcn.004d1a10
mov byte [esp + 0x1f], al
mov ecx, 0x18
mov eax, esi
mov edx, edi
call fcn.004d1a10
mov esi, dword [ebp + 0x50]
mov edi, dword [ebp + 0x54]
mov bl, al
mov al, byte [ebp + 0x50]
mov byte [esp + 0x21], al
mov ecx, 8
mov eax, esi
mov edx, edi
mov byte [esp + 0x20], bl
call fcn.004d1a10
mov byte [esp + 0x22], al
mov ecx, 0x10
mov eax, esi
mov edx, edi
call fcn.004d1a10
mov byte [esp + 0x23], al
mov ecx, 0x18
mov eax, esi
mov edx, edi
call fcn.004d1a10
mov cl, byte [ebp + 0x60]
mov esi, dword [ebp + 0x60]
mov edi, dword [ebp + 0x64]
mov byte [esp + 0x24], al
mov byte [esp + 0x25], cl
mov ecx, 8
mov eax, esi
mov edx, edi
call fcn.004d1a10
mov byte [esp + 0x26], al
mov ecx, 0x10
mov eax, esi
mov edx, edi
call fcn.004d1a10
mov byte [esp + 0x27], al
mov ecx, 0x18
mov eax, esi
mov edx, edi
call fcn.004d1a10
mov edx, dword [esp + 0x18]
mov byte [esp + 0x28], al
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x30], edx
push ebp
lea ecx, [esp + 0x4c]
push fcn.0047e2e0
push ecx
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], bl
mov byte [esp + 0x3e], 5
call fcn.0047d290
add esp, 0xc
test eax, eax
je 0x47ef3b
mov ecx, ebp
call fcn.0047e960
pop edi
pop esi
pop ebp
mov eax, 0x400
pop ebx
add esp, 0x49c
ret 0x10
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x64]
lea ecx, [eax + edx + 0x1e]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
add edx, ecx
test eax, eax
mov dword [ebp + 0x18], edx
je 0x47ef6d
mov ecx, ebp
call fcn.0047e960
mov eax, dword [ebp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x49c
ret 0x10
mov esi, dword [ebp]
lea edi, [ebp + 0x30]
test esi, esi
mov dword [edi], 0x12345678
mov dword [ebp + 0x34], 0x23456789
mov dword [ebp + 0x38], 0x34567890
je 0x47ef9e
mov al, byte [esi]
test al, al
je 0x47ef9e
push eax
push edi
call fcn.0047dd50
add esp, 8
inc esi
jne 0x47ef8b
mov al, byte [0x6195c0]
test al, al
jne 0x47efc1
call dword [0x4e1170]
mov esi, eax
call dword [0x4e030c]
xor esi, eax
push esi
call dword [0x4e1074]
add esp, 4
mov ebx, dword [0x4e106c]
xor esi, esi
call ebx
sar eax, 7
mov byte [esp + esi + 0x3c], al
inc esi
cmp esi, 0xc
jl 0x47efc9
mov edx, dword [esp + 0x50]
shr edx, 8
mov byte [esp + 0x47], dl
xor esi, esi
mov al, byte [esp + esi + 0x3c]
push eax
push edi
call fcn.0047ddd0
add esp, 8
mov byte [esp + esi + 0x3c], al
inc esi
cmp esi, 0xc
jl 0x47efe5
mov eax, dword [ebp]
mov bl, byte [esp + 0x12]
test eax, eax
je 0x47f025
test bl, bl
jne 0x47f025
lea ecx, [esp + 0x3c]
push 0xc
push ecx
push ebp
call fcn.0047e2e0
mov eax, dword [ebp + 0x18]
add esp, 0xc
add eax, 0xc
mov dword [ebp + 0x18], eax
mov eax, dword [ebp]
xor esi, esi
cmp eax, esi
je 0x47f039
test bl, bl
jne 0x47f039
mov eax, 1
jmp 0x47f03b
xor eax, eax
test bl, bl
mov byte [ebp + 0x2d], al
jne 0x47f06a
mov edi, dword [esp + 0x14]
cmp edi, 8
jne 0x47f05b
lea edx, [esp + 0x48]
mov ecx, ebp
push edx
call fcn.0047e9c0
mov esi, eax
jmp 0x47f074
cmp edi, esi
jne 0x47f074
mov ecx, ebp
call fcn.0047ea90
mov esi, eax
jmp 0x47f074
mov edi, dword [esp + 0x14]
mov dword [ebp + 0x90], esi
mov ecx, ebp
mov byte [ebp + 0x2d], 0
call fcn.0047e960
mov ecx, dword [ebp + 0x90]
mov eax, dword [ebp + 0x18]
add eax, ecx
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x47f284
test esi, esi
je 0x47f0ae
pop edi
pop esi
pop ebp
mov eax, 0x400
pop ebx
add esp, 0x49c
ret 0x10
mov eax, dword [esp + 0x2c]
mov edx, dword [ebp + 0x78]
add eax, ecx
mov ecx, dword [esp + 0x58]
cmp ecx, eax
mov dword [esp + 0x58], eax
mov eax, dword [ebp + 0x70]
mov dword [esp + 0x54], edx
mov dword [esp + 0x5c], eax
mov al, byte [ebp + 0x1c]
sete cl
test al, al
je 0x47f17b
cmp dword [ebp], 0
je 0x47f0e8
test bl, bl
je 0x47f17b
mov al, byte [esp + 0x4c]
mov word [esp + 0x4e], di
test al, 1
jne 0x47f0fc
and word [esp + 0x4c], 0xfff7
mov edx, dword [esp + 0x7c]
mov edi, dword [ebp + 0x10]
mov cx, word [esp + 0x4c]
sub edx, edi
mov word [esp + 0x74], cx
push edx
mov ecx, ebp
call fcn.0047e400
test al, al
jne 0x47f12d
pop edi
pop esi
pop ebp
mov eax, 0x2000000
pop ebx
add esp, 0x49c
ret 0x10
push ebp
lea eax, [esp + 0x4c]
push fcn.0047e2e0
push eax
call fcn.0047d290
add esp, 0xc
test eax, eax
je 0x47f156
pop edi
pop esi
pop ebp
mov eax, 0x400
pop ebx
add esp, 0x49c
ret 0x10
mov ecx, dword [ebp + 0x18]
push ecx
mov ecx, ebp
call fcn.0047e400
test al, al
jne 0x47f1ea
pop edi
pop esi
pop ebp
mov eax, 0x2000000
pop ebx
add esp, 0x49c
ret 0x10
cmp word [esp + 0x4e], di
je 0x47f194
pop edi
pop esi
pop ebp
mov eax, 0x4000000
pop ebx
add esp, 0x49c
ret 0x10
test edi, edi
jne 0x47f1ae
test cl, cl
jne 0x47f1ae
pop edi
pop esi
pop ebp
mov eax, 0x4000000
pop ebx
add esp, 0x49c
ret 0x10
push ebp
lea edx, [esp + 0x4c]
push fcn.0047e2e0
push edx
call fcn.0047d530
add esp, 0xc
test eax, eax
je 0x47f1d7
pop edi
pop esi
pop ebp
mov eax, 0x400
pop ebx
add esp, 0x49c
ret 0x10
mov eax, dword [ebp + 0x18]
add eax, 0x10
mov dword [ebp + 0x18], eax
mov ax, word [esp + 0x74]
mov word [esp + 0x4c], ax
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x47f284
mov ecx, dword [esp + 0x68]
push ecx
call fcn.0045ac50
mov ecx, dword [esp + 0x6c]
mov esi, dword [esp + 0x18c]
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x360
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x190], eax
call fcn.0045ac50
mov ecx, 0xd8
lea esi, [esp + 0x50]
mov edi, eax
add esp, 8
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0x44]
test edx, edx
jne 0x47f254
pop edi
mov dword [ebp + 0x44], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x49c
ret 0x10
mov ecx, dword [edx + 0x35c]
test ecx, ecx
je 0x47f26a
mov edx, ecx
mov ecx, dword [edx + 0x35c]
test ecx, ecx
jne 0x47f25e
pop edi
pop esi
mov dword [edx + 0x35c], eax
pop ebp
xor eax, eax
pop ebx
add esp, 0x49c
ret 0x10
mov eax, 0x10000
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x49c
ret 0x10