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

Disassembly:
sub esp, 0xb4
mov eax, dword [esp + 0xc4]
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
push esi
mov dword [esp + 0xc], ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x28], 2
jne 0x4b4105
mov eax, dword [ecx + 0x694]
cmp eax, ebx
jne 0x4b4105
mov eax, dword [ecx + 0xa48]
cmp eax, ebx
je 0x4b417e
mov eax, dword [eax + 0xb4]
cmp eax, ebx
je 0x4b417e
mov eax, dword [eax + 0x2c]
cmp eax, ebx
je 0x4b417e
mov eax, dword [eax + 0xac]
cmp eax, ebx
je 0x4b417e
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 8]
cmp eax, ebx
mov dword [esp + 0x24], eax
jne 0x4b4128
mov eax, dword [ecx + 0x108]
mov dword [esp + 0x24], eax
cmp dword [esp + 0xc4], ebx
je 0x4b46da
mov esi, dword [esp + 0xc8]
cmp byte [esi], bl
je 0x4b46da
mov ecx, dword [esp + 0xc4]
mov edx, dword [ecx]
push edi
call dword [edx + 8]
test eax, eax
mov edi, 1
je 0x4b4184
mov ecx, dword [esp + 0xc8]
mov eax, dword [ecx]
mov dword [esp + 0x14], ebx
call dword [eax + 8]
mov ebp, dword [eax + 0x54]
cmp ebp, ebx
jne 0x4b4175
mov ebp, dword [esp + 0x28]
mov dword [esp + 0xc8], ebx
jmp 0x4b4188
mov dword [esp + 0x2c], ebx
jmp 0x4b411e
mov dword [esp + 0x14], edi
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x42c]
cmp eax, ebx
mov dword [esp + 0x20], edi
je 0x4b41a3
cmp byte [eax + 0x38], bl
je 0x4b41a3
mov ecx, edi
jmp 0x4b41a5
xor ecx, ecx
cmp eax, ebx
mov dword [esp + 0x40], ecx
je 0x4b41b7
cmp byte [eax + 0x39], 6
mov dword [esp + 0x38], ebx
jb 0x4b41bb
mov dword [esp + 0x38], edi
xor eax, eax
cmp ecx, ebx
mov ecx, dword [edx + 0xa48]
movzx edx, byte [ecx + 0x215]
sete al
mov dword [esp + 0x1c], edx
mov dword [esp + 0x24], eax
cmp dword [esp + 0x14], ebx
jne 0x4b4263
cmp byte [esi], 0x2f
jne 0x4b4263
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4b4253
cmp dword [esp + 0x28], eax
je 0x4b4253
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4b4215
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4b4210
call fcn.00494e90
cmp eax, 6
jg 0x4b4236
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x4b4249
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4b4231
call fcn.00494e90
cmp eax, 6
jle 0x4b4249
mov al, byte [ebp + 0x54]
test al, al
jns 0x4b4249
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0xa7c], ebx
je 0x4b4253
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x4b41f1
inc esi
mov dword [esp + 0xcc], esi
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov al, byte [esi]
cmp al, bl
je 0x4b4699
lea ecx, [ecx]
xor ecx, ecx
cmp al, bl
je 0x4b42e3
cmp ecx, 0x7f
jge 0x4b42e3
cmp al, 0x2f
je 0x4b42d7
test byte [esp + 0xd0], 1
jne 0x4b42a8
cmp al, 0x3a
jne 0x4b42a8
mov esi, dword [esp + 0xcc]
cmp byte [esi + 1], 0x2f
je 0x4b42af
inc esi
cmp ecx, ebx
mov dword [esp + 0xcc], esi
jne 0x4b42e3
jmp 0x4b42cf
mov esi, dword [esp + 0xcc]
cmp dword [esp + 0x24], ebx
je 0x4b42c2
cmp al, 0x2e
jne 0x4b42c2
cmp byte [esi + 1], al
jne 0x4b42db
mov dword [esp + 0x24], ebx
mov byte [esp + ecx + 0x44], al
inc ecx
inc esi
mov dword [esp + 0xcc], esi
mov al, byte [esi]
cmp al, bl
jne 0x4b4276
jmp 0x4b42e3
mov dword [esp + 0x24], ebx
inc esi
mov dword [esp + 0xcc], esi
cmp dword [esp + 0x14], ebx
mov byte [esp + ecx + 0x44], bl
jne 0x4b459f
cmp dword [esp + 0x20], ebx
mov edi, dword [esp + 0x10]
je 0x4b4362
push edi
lea edx, [esp + 0x48]
push 1
push edx
mov dword [esp + 0x2c], ebx
call fcn.004a5f20
mov esi, eax
add esp, 0xc
cmp esi, ebx
jl 0x4b4362
cmp esi, 0x7efffffd
jl 0x4b4338
mov ecx, dword [edi + 0x690]
cmp ecx, ebx
je 0x4b461e
call fcn.0047a3d0
test eax, eax
je 0x4b461e
mov eax, dword [edi + 0x44c]
push esi
push eax
call fcn.004a82b0
add esp, 8
cmp eax, ebx
je 0x4b461e
mov eax, dword [eax + 0x54]
cmp eax, ebx
je 0x4b461e
mov ebp, eax
jmp 0x4b4688
mov esi, dword [esp + 0x40]
cmp esi, ebx
jne 0x4b441c
mov al, byte [esp + 0x44]
cmp al, 0x5f
jne 0x4b4420
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push str._root
push edx
call fcn.0043a2d0
add esp, 0xc
test al, al
je 0x4b441c
mov eax, dword [esp + 0x30]
cmp eax, ebx
je 0x4b43ac
mov ebp, eax
mov dword [esp + 0x20], ebx
jmp 0x4b4688
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x4b4413
mov esi, dword [esp + 0x28]
cmp esi, eax
je 0x4b4413
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4b43d9
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4b43d4
call fcn.00494e90
cmp eax, 6
jg 0x4b43fa
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
cmp eax, ebx
je 0x4b4409
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4b43f5
call fcn.00494e90
cmp eax, 6
jle 0x4b4409
mov al, byte [ebp + 0x54]
test al, al
jns 0x4b4409
cmp dword [edi + 0xa7c], ebx
je 0x4b4413
mov ebp, dword [ebp + 8]
mov eax, dword [ebp + 8]
cmp eax, ebx
jne 0x4b43b7
mov dword [esp + 0x20], ebx
jmp 0x4b4688
mov al, byte [esp + 0x44]
cmp al, 0x2e
jne 0x4b4434
cmp byte [esp + 0x45], al
jne 0x4b4434
cmp byte [esp + 0x46], bl
je 0x4b460c
cmp esi, ebx
jne 0x4b445f
cmp al, 0x5f
jne 0x4b445f
mov ecx, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x48]
push str._parent
push edx
call fcn.0043a2d0
add esp, 0xc
test al, al
jne 0x4b460c
mov al, byte [esp + 0x44]
cmp dword [esp + 0x38], ebx
je 0x4b44ab
cmp al, 0x5f
jne 0x4b44ab
mov eax, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push str._global
push ecx
call fcn.0043a2d0
add esp, 0xc
test al, al
je 0x4b44ab
push 1
mov ecx, edi
call fcn.004b1820
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x4b461e
xor ebp, ebp
mov dword [esp + 0x14], 1
jmp 0x4b4688
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x40]
push eax
mov ecx, edi
call fcn.004b19b0
mov esi, dword [ebp + 0x10]
cmp esi, ebx
je 0x4b4579
mov edi, dword [esp + 0x3c]
jmp 0x4b44d0
mov ecx, dword [esi + 0x18]
mov eax, dword [ecx + 0x78]
cmp eax, 6
je 0x4b44ea
cmp eax, 0x61
je 0x4b44ea
cmp eax, 9
je 0x4b44ea
cmp eax, 2
jne 0x4b4548
mov eax, dword [esp + 0x18]
mov edx, dword [esi + 0x14]
or eax, 1
mov dword [esp + 0x18], eax
mov ecx, edx
mov eax, ecx
and eax, 7
cmp eax, 7
jne 0x4b450f
and ecx, 0xfffffff8
mov ecx, dword [ecx + 0xc]
mov eax, ecx
and eax, 7
cmp eax, 2
jne 0x4b4519
and ecx, 0x1f
mov eax, ecx
cmp eax, 5
jne 0x4b4548
or dword [esp + 0x18], 2
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0xa48]
xor eax, eax
mov al, byte [ecx + 0x215]
push eax
push edx
push edi
call fcn.00424fe0
add esp, 0xc
test al, al
je 0x4b4548
mov al, 1
jmp 0x4b454a
xor al, al
mov ecx, dword [esp + 0x18]
test cl, 2
je 0x4b455a
and ecx, 0xfffffffd
mov dword [esp + 0x18], ecx
test cl, 1
je 0x4b4566
and ecx, 0xfffffffe
mov dword [esp + 0x18], ecx
cmp al, bl
jne 0x4b4608
mov esi, dword [esi + 0xc]
cmp esi, ebx
jne 0x4b44d0
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4b461e
mov ecx, dword [eax + 0xb4]
mov dword [esp + 0xc8], ecx
xor ebp, ebp
mov dword [esp + 0x14], 1
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x14], 1
jne 0x4b4688
test byte [esp + 0xd0], 2
jne 0x4b461e
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xa48]
mov eax, dword [ecx + 0x210]
cmp eax, ebx
jne 0x4b45cd
call fcn.00494e90
mov esi, dword [esp + 0x10]
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.004b0c80
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc8]
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
cmp eax, ebx
mov eax, dword [esp + 0x40]
push eax
push ecx
mov ecx, esi
je 0x4b462d
call fcn.004b5c10
jmp 0x4b4632
mov ebp, esi
jmp 0x4b459b
cmp ebp, dword [esp + 0x30]
je 0x4b461e
mov ebp, dword [ebp + 8]
cmp ebp, ebx
je 0x4b461e
cmp dword [ebp + 0x20], ebx
jne 0x4b4688
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10
call fcn.004b4fd0
cmp eax, ebx
mov dword [esp + 0x34], ebx
je 0x4b461e
mov edx, dword [esp + 0x2c]
push edx
mov ecx, esi
call fcn.004b2600
cmp eax, ebx
mov dword [esp + 0xc8], eax
je 0x4b461e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 8]
mov esi, eax
cmp esi, ebx
je 0x4b4688
mov ecx, dword [esp + 0x10]
push 1
call fcn.004b1820
cmp dword [esp + 0xc8], eax
je 0x4b4688
mov ebp, dword [esi + 0x54]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x2c], 2
mov esi, dword [esp + 0xcc]
mov al, byte [esi]
cmp al, bl
jne 0x4b4270
cmp dword [esp + 0x14], ebx
jne 0x4b46d0
xor esi, esi
cmp ebp, ebx
je 0x4b46b2
mov eax, dword [ebp + 0x20]
cmp eax, ebx
je 0x4b46b2
mov esi, dword [eax + 0xb4]
push ebx
mov ecx, dword [esp + 0x14]
push esi
call fcn.0040df10
neg eax
pop edi
sbb eax, eax
and eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xb4
ret 0x10
mov esi, dword [esp + 0xc8]
push ebx
jmp 0x4b46b3
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xb4
ret 0x10