Function at 0x47cbd0
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.0x47cbec
jmp dword [edx*4 + 0x47d098]
mov dword [esp + 0x10], 0x400
jmp case.default.0x47cbec
mov dword [esp + 0x10], 0x800
jmp case.default.0x47cbec
mov dword [esp + 0x10], 0x1000
jmp case.default.0x47cbec
mov dword [esp + 0x10], 0x2000
jmp case.default.0x47cbec
mov dword [esp + 0x10], 0x4000
jmp case.default.0x47cbec
mov dword [esp + 0x10], 0x8000
jmp case.default.0x47cbec
mov dword [esp + 0x10], 0x8000
jmp 0x47cc4b
mov dword [esp + 0x10], 0x10000
jmp case.default.0x47cbec
mov dword [esp + 0x10], 0x10000
mov esi, 1
mov edi, dword [esp + 0x6c]
cmp edi, ebp
je 0x47cc76
mov eax, dword [edi + 0x20]
cmp eax, ebp
je 0x47cc76
mov eax, dword [eax + 0x2c]
mov ecx, dword [eax + 0xb4]
mov eax, dword [ecx + 0x2c]
mov cl, byte [eax + 0x50]
test cl, cl
je 0x47cc76
mov cl, 1
jmp 0x47cc78
xor cl, cl
mov ebx, dword [edi + 0x18]
cmp ebx, ebp
je 0x47cd23
mov eax, dword [ebx + 0x78]
cmp eax, 6
je 0x47cc94
cmp eax, 0x61
jne 0x47cd23
mov eax, dword [esp + 0x10]
cmp eax, ebp
je case.0x47cf18.4
test cl, cl
je 0x47cd09
mov ecx, edi
call fcn.0048df30
test eax, eax
je case.0x47cf18.4
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00401690
add esp, 4
cmp eax, 0xffffffff
je case.0x47cf18.4
push esi
push eax
call fcn.004d9750
add esp, 8
cmp eax, ebp
je case.0x47cf18.4
mov ecx, dword [edi + 0x20]
cmp ecx, ebp
je case.0x47cf18.4
push ebp
push ebp
push eax
call fcn.004a0690
cmp eax, ebp
jl case.0x47cf18.4
mov ecx, dword [edi + 0x20]
push eax
call fcn.004ad820
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.00401a10
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 0x47cd35
mov eax, dword [eax + 0x20]
mov dword [esp + 0x18], eax
mov esi, dword [ebx + 0x70]
cmp esi, ebp
je 0x47ce9f
test cl, cl
jne 0x47cf0b
cmp byte [ebx + 0x7e], 0x22
jne 0x47ce1e
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], 0x7fffffff
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.0049c9d0
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 0x47ce09
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 0x47ce09
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.0047a900
mov esi, dword [esp + 0x20]
test ebp, ebp
je 0x47cea5
mov eax, dword [esp + 0x1c]
add eax, ebp
xor edi, edi
jmp 0x47cd96
cmp edx, 3
jne 0x47ceab
lea ecx, [esp + 0x44]
call fcn.004015f0
mov ecx, dword [ebx + 0x74]
push ecx
push ebp
push esi
lea ecx, [esp + 0x50]
call fcn.0049c9d0
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 0x47ce7c
lea edx, [esp + 0x20]
add eax, 4
push edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], eax
call fcn.0049e5f0
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 0x47ce53
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.0047ab10
jmp 0x47ceab
test cl, cl
jne 0x47cf0b
jmp 0x47ceab
mov edi, dword [esp + 0x6c]
xor ebp, ebp
mov esi, dword [edi + 0x20]
cmp esi, ebp
je 0x47cf0b
mov ecx, dword [esi + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x47cec4
call fcn.004a0d20
cmp eax, 6
jl 0x47cf0b
mov ecx, dword [esi + 0xb4]
call fcn.004ab7b0
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0x47cf0b
push ecx
call fcn.00401690
add esp, 4
cmp eax, 0xffffffff
je 0x47cf0b
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.0047a900
mov eax, dword [esp + 0x70]
cmp eax, 8
ja case.0x47cf18.4
jmp dword [eax*4 + 0x47d0bc]
mov esi, 2
jmp 0x47cf39
mov esi, 4
jmp 0x47cf39
mov esi, 8
jmp 0x47cf39
mov esi, 1
mov eax, dword [ebx]
cmp eax, ebp
je case.0x47cf18.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], 0x7fffffff
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.0049c9d0
mov edi, 1
cmp esi, edi
jle 0x47cfb1
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 0x47cfab
push ebp
lea ecx, [esp + 0x24]
call fcn.0049cc10
shl edi, 1
cmp edi, esi
jl 0x47cf84
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.0x47cf18.4
mov ecx, dword [ebx + 0x68]
push eax
call fcn.0049d9e0
mov edi, eax
cmp edi, ebp
je case.0x47cf18.4
cmp dword [edi + 0x78], 5
jne case.0x47cf18.4
mov ecx, dword [0x745870]
push 0x170
call fcn.0040dc70
cmp eax, ebp
je case.0x47cf18.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.0048a5a0
mov esi, eax
cmp esi, ebp
je case.0x47cf18.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.0049cc10
mov edx, dword [esp + 0x6c]
mov eax, dword [edx + 0x20]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebp
jne 0x47d06e
call fcn.004a0d20
mov ecx, dword [edi + 0x3e4]
mov edx, dword [ecx + 0x78]
mov ecx, dword [edx + 8]
push eax
push esi
call fcn.0048bcb0
dec dword [esi + 0x24]
jne case.0x47cf18.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