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

Disassembly:
sub esp, 0x58
mov edx, dword [esp + 0x60]
push ebx
push ebp
push esi
xor ebp, ebp
xor esi, esi
cmp edx, 8
push edi
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebp
ja case.default.0x47cefc
jmp dword [edx*4 + 0x47d3a8]
mov dword [esp + 0x10], 0x400
jmp case.default.0x47cefc
mov dword [esp + 0x10], 0x800
jmp case.default.0x47cefc
mov dword [esp + 0x10], 0x1000
jmp case.default.0x47cefc
mov dword [esp + 0x10], 0x2000
jmp case.default.0x47cefc
mov dword [esp + 0x10], 0x4000
jmp case.default.0x47cefc
mov dword [esp + 0x10], 0x8000
jmp case.default.0x47cefc
mov dword [esp + 0x10], 0x8000
jmp 0x47cf5b
mov dword [esp + 0x10], 0x10000
jmp case.default.0x47cefc
mov dword [esp + 0x10], 0x10000
mov esi, 1
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x47cf86
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x47cf86
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0xb4]
mov eax, dword [ecx + 0x2c]
mov cl, byte [eax + 0x50]
test cl, cl
je 0x47cf86
mov cl, 1
jmp 0x47cf88
xor cl, cl
mov ebx, dword [edi + 0x18]
cmp ebx, ebp
je 0x47d033
mov eax, dword [ebx + 0x78]
cmp eax, 6
je 0x47cfa4
cmp eax, 0x61
jne 0x47d033
mov eax, dword [esp + 0x10]
cmp eax, ebp
je case.0x47d228.4
test cl, cl
je 0x47d019
mov ecx, edi
call fcn.0048e210
test eax, eax
je case.0x47d228.4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00401620
add esp, 4
cmp eax, 0xffffffff
je case.0x47d228.4
push esi
push eax
call fcn.004d9f40
add esp, 8
cmp eax, ebp
je case.0x47d228.4
mov ecx, dword [edi + 0x20]
cmp ecx, ebp
je case.0x47d228.4
push ebp
push ebp
push eax
call fcn.004a0890
cmp eax, ebp
jl case.0x47d228.4
mov ecx, dword [edi + 0x20]
push eax
call fcn.004adb30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov ecx, dword [edi + 0x20]
push ebp
push ebp
push esi
push ebp
push eax
add ecx, 0x5c
call fcn.004019a0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8
mov eax, dword [edi + 8]
cmp eax, ebp
mov dword [esp + 0x18], ebp
je 0x47d045
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x70]
cmp esi, ebp
je 0x47d1af
test cl, cl
jne 0x47d21b
cmp byte [ebx + 0x7e], 0x22
jne 0x47d12e
mov byte [esp + 0x40], cl
mov ecx, dword [ebx + 0x74]
push ecx
push ebp
push esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], SysStringLen
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
call fcn.0049cc10
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov edi, 1
lea ecx, [eax + esi]
xor edx, edx
mov dword [esp + 0x1c], eax
add eax, 2
test edi, edi
mov dword [esp + 0x24], eax
mov dh, byte [ecx + 1]
mov dl, byte [ecx]
mov ebp, edx
jne 0x47d119
lea ecx, [eax + esi]
add eax, 2
xor edx, edx
mov dword [esp + 0x24], eax
mov dh, byte [ecx + 1]
mov edi, 1
mov dl, byte [ecx]
mov ecx, dword [esp + 0x70]
shl edi, cl
test edi, edx
je 0x47d119
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
sub ecx, eax
push ecx
mov ecx, dword [ebx + 0x80]
push 0
push 0
push 0xffffffffffffffff
push edx
add ecx, eax
push ecx
add eax, esi
push eax
mov eax, dword [esp + 0x30]
mov edx, dword [eax + 0x3e0]
mov ecx, dword [eax + 0x3f8]
push edx
call fcn.0047ab10
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x47d1b5
mov eax, dword [esp + 0x1c]
add eax, ebp
xor edi, edi
jmp 0x47d0a6
cmp edx, 3
jne 0x47d1bb
lea ecx, [esp + 0x44]
call fcn.00401580
mov ecx, dword [ebx + 0x74]
push ecx
push ebp
push esi
lea ecx, [esp + 0x50]
call fcn.0049cc10
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dl, byte [eax + ecx]
inc eax
test dl, dl
mov dword [esp + 0x48], eax
je 0x47d18c
lea edx, [esp + 0x20]
add eax, 4
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
call fcn.0049e7c0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
mov dl, byte [eax + ecx]
inc eax
test dl, dl
mov dword [esp + 0x48], eax
jne 0x47d163
mov edx, dword [esp + 0x4c]
sub edx, eax
push edx
mov edx, dword [esp + 0x1c]
push edx
mov edx, dword [ebx + 0x80]
add edx, eax
add eax, ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
call fcn.0047adc0
jmp 0x47d1bb
test cl, cl
jne 0x47d21b
jmp 0x47d1bb
mov edi, dword [esp + 0x6c]
xor ebp, ebp
mov esi, dword [edi + 0x20]
cmp esi, ebp
je 0x47d21b
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x47d1d4
call fcn.004a0f20
cmp eax, 6
jl 0x47d21b
mov ecx, dword [esi + 0xb4]
call fcn.004aba70
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x47d21b
push ecx
call fcn.00401620
add esp, 4
cmp eax, 0xffffffff
je 0x47d21b
push 0x7fffffff
push ebp
push ebp
push eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x3e0]
push esi
push ebp
push ebp
push ecx
mov ecx, dword [eax + 0x3f8]
call fcn.0047ab10
mov eax, dword [esp + 0x70]
cmp eax, 8
ja case.0x47d228.4
jmp dword [eax*4 + 0x47d3cc]
mov esi, 2
jmp 0x47d249
mov esi, 4
jmp 0x47d249
mov esi, 8
jmp 0x47d249
mov esi, 1
mov eax, dword [ebx]
cmp eax, ebp
je case.0x47d228.4
mov edx, dword [ebx + 4]
push edx
push ebp
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], SysStringLen
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov byte [esp + 0x4c], 0
call fcn.0049cc10
mov edi, 1
cmp esi, edi
jle 0x47d2c1
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add eax, ecx
add ecx, 2
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
test cx, cx
je 0x47d2bb
push ebp
lea ecx, [esp + 0x24]
call fcn.0049ce50
shl edi, 1
cmp edi, esi
jl 0x47d294
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
lea eax, [ecx + edx]
add ecx, 2
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax]
mov eax, ecx
cmp ax, bp
je case.0x47d228.4
mov ecx, dword [ebx + 0x68]
push eax
call fcn.0049dc20
mov edi, eax
cmp edi, ebp
je case.0x47d228.4
cmp dword [edi + 0x78], 5
jne case.0x47d228.4
mov ecx, dword [0x7468a8]
push 0x170
call fcn.0040dc70
cmp eax, ebp
je case.0x47d228.4
mov edx, dword [ebx + 0x68]
mov ecx, dword [edx + 0xb4]
mov edx, dword [ecx + 0x2c]
push edx
mov edx, dword [esp + 0x18]
mov ecx, dword [edx + 0x3e0]
push ecx
mov ecx, eax
call fcn.0048a8a0
mov esi, eax
cmp esi, ebp
je case.0x47d228.4
inc dword [esi + 0x24]
mov edx, dword [ebx + 0x68]
mov eax, dword [edx + 0xb4]
mov ecx, dword [eax + 0x2c]
mov dword [edi + 0x18], ecx
mov dword [esi + 0x38], edi
mov edi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x24]
mov dword [esi + 0x2c], edi
call fcn.0049ce50
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x47d37e
call fcn.004a0f20
mov ecx, dword [edi + 0x3e4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [edx + 8]
push eax
push esi
call fcn.0048bfb0
dec dword [esi + 0x24]
jne case.0x47d228.4
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 8