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

Disassembly:
sub esp, 0x8a8
mov eax, dword [esp + 0x8ac]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
push esi
push edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ebx
je 0x4b8ec6
mov esi, dword [eax + 0x54]
cmp esi, ebx
je 0x4b8ebf
xor ecx, ecx
mov eax, esi
mov edx, 0x62
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x78], edx
je 0x4b8e75
mov eax, dword [eax + 8]
inc ecx
cmp eax, ebx
jne 0x4b8e65
cmp ecx, 0x100
mov eax, dword [eax + 0x1c]
mov dword [esp + 0x14], eax
jle 0x4b8e89
mov ecx, 0x100
dec ecx
js 0x4b8ec6
lea edi, [ecx + 1]
nop
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x24]
call fcn.00476c20
mov esi, dword [esi + 8]
mov dword [esp + ebp*8 + 0xb8], eax
mov dword [esp + ebp*8 + 0xbc], 0xffffffff
inc ebp
dec edi
jne 0x4b8e90
mov dword [esp + 0x10], ebp
jmp 0x4b8ec6
mov edx, dword [eax + 0x48]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x560]
cmp eax, ebx
mov esi, 1
je 0x4b8ee4
mov cl, byte [eax + 0x38]
test cl, cl
je 0x4b8ee4
mov ecx, esi
jmp 0x4b8ee6
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x34], ecx
je 0x4b8ef8
cmp byte [eax + 0x39], 6
mov dword [esp + 0x24], ebx
jb 0x4b8efc
mov dword [esp + 0x24], esi
xor edx, edx
cmp ecx, ebx
sete dl
mov dword [esp + 0x1c], esi
mov esi, dword [esp + 0x8c0]
cmp byte [esi], 0x2f
mov dword [esp + 0x20], edx
jne 0x4b8f26
xor ebp, ebp
mov dword [esp + 0x10], ebp
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
inc esi
mov al, byte [esi]
test al, al
je 0x4b9110
xor edx, edx
xor edi, edi
test al, al
mov dword [esp + 0x10], edx
je 0x4b8f88
mov ecx, dword [esp + 0x20]
cmp edi, 0x7f
jge 0x4b8f88
cmp al, 0x2f
je 0x4b8f83
cmp al, 0x3a
jne 0x4b8f5a
cmp byte [esi + 1], 0x2f
je 0x4b8f5a
inc esi
cmp edi, edx
jne 0x4b8f88
jmp 0x4b8f7b
cmp ecx, edx
je 0x4b8f6d
cmp al, 0x2e
jne 0x4b8f6d
cmp byte [esi + 1], al
jne 0x4b8f87
xor ecx, ecx
mov dword [esp + 0x20], ecx
cmp edi, edx
jne 0x4b8f75
mov dword [esp + 0x10], esi
mov byte [esp + edi + 0x38], al
inc edi
inc esi
mov al, byte [esi]
test al, al
jne 0x4b8f40
jmp 0x4b8f88
mov dword [esp + 0x20], edx
inc esi
cmp dword [esp + 0x1c], edx
mov byte [esp + edi + 0x38], 0
je 0x4b900f
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc74]
mov bl, byte [ecx + 0x215]
test bl, bl
mov dword [esp + 0x1c], 0
push str._flash
je 0x4b8fc0
lea edx, [esp + 0x3c]
push edx
call fcn.0043ba80
jmp 0x4b8fca
lea eax, [esp + 0x3c]
push eax
call fcn.0043b900
add esp, 8
test eax, eax
jne 0x4b8ff7
test bl, bl
push str._level
je 0x4b8fe6
lea ecx, [esp + 0x3c]
push ecx
call fcn.0043ba80
jmp 0x4b8ff0
lea edx, [esp + 0x3c]
push edx
call fcn.0043b900
add esp, 8
test eax, eax
je 0x4b900f
push eax
call fcn.0043bba0
add esp, 4
test eax, eax
jl 0x4b900f
mov dword [esp + 0x14], eax
xor ebp, ebp
jmp 0x4b9102
mov ebx, dword [esp + 0x34]
test ebx, ebx
jne 0x4b9052
mov al, byte [esp + 0x38]
cmp al, 0x5f
jne 0x4b9056
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0xc74]
movzx edx, byte [ecx + 0x215]
push edx
lea eax, [esp + 0x3c]
push str._root
push eax
call fcn.0043bb20
add esp, 0xc
test al, al
je 0x4b9052
xor ebp, ebp
mov dword [esp + 0x1c], ebp
jmp 0x4b9102
mov al, byte [esp + 0x38]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x4b909e
cmp al, 0x5f
jne 0x4b909e
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc74]
movzx eax, byte [edx + 0x215]
push eax
lea ecx, [esp + 0x3c]
push str._global
push ecx
call fcn.0043bb20
add esp, 0xc
test al, al
je 0x4b909a
xor ebp, ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x14], 0x3e7f
jmp 0x4b9102
mov al, byte [esp + 0x38]
cmp al, 0x2e
jne 0x4b90b0
cmp byte [esp + 0x39], al
jne 0x4b90b0
mov cl, byte [esp + 0x3a]
test cl, cl
je 0x4b90fd
test ebx, ebx
jne 0x4b90e0
cmp al, 0x5f
jne 0x4b90e0
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0xc74]
movzx ecx, byte [eax + 0x215]
push ecx
lea edx, [esp + 0x3c]
push str._parent
push edx
call fcn.0043bb20
add esp, 0xc
test al, al
jne 0x4b90fd
cmp ebp, 0x100
jge 0x4b9102
mov eax, dword [esp + 0x10]
mov dword [esp + ebp*8 + 0xb8], eax
mov dword [esp + ebp*8 + 0xbc], edi
inc ebp
jmp 0x4b9102
test ebp, ebp
je 0x4b9102
dec ebp
mov al, byte [esi]
test al, al
jne 0x4b8f30
mov dword [esp + 0x10], ebp
mov edi, dword [esp + 0x14]
xor esi, esi
cmp edi, 0x3e7f
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x28]
jne 0x4b913a
push str._global
call fcn.0043b850
jmp 0x4b9150
push str._level
call fcn.0043b850
push 0xa
push edi
lea ecx, [esp + 0x30]
call fcn.0043b530
cmp ebp, esi
jle 0x4b91b7
lea ebx, [ebp - 1]
cmp esi, ebx
setge cl
dec cl
and cl, 0xf5
add cl, 0x3a
push ecx
lea ecx, [esp + 0x2c]
call fcn.0043b490
mov eax, dword [esp + esi*8 + 0xbc]
cmp eax, 0xffffffff
mov edi, dword [esp + esi*8 + 0xb8]
je 0x4b919f
test eax, eax
jle 0x4b91b2
mov ebp, eax
xor eax, eax
mov al, byte [edi]
lea ecx, [esp + 0x28]
push eax
call fcn.0043b490
inc edi
dec ebp
jne 0x4b9187
mov ebp, dword [esp + 0x10]
jmp 0x4b91b2
push edi
lea ecx, [esp + 0x2c]
call fcn.0043b850
push edi
call fcn.005ddc00
add esp, 4
inc esi
cmp esi, ebp
jl 0x4b9157
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x4b91c4
mov eax, 0x5f6cb3
push eax
call fcn.0043bcb0
mov edx, dword [esp + 0x2c]
push edx
mov esi, eax
call fcn.005ddc00
add esp, 8
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x8a8
ret 8