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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd64
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x29c], edx
mov dword [ebp - 0x298], edx
mov dword [ebp - 0x294], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x64], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4be361
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x80]
mov edx, 0x10
call fcn.00407c84
lea eax, [ebp - 0x90]
mov edx, 0x10
call fcn.00407c84
cmp dword [ebx + 0xc], 0
jne 0x4bdad6
mov dword [ebp - 4], 2
jmp 0x4be32e
cmp dword [ebx + 0x10], 0
jne 0x4bdae8
mov dword [ebp - 4], 3
jmp 0x4be32e
cmp dword [ebx + 0x14], 0
je 0x4bdaf4
cmp dword [ebx + 0x18], 0
jne 0x4bdb00
mov dword [ebp - 4], 4
jmp 0x4be32e
cmp dword [ebx + 0x18], 0xff
jle 0x4bdb15
mov dword [ebp - 4], 5
jmp 0x4be32e
mov eax, dword [ebx + 0xc4]
test eax, eax
jne 0x4bdb2b
mov dword [ebp - 4], 6
jmp 0x4be32e
test eax, eax
jne 0x4bdb3b
mov dword [ebp - 4], 7
jmp 0x4be32e
cmp dword [ebx + 0x2c], 0
je 0x4bdb99
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x4bdb53
mov eax, esi
call fcn.0040a0f4
test eax, eax
jne 0x4bdb5f
mov dword [ebp - 4], 0x10
jmp 0x4be32e
lea eax, [ebp - 0x294]
mov edx, dword [ebx + 0xc4]
call fcn.0040475c
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x290]
mov edx, dword [ebx + 0x30]
call fcn.004bd030
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4bdb99
mov dword [ebp - 4], 0xf
jmp 0x4be32e
call fcn.0040be78
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d574
cmp ax, 0x7d0
jae 0x4bdbd0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d574
cmp ax, 0x866
jbe 0x4bdbd0
mov dword [ebp - 4], 0xc
jmp 0x4be32e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.0047d68c
mov word [ebp - 0x42], ax
cmp dword [ebx + 0x1c], 0
je 0x4bdca6
xor eax, eax
push ebp
push 0x4bdc8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, word [ebx + 0x28]
mov dx, word [ebx + 0x24]
mov ax, word [ebx + 0x20]
call fcn.0040bbd4
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0047d574
cmp ax, 0x7d0
jae 0x4bdc5a
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0047d574
cmp ax, 0x866
jbe 0x4bdc5a
mov dword [ebp - 4], 0xd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be32e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.0047d68c
mov word [ebp - 0x44], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdca6
mov eax, dword [ebx + 0x7c]
mov dword [ebp - 0x48], eax
mov word [ebp - 0x4a], 0
mov eax, 0x10
shl word [ebp - 0x4a], 1
cmp dword [ebx + eax*4 + 0x7c], 0
je 0x4bdcc6
inc word [ebp - 0x4a]
dec eax
test eax, eax
jne 0x4bdcb7
cmp dword [ebx + 0x34], 0
je 0x4bdcee
cmp dword [ebx + 0x38], 0xffff
jle 0x4bdce6
mov dword [ebp - 4], 0x14
jmp 0x4be32e
mov ax, word [ebx + 0x38]
mov word [ebp - 0x54], ax
cmp dword [ebx + 0x3c], 0
je 0x4bdd11
cmp dword [ebx + 0x40], 0xffff
jle 0x4bdd09
mov dword [ebp - 4], 0x15
jmp 0x4be32e
mov ax, word [ebx + 0x40]
mov word [ebp - 0x52], ax
cmp dword [ebx + 0x44], 0
je 0x4bdd34
cmp dword [ebx + 0x48], 0xffff
jle 0x4bdd2c
mov dword [ebp - 4], 0x17
jmp 0x4be32e
mov ax, word [ebx + 0x48]
mov word [ebp - 0x56], ax
cmp dword [ebx + 0x4c], 0
je 0x4bdd57
cmp dword [ebx + 0x50], 0xffff
jle 0x4bdd4f
mov dword [ebp - 4], 0x18
jmp 0x4be32e
mov ax, word [ebx + 0x50]
mov word [ebp - 0x58], ax
cmp dword [ebx + 0x54], 0
je 0x4bdd92
xor edx, edx
mov eax, 0x7f
mov esi, 0x52c780
mov ecx, dword [esi]
cmp ecx, dword [ebx + 0x58]
jne 0x4bdd74
mov dl, 1
jmp 0x4bdd7a
add esi, 0x14
dec eax
jne 0x4bdd69
test dl, dl
jne 0x4bdd8a
mov dword [ebp - 4], 0x16
jmp 0x4be32e
mov ax, word [ebx + 0x58]
mov word [ebp - 0x60], ax
cmp dword [ebx + 0x5c], 0
je 0x4bde41
xor eax, eax
push ebp
push 0x4bde26
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, word [ebx + 0x68]
mov dx, word [ebx + 0x64]
mov ax, word [ebx + 0x60]
call fcn.0040bbd4
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0047d574
cmp ax, 0x7d0
jae 0x4bddf5
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0047d574
cmp ax, 0x866
jbe 0x4bddf5
mov dword [ebp - 4], 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be32e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.0047d68c
mov word [ebp - 0x5e], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bde41
cmp dword [ebx + 0x6c], 0
je 0x4bdef0
xor eax, eax
push ebp
push 0x4bded5
push dword fs:[eax]
mov dword fs:[eax], esp
mov cx, word [ebx + 0x78]
mov dx, word [ebx + 0x74]
mov ax, word [ebx + 0x70]
call fcn.0040bbd4
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d574
cmp ax, 0x7d0
jae 0x4bdea4
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d574
cmp ax, 0x866
jbe 0x4bdea4
mov dword [ebp - 4], 0x19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4be32e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040bbd4
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.0047d68c
mov word [ebp - 0x5c], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4bdef0
lea eax, [ebp - 0x298]
mov edx, dword [ebx + 0xc0]
call fcn.0040475c
mov eax, dword [ebp - 0x298]
lea edx, [ebp - 0x90]
call fcn.004bd24c
test al, al
jne 0x4bdf22
mov dword [ebp - 4], 8
jmp 0x4be32e
lea eax, [ebp - 0x29c]
mov edx, dword [ebx + 0xc4]
call fcn.0040475c
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x80]
call fcn.004bd474
test al, al
jne 0x4bdf64
mov dword [ebp - 4], 9
lea eax, [ebp - 0x80]
call fcn.004bcd6c
lea eax, [ebp - 0x90]
call fcn.004bcd9c
jmp 0x4be32e
mov eax, dword [ebx]
cmp eax, 5
ja case.default.0x4bdf6b
jmp dword [eax*4 + 0x4bdf72]
mov byte [ebp - 0x74], 1
jmp 0x4bdfcd
mov byte [ebp - 0x74], 1
jmp 0x4bdfcd
mov byte [ebp - 0x74], 0
jmp 0x4bdfcd
mov byte [ebp - 0x74], 7
jmp 0x4bdfcd
mov byte [ebp - 0x74], 4
jmp 0x4bdfcd
mov byte [ebp - 0x74], 5
jmp 0x4bdfcd
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x80]
call fcn.004bcd6c
lea eax, [ebp - 0x90]
call fcn.004bcd9c
jmp 0x4be32e
xor ecx, ecx
push ebp
push 0x4be327
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x190]
mov edx, pe_nt_image_headers32
call fcn.00407c84
mov esi, 1
xor edi, edi
mov byte [ebp - 0x39], 0
lea eax, [ebp + esi - 0x190]
mov dx, word [ebp - 0x42]
mov word [eax], dx
add esi, 2
cmp dword [ebx + 0x1c], 0
je 0x4be021
lea eax, [ebp + esi - 0x190]
mov dx, word [ebp - 0x44]
mov word [eax], dx
add esi, 2
inc byte [ebp - 0x39]
cmp word [ebp - 0x4a], 0
je 0x4be04c
lea eax, [ebp + esi - 0x190]
mov edx, dword [ebp - 0x48]
mov dword [eax], edx
add esi, 4
lea eax, [ebp + esi - 0x190]
mov dx, word [ebp - 0x4a]
mov word [eax], dx
add esi, 2
add byte [ebp - 0x39], 2
cmp dword [ebx + 0x2c], 0
je 0x4be076
mov ecx, dword [ebp - 0x40]
sub ecx, 2
lea edx, [ebp - 0x28e]
lea eax, [ebp + esi - 0x190]
call fcn.00407c7c
mov eax, dword [ebp - 0x40]
sub eax, 2
add esi, eax
add byte [ebp - 0x39], 4
cmp dword [ebx + 0x34], 0
je 0x4be091
lea eax, [ebp + esi - 0x190]
mov dx, word [ebp - 0x54]
mov word [eax], dx
add esi, 2
add byte [ebp - 0x39], 0x10
cmp dword [ebx + 0x3c], 0
je 0x4be0ac
lea eax, [ebp + esi - 0x190]
mov dx, word [ebp - 0x52]
mov word [eax], dx
add esi, 2
add byte [ebp - 0x39], 8
cmp dword [ebx + 0x44], 0
je 0x4be0c7
lea eax, [ebp + esi - 0x190]
mov dx, word [ebp - 0x56]
mov word [eax], dx
add esi, 2
add byte [ebp - 0x39], 0x20
cmp dword [ebx + 0x4c], 0
je 0x4be0e2
lea eax, [ebp + esi - 0x190]
mov dx, word [ebp - 0x58]
mov word [eax], dx
add esi, 2
add byte [ebp - 0x39], 0x40
mov edx, dword [ebx + 0x54]
test edx, edx
jne 0x4be0f5
cmp dword [ebx + 0x5c], 0
jne 0x4be0f5
cmp dword [ebx + 0x6c], 0
je 0x4be16d
inc edi
add byte [ebp - 0x39], 0x80
xor eax, eax
test edx, edx
je 0x4be115
lea edx, [edi + esi]
lea edx, [ebp + edx - 0x190]
mov cx, word [ebp - 0x60]
mov word [edx], cx
add edi, 2
inc eax
cmp dword [ebx + 0x5c], 0
je 0x4be131
lea edx, [edi + esi]
lea edx, [ebp + edx - 0x190]
mov cx, word [ebp - 0x5e]
mov word [edx], cx
add edi, 2
add al, 2
cmp dword [ebx + 0x6c], 0
je 0x4be14d
lea edx, [edi + esi]
lea edx, [ebp + edx - 0x190]
mov cx, word [ebp - 0x5c]
mov word [edx], cx
add edi, 2
add al, 4
lea edx, [ebp + esi - 0x190]
mov byte [edx], al
mov eax, edi
push eax
push 1
lea ecx, [ebp + esi - 0x190]
mov dl, byte [ebx + 0x18]
mov eax, dword [ebx + 0x14]
call fcn.004bcfb4
lea eax, [ebp - 0x190]
mov dl, byte [ebp - 0x39]
mov byte [eax], dl
mov eax, esi
push eax
push 1
lea ecx, [ebp - 0x190]
mov dl, byte [ebx + 0x18]
mov eax, dword [ebx + 0x14]
call fcn.004bcfb4
add esi, edi
mov eax, dword [ebx + 0x18]
cdq
push edx
push eax
mov eax, esi
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, eax
lea eax, [ebp - 0xc]
call fcn.00404bb0
lea edx, [ebp - 0x190]
mov ecx, esi
mov eax, dword [ebp - 0xc]
call fcn.00407c7c
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
add eax, esi
call fcn.00407c7c
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
call fcn.004bd674
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.00404bb0
lea edx, [ebp - 0x190]
mov ecx, esi
mov eax, dword [ebp - 0x14]
call fcn.00407c7c
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.0040482c
mov eax, dword [ebx + 4]
cmp eax, 4
ja case.default.0x4be210
jmp dword [eax*4 + 0x4be217]
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004bcc30
jmp 0x4be2b0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004bcae8
jmp 0x4be2b0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004bc998
jmp 0x4be2b0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004bc838
jmp 0x4be2b0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004bc6b8
jmp 0x4be2b0
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x80]
call fcn.004bcd6c
lea eax, [ebp - 0x90]
call fcn.004bcd9c
call fcn.00403f54
jmp 0x4be32e
mov eax, dword [ebp - 0x10]
call fcn.00404824
cmp eax, dword [ebx + 0x10]
jle 0x4be2de
mov dword [ebp - 4], 3
lea eax, [ebp - 0x80]
call fcn.004bcd6c
lea eax, [ebp - 0x90]
call fcn.004bcd9c
call fcn.00403f54
jmp 0x4be32e
mov eax, dword [ebp - 0x10]
call fcn.00404824
mov ecx, eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407c7c
mov eax, dword [ebp - 0x10]
call fcn.00404824
add eax, dword [ebx + 0xc]
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be32e
lea eax, [ebp - 0x80]
call fcn.004bcd6c
lea eax, [ebp - 0x90]
call fcn.004bcd9c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4be368
lea eax, [ebp - 0x29c]
mov edx, 3
call fcn.00404578
lea eax, [ebp - 0x64]
call fcn.00404554
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404578
ret