Function at 0x4b6cc0
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 0x4b6d22
mov eax, dword [esi]
push 0x28
push eax
mov dword [esi + 0x30], ebp
call fcn.005cbf10
add esp, 8
test eax, eax
je 0x4b6d74
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.00515c10
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esi + 0x40]
cmp eax, ebp
je 0x4b6d52
xor ecx, ecx
mov dword [esp + 0x10], eax
nop
cmp dword [eax + 0x1c], ebp
je 0x4b6d5f
cmp dword [eax + 0xc], ebp
je 0x4b6d3f
mov edx, dword [eax]
mov byte [edx], 0
mov edx, dword [esi + 8]
inc ecx
cmp edx, ecx
je 0x4b6d70
mov eax, dword [eax + 0x40]
cmp eax, ebp
jne 0x4b6d30
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 0x4b6d85
mov cl, byte [eax + 1]
inc eax
cmp cl, 0x24
jne 0x4b6d85
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 0x4b6d90
push 0x28
push edi
call fcn.005cbf10
add esp, 8
cmp eax, ebp
je 0x4b6dac
mov byte [eax], 0
cmp dword [esi + 0x10], ebp
je 0x4b6e1a
mov eax, dword [esi]
push 0x5ec00c
push eax
call fcn.005ccdf0
mov esi, eax
add esp, 8
cmp esi, ebp
je 0x4b6e1a
mov al, byte [esi + 3]
add esi, 3
test al, al
je 0x4b6e1a
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4b6dd6
sub eax, edx
add eax, 0xa
push eax
call fcn.005cc381
mov edx, eax
add esp, 4
cmp edx, ebp
mov dword [esp + 0x1c], edx
jne 0x4b6e07
push 2
push ebp
push ebp
push ebp
call fcn.0048a440
add esp, 0x10
jmp 0x4b718a
mov eax, esi
sub edx, esi
jmp 0x4b6e10
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x4b6e10
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x3c]
push ecx
push edx
push edi
call fcn.0040ffb0
mov esi, eax
add esp, 0xc
cmp esi, ebp
je 0x4b716e
cmp esi, dword [esp + 0x30]
je 0x4b718c
mov eax, dword [esi + 0x2c]
test eax, eax
je 0x4b6e60
push eax
call fcn.0041ba20
add esp, 4
test eax, eax
je 0x4b718a
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x50], eax
mov edi, dword [esi]
cmp byte [edi], 0x20
jne 0x4b6e6f
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4b6e67
mov al, byte [edi]
test al, al
je 0x4b718c
cmp al, 0x61
je 0x4b6e81
cmp al, 0x41
jne 0x4b6ed8
push 6
push 0x5e70d4
push edi
call fcn.005e325e
add esp, 0xc
test eax, eax
jne 0x4b6ed8
mov al, byte [edi + 6]
add edi, 6
cmp al, 0x20
jne 0x4b6ea8
nop
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4b6ea0
cmp byte [edi], 0
je 0x4b6ed8
push 3
push 0x5e70ec
push edi
call fcn.005e325e
add esp, 0xc
test eax, eax
jne 0x4b6ed8
mov al, byte [edi + 3]
add edi, 3
cmp al, 0x20
jne 0x4b6ed8
jmp 0x4b6ed0
mov al, byte [edi + 1]
inc edi
cmp al, 0x20
je 0x4b6ed0
push 0x20
push edi
call fcn.005cbf10
mov ebp, eax
add esp, 8
test ebp, ebp
je 0x4b718c
cmp byte [ebp], 0x20
jne 0x4b6efb
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x4b6ef3
cmp byte [ebp], 0
je 0x4b718c
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b6f5d
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 0x40]
xor edi, edi
test eax, eax
mov dword [esp + 0x10], eax
je 0x4b6f5d
mov edi, edi
mov edx, dword [eax]
mov eax, dword [esp + 0x14]
push 0
push edx
push eax
call fcn.004e2f90
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x4b70d8
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ecx + 8]
inc edi
cmp eax, edi
je 0x4b6f5d
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x40]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4b6f20
mov edx, dword [esp + 0x40]
xor eax, eax
test edx, edx
setne al
inc eax
mov edi, eax
cmp byte [ebp], 0x7b
jne 0x4b70c3
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
jne 0x4b6f88
lea ecx, [ecx]
mov al, byte [ebp + 1]
inc ebp
cmp al, 0x20
je 0x4b6f80
cmp byte [ebp], 0
je 0x4b703e
push 0
push ebp
push 0
call fcn.004e2f90
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
je 0x4b70d8
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.00440870
mov edx, dword [esp + 0x7c]
mov ebx, eax
lea eax, [esp + 0x7c]
push eax
mov dword [edx + 0x40], 0
call fcn.004e33a0
add esp, 0x68
jmp 0x4b718c
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4b718a
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.00440870
add esp, 0x64
mov ebx, eax
jmp 0x4b718c
push 0
push ebp
push 0
call fcn.004e2f90
add esp, 0xc
test eax, eax
mov dword [esp + 0x18], eax
jne 0x4b70ed
push 2
push 0
push 0
push 0
call fcn.0048a440
add esp, 0x10
jmp 0x4b718a
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.00440870
lea ecx, [esp + 0x7c]
push ecx
mov ebx, eax
call fcn.004e33a0
add esp, 0x68
jmp 0x4b718c
cmp dword [0x63fb9c], ebp
je 0x4b718c
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
push 0xd
push edx
push eax
call fcn.0048abf0
add esp, 0xc
xor ebx, ebx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4b719f
mov ecx, eax
push ecx
call fcn.005cc393
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4b71b4
lea edx, [esp + 0x14]
push edx
call fcn.004e33a0
add esp, 4
test ebx, ebx
je 0x4b7227
cmp ebx, 2
je 0x4b7227
cmp ebx, 3
je 0x4b71c9
mov eax, dword [esp + 0x34]
mov byte [eax], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4b720f
mov ecx, dword [esp + 0x2c]
cmp dword [ecx + 0x40], eax
mov esi, dword [esp + 0x28]
je 0x4b71fa
mov edi, ecx
mov ebx, eax
mov edx, dword [edi + 0x40]
mov eax, dword [esi]
push edx
push eax
call fcn.004e3140
mov dword [esi], eax
mov eax, dword [edi + 0x40]
add esp, 8
cmp eax, ebx
jne 0x4b71e2
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x40]
mov eax, dword [esi]
push edx
push eax
call fcn.004e3140
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