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

Disassembly:
push 0xffffffffffffffff
push 0x4fdaf8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov eax, dword [esp + 0x68]
push ebp
push eax
lea ecx, [esp + 8]
call fcn.00401fd0
mov edx, dword [esp + 4]
mov ecx, dword [edx - 0xc]
xor ebp, ebp
cmp ecx, ebp
mov dword [esp + 0x64], ebp
je 0x47ea3d
lea eax, [ecx - 1]
cmp eax, ebp
jl 0x47ed31
cmp eax, ecx
jg 0x47ed31
mov al, byte [eax + edx]
cmp al, 0x5c
je 0x47ea3d
push 0x5c
lea ecx, [esp + 8]
call fcn.00408de0
push ebx
push esi
call fcn.004e5159
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x6c], 1
call fcn.004e3ca5
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 2
call fcn.004e3ec6
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
push eax
call fcn.004013d0
add eax, 0x10
add esp, 4
mov dword [esp + 0x10], eax
cmp dword [esp + 0x7c], ebp
mov byte [esp + 0x6c], 3
je 0x47eb4f
push 3
push 0x50c140
lea ecx, [esp + 0x18]
call fcn.00401bb0
lea ecx, [esp + 0x4c]
call fcn.004caf2a
mov edx, dword [esp + 0x10]
push ebp
mov bl, 4
push edx
lea ecx, [esp + 0x54]
mov byte [esp + 0x74], bl
call fcn.004cafbd
cmp eax, ebp
je 0x47eb41
lea ecx, [esp + 0x4c]
call fcn.004cae0a
mov esi, eax
mov eax, dword [esp + 0x4c]
push 0x10
lea ecx, [esp + 0x50]
call dword [eax + 0x38]
test eax, eax
je 0x47eb3d
lea ecx, [esp + 0x4c]
call fcn.004caef1
test eax, eax
jne 0x47eb3d
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.004cb146
mov edx, dword [esp + 0x2c]
push eax
push edx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x74], 5
call fcn.004e3ec6
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x6c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47eb3d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp esi, ebp
jne 0x47ead0
lea ecx, [esp + 0x4c]
mov byte [esp + 0x6c], 3
call fcn.004caf4e
push edi
lea ecx, [esp + 0x3c]
call fcn.004e3ca5
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x3c]
push eax
push 0x3b
push ecx
mov byte [esp + 0x7c], 6
call fcn.0047e170
mov ebx, dword [esp + 0x3c]
add esp, 0xc
cmp eax, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ebx
jbe 0x47ec96
mov esi, dword [esp + 0x84]
lea ecx, [ecx]
xor edi, edi
test ebx, ebx
jbe 0x47ec8d
lea ebx, [ebx]
lea ecx, [esp + 0x50]
call fcn.004caf2a
test ebp, ebp
mov byte [esp + 0x70], 7
jl 0x47ed3b
cmp ebp, dword [esp + 0x44]
jge 0x47ed3b
test edi, edi
jl 0x47ed3b
cmp edi, dword [esp + 0x30]
jge 0x47ed3b
mov edx, dword [esp + 0x40]
mov eax, dword [edx + ebp*4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + edi*4]
push eax
push edx
lea eax, [esp + 0x20]
push str._s_s
push eax
call fcn.00401c40
mov ecx, dword [esp + 0x28]
add esp, 0x10
push 0
push ecx
lea ecx, [esp + 0x58]
call fcn.004cafbd
test eax, eax
je 0x47ec72
jmp 0x47ec10
lea ecx, [esp + 0x50]
call fcn.004cae0a
lea ecx, [esp + 0x50]
mov ebx, eax
call fcn.004caef1
test eax, eax
jne 0x47ec6a
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x54]
call fcn.004cb146
mov ecx, dword [esi + 8]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0x78], 8
call fcn.004e3ec6
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x70], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ec6a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test ebx, ebx
jne 0x47ec10
mov ebx, dword [esp + 0x20]
lea ecx, [esp + 0x50]
mov byte [esp + 0x70], 6
call fcn.004caf4e
inc edi
cmp edi, ebx
jb 0x47eba0
mov eax, dword [esp + 0x24]
inc ebp
cmp ebp, eax
jb 0x47eb90
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70], 3
call fcn.004e3cf7
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x70], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ecc7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea ecx, [esp + 0x28]
mov byte [esp + 0x70], 1
call fcn.004e3cf7
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x70], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ecf8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov dword [esp + 0x70], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47ed1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebx
pop ebp
mov dword fs:[0], ecx
add esp, 0x64
ret
push 0x80070057
call fcn.00401110
jmp fcn.004e2e19