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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov eax, dword [esi + 8]
xor ebp, ebp
cmp eax, ebp
push edi
mov dword [esp + 0x14], ebp
mov dword [esp + 0x1c], ebp
mov ebx, 1
mov dword [esp + 0x10], ebp
jne 0x4bb082
mov eax, dword [esi]
push 0x28
push eax
mov dword [esi + 0x30], ebp
call fcn.005d9b20
add esp, 8
test eax, eax
je 0x4bb0d4
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
push 0x63
push ecx
mov ecx, dword [eax]
push edx
mov edx, dword [esp + 0x30]
push esi
push ecx
push edx
call fcn.0051c6f0
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x40]
cmp eax, ebp
je 0x4bb0b2
xor ecx, ecx
mov dword [esp + 0x10], eax
nop
cmp dword [eax + 0x1c], ebp
je 0x4bb0bf
cmp dword [eax + 0xc], ebp
je 0x4bb09f
mov edx, dword [eax]
mov byte [edx], 0
mov edx, dword [esi + 8]
inc ecx
cmp edx, ecx
je 0x4bb0d0
mov eax, dword [eax + 0x40]
cmp eax, ebp
jne 0x4bb090
mov dword [esp + 0x10], eax
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
mov dword [esp + 4], eax
mov eax, 1
pop ebx
add esp, 0x10
ret
mov dword [esp + 0x10], eax
mov eax, dword [esi]
cmp byte [eax], 0x24
jne 0x4bb0e5
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x24
jne 0x4bb0e5
inc eax
mov edi, dword [esp + 0x38]
mov edx, edi
sub edx, eax
lea ecx, [ecx]
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4bb0f0
push 0x28
push edi
call fcn.005d9b20
add esp, 8
cmp eax, ebp
je 0x4bb10c
mov byte [eax], 0
cmp dword [esi + 0x10], ebp
je 0x4bb17a
mov eax, dword [esi]
push 0x5fa2e4
push eax
call fcn.005da9a0
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x4bb17a
mov al, byte [esi + 3]
add esi, 3
test al, al
je 0x4bb17a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bb136
sub eax, edx
add eax, 0xa
push eax
call fcn.005d9f91
mov edx, eax
add esp, 4
cmp edx, ebp
mov dword [esp + 0x1c], edx
jne 0x4bb167
push 2
push ebp
push ebp
push ebp
call fcn.0048bd90
add esp, 0x10
jmp 0x4bb4ea
mov eax, esi
sub edx, esi
jmp 0x4bb170
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4bb170
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push edi
call fcn.00410330
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x4bb4ce
cmp esi, dword [esp + 0x30]
je 0x4bb4ec
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4bb1c0
push eax
call fcn.0041bc20
add esp, 4
test eax, eax
je 0x4bb4ea
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x50], eax
mov edi, dword [esi]
cmp byte [edi], 0x20
jne 0x4bb1cf
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4bb1c7
mov al, byte [edi]
test al, al
je 0x4bb4ec
cmp al, 0x61
je 0x4bb1e1
cmp al, 0x41
jne 0x4bb238
push 6
push 0x5f50d4
push edi
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x4bb238
mov al, byte [edi + 6]
add edi, 6
cmp al, 0x20
jne 0x4bb208
nop
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4bb200
cmp byte [edi], 0
je 0x4bb238
push 3
push 0x5f50ec
push edi
call fcn.005f18c9
add esp, 0xc
test eax, eax
jne 0x4bb238
mov al, byte [edi + 3]
add edi, 3
cmp al, 0x20
jne 0x4bb238
jmp 0x4bb230
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4bb230
push 0x20
push edi
call fcn.005d9b20
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4bb4ec
cmp byte [ebp], 0x20
jne 0x4bb25b
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x4bb253
cmp byte [ebp], 0
je 0x4bb4ec
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bb2bd
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x40]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x4bb2bd
mov edi, edi
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
call fcn.004e8850
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x4bb438
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
inc edi
cmp eax, edi
je 0x4bb2bd
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4bb280
mov edx, dword [esp + 0x40]
xor eax, eax
test edx, edx
setne al
inc eax
mov edi, eax
cmp byte [ebp], 0x7b
jne 0x4bb423
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
jne 0x4bb2e8
lea ecx, [ecx]
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x4bb2e0
cmp byte [ebp], 0
je 0x4bb39e
push 0
push ebp
push 0
call fcn.004e8850
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x4bb438
mov ecx, dword [esi + 0x40]
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x68]
mov dword [eax + 0x40], ecx
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
push eax
mov eax, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x68]
push esi
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x60]
push 0
push 0
push eax
mov eax, dword [esp + 0x74]
push 1
push ecx
mov ecx, dword [esp + 0x78]
push esi
push edx
mov edx, dword [esp + 0x9c]
push eax
mov eax, dword [esp + 0x64]
push ecx
mov ecx, dword [esp + 0x74]
inc edx
push edx
push edi
push 0
push eax
push ecx
call fcn.00441110
mov edx, dword [esp + 0x7c]
mov ebx, eax
lea eax, [esp + 0x7c]
push eax
mov dword [edx + 0x40], 0
call fcn.004e8c50
add esp, 0x68
jmp 0x4bb4ec
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4bb4ea
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push esi
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x6c]
push 1
push edx
mov edx, dword [esp + 0x7c]
push esi
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0xa0]
push ecx
inc edx
push edx
push edi
push 0
push eax
mov eax, dword [esp + 0x84]
push eax
call fcn.00441110
add esp, 0x64
mov ebx, eax
jmp 0x4bb4ec
push 0
push ebp
push 0
call fcn.004e8850
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
jne 0x4bb44d
push 2
push 0
push 0
push 0
call fcn.0048bd90
add esp, 0x10
jmp 0x4bb4ea
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x6c]
push edx
mov edx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x34]
push esi
push ecx
mov ecx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x70]
push 0
push 0
push ecx
mov ecx, dword [esp + 0x6c]
push 1
push edx
mov edx, dword [esp + 0x7c]
push esi
push ecx
mov ecx, dword [esp + 0x80]
push edx
mov edx, dword [esp + 0xa0]
push ecx
inc edx
push edx
push edi
push 0
push eax
mov eax, dword [esp + 0x84]
push eax
call fcn.00441110
lea ecx, [esp + 0x7c]
push ecx
mov ebx, eax
call fcn.004e8c50
add esp, 0x68
jmp 0x4bb4ec
cmp dword [0x687598], ebp
je 0x4bb4ec
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
push 0xd
push edx
push eax
call fcn.0048c510
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4bb4ff
mov ecx, eax
push ecx
call fcn.005d9fa3
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4bb514
lea edx, [esp + 0x14]
push edx
call fcn.004e8c50
add esp, 4
test ebx, ebx
je 0x4bb587
cmp ebx, 2
je 0x4bb587
cmp ebx, 3
je 0x4bb529
mov eax, dword [esp + 0x34]
mov byte [eax], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4bb56f
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x40], eax
mov esi, dword [esp + 0x28]
je 0x4bb55a
mov edi, ecx
mov ebx, eax
mov edx, dword [edi + 0x40]
mov eax, dword [esi]
push edx
push eax
call fcn.004e8a00
mov dword [esi], eax
mov eax, dword [edi + 0x40]
add esp, 8
cmp eax, ebx
jne 0x4bb542
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x40]
mov eax, dword [esi]
push edx
push eax
call fcn.004e8a00
add esp, 8
mov dword [esi], eax
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
mov dword [ecx + 8], 0
mov eax, 2
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret