Function at 0x4c2688
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 0x4c2f81
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x80]
mov edx, 0x10
call fcn.0040780c
lea eax, [ebp - 0x90]
mov edx, 0x10
call fcn.0040780c
cmp dword [ebx + 0xc], 0
jne 0x4c26f6
mov dword [ebp - 4], 2
jmp 0x4c2f4e
cmp dword [ebx + 0x10], 0
jne 0x4c2708
mov dword [ebp - 4], 3
jmp 0x4c2f4e
cmp dword [ebx + 0x14], 0
je 0x4c2714
cmp dword [ebx + 0x18], 0
jne 0x4c2720
mov dword [ebp - 4], 4
jmp 0x4c2f4e
cmp dword [ebx + 0x18], 0xff
jle 0x4c2735
mov dword [ebp - 4], 5
jmp 0x4c2f4e
mov eax, dword [ebx + 0xc4]
test eax, eax
jne 0x4c274b
mov dword [ebp - 4], 6
jmp 0x4c2f4e
test eax, eax
jne 0x4c275b
mov dword [ebp - 4], 7
jmp 0x4c2f4e
cmp dword [ebx + 0x2c], 0
je 0x4c27b9
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x4c2773
mov eax, esi
call fcn.00409bf0
test eax, eax
jne 0x4c277f
mov dword [ebp - 4], 0x10
jmp 0x4c2f4e
lea eax, [ebp - 0x294]
mov edx, dword [ebx + 0xc4]
call fcn.0040438c
mov eax, dword [ebp - 0x294]
lea ecx, [ebp - 0x290]
mov edx, dword [ebx + 0x30]
call fcn.004c1c50
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4c27b9
mov dword [ebp - 4], 0xf
jmp 0x4c2f4e
call fcn.0040b914
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481ba8
cmp ax, 0x7d0
jae 0x4c27f0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481ba8
cmp ax, 0x866
jbe 0x4c27f0
mov dword [ebp - 4], 0xc
jmp 0x4c2f4e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481cc0
mov word [ebp - 0x42], ax
cmp dword [ebx + 0x1c], 0
je 0x4c28c6
xor eax, eax
push ebp
push 0x4c28ab
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.0040b674
fstp qword [ebp - 0x28]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481ba8
cmp ax, 0x7d0
jae 0x4c287a
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481ba8
cmp ax, 0x866
jbe 0x4c287a
mov dword [ebp - 4], 0xd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2f4e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481cc0
mov word [ebp - 0x44], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c28c6
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 0x4c28e6
inc word [ebp - 0x4a]
dec eax
test eax, eax
jne 0x4c28d7
cmp dword [ebx + 0x34], 0
je 0x4c290e
cmp dword [ebx + 0x38], 0xffff
jle 0x4c2906
mov dword [ebp - 4], 0x14
jmp 0x4c2f4e
mov ax, word [ebx + 0x38]
mov word [ebp - 0x54], ax
cmp dword [ebx + 0x3c], 0
je 0x4c2931
cmp dword [ebx + 0x40], 0xffff
jle 0x4c2929
mov dword [ebp - 4], 0x15
jmp 0x4c2f4e
mov ax, word [ebx + 0x40]
mov word [ebp - 0x52], ax
cmp dword [ebx + 0x44], 0
je 0x4c2954
cmp dword [ebx + 0x48], 0xffff
jle 0x4c294c
mov dword [ebp - 4], 0x17
jmp 0x4c2f4e
mov ax, word [ebx + 0x48]
mov word [ebp - 0x56], ax
cmp dword [ebx + 0x4c], 0
je 0x4c2977
cmp dword [ebx + 0x50], 0xffff
jle 0x4c296f
mov dword [ebp - 4], 0x18
jmp 0x4c2f4e
mov ax, word [ebx + 0x50]
mov word [ebp - 0x58], ax
cmp dword [ebx + 0x54], 0
je 0x4c29b2
xor edx, edx
mov eax, 0x7f
mov esi, 0x5449e8
mov ecx, dword [esi]
cmp ecx, dword [ebx + 0x58]
jne 0x4c2994
mov dl, 1
jmp 0x4c299a
add esi, 0x14
dec eax
jne 0x4c2989
test dl, dl
jne 0x4c29aa
mov dword [ebp - 4], 0x16
jmp 0x4c2f4e
mov ax, word [ebx + 0x58]
mov word [ebp - 0x60], ax
cmp dword [ebx + 0x5c], 0
je 0x4c2a61
xor eax, eax
push ebp
push 0x4c2a46
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.0040b674
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481ba8
cmp ax, 0x7d0
jae 0x4c2a15
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481ba8
cmp ax, 0x866
jbe 0x4c2a15
mov dword [ebp - 4], 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2f4e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481cc0
mov word [ebp - 0x5e], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2a61
cmp dword [ebx + 0x6c], 0
je 0x4c2b10
xor eax, eax
push ebp
push 0x4c2af5
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.0040b674
fstp qword [ebp - 0x30]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481ba8
cmp ax, 0x7d0
jae 0x4c2ac4
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481ba8
cmp ax, 0x866
jbe 0x4c2ac4
mov dword [ebp - 4], 0x19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2f4e
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481cc0
mov word [ebp - 0x5c], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2b10
lea eax, [ebp - 0x298]
mov edx, dword [ebx + 0xc0]
call fcn.0040438c
mov eax, dword [ebp - 0x298]
lea edx, [ebp - 0x90]
call fcn.004c1e6c
test al, al
jne 0x4c2b42
mov dword [ebp - 4], 8
jmp 0x4c2f4e
lea eax, [ebp - 0x29c]
mov edx, dword [ebx + 0xc4]
call fcn.0040438c
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x80]
call fcn.004c2094
test al, al
jne 0x4c2b84
mov dword [ebp - 4], 9
lea eax, [ebp - 0x80]
call fcn.004c1968
lea eax, [ebp - 0x90]
call fcn.004c1998
jmp 0x4c2f4e
mov eax, dword [ebx]
cmp eax, 5
ja case.default.0x4c2b8b
jmp dword [eax*4 + 0x4c2b92]
mov byte [ebp - 0x74], 1
jmp 0x4c2bed
mov byte [ebp - 0x74], 1
jmp 0x4c2bed
mov byte [ebp - 0x74], 0
jmp 0x4c2bed
mov byte [ebp - 0x74], 7
jmp 0x4c2bed
mov byte [ebp - 0x74], 4
jmp 0x4c2bed
mov byte [ebp - 0x74], 5
jmp 0x4c2bed
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x80]
call fcn.004c1968
lea eax, [ebp - 0x90]
call fcn.004c1998
jmp 0x4c2f4e
xor ecx, ecx
push ebp
push 0x4c2f47
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x190]
mov edx, pe_nt_image_headers32
call fcn.0040780c
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 0x4c2c41
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 0x4c2c6c
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 0x4c2c96
mov ecx, dword [ebp - 0x40]
sub ecx, 2
lea edx, [ebp - 0x28e]
lea eax, [ebp + esi - 0x190]
call fcn.00407804
mov eax, dword [ebp - 0x40]
sub eax, 2
add esi, eax
add byte [ebp - 0x39], 4
cmp dword [ebx + 0x34], 0
je 0x4c2cb1
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 0x4c2ccc
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 0x4c2ce7
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 0x4c2d02
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 0x4c2d15
cmp dword [ebx + 0x5c], 0
jne 0x4c2d15
cmp dword [ebx + 0x6c], 0
je 0x4c2d8d
inc edi
add byte [ebp - 0x39], 0x80
xor eax, eax
test edx, edx
je 0x4c2d35
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 0x4c2d51
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 0x4c2d6d
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.004c1bd4
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.004c1bd4
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.004047e0
lea edx, [ebp - 0x190]
mov ecx, esi
mov eax, dword [ebp - 0xc]
call fcn.00407804
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x14]
mov eax, dword [ebp - 0xc]
add eax, esi
call fcn.00407804
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x80]
lea eax, [ebp - 0x90]
mov ecx, dword [ebp - 0xc]
call fcn.004c2294
lea eax, [ebp - 0x14]
mov edx, esi
call fcn.004047e0
lea edx, [ebp - 0x190]
mov ecx, esi
mov eax, dword [ebp - 0x14]
call fcn.00407804
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.0040445c
mov eax, dword [ebx + 4]
cmp eax, 4
ja case.default.0x4c2e30
jmp dword [eax*4 + 0x4c2e37]
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c182c
jmp 0x4c2ed0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c16e4
jmp 0x4c2ed0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c15cc
jmp 0x4c2ed0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c146c
jmp 0x4c2ed0
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c12ec
jmp 0x4c2ed0
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x80]
call fcn.004c1968
lea eax, [ebp - 0x90]
call fcn.004c1998
call fcn.00403bac
jmp 0x4c2f4e
mov eax, dword [ebp - 0x10]
call fcn.00404454
cmp eax, dword [ebx + 0x10]
jle 0x4c2efe
mov dword [ebp - 4], 3
lea eax, [ebp - 0x80]
call fcn.004c1968
lea eax, [ebp - 0x90]
call fcn.004c1998
call fcn.00403bac
jmp 0x4c2f4e
mov eax, dword [ebp - 0x10]
call fcn.00404454
mov ecx, eax
mov eax, dword [ebx + 0xc]
mov edx, dword [ebp - 0x10]
call fcn.00407804
mov eax, dword [ebp - 0x10]
call fcn.00404454
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 0x4c2f4e
lea eax, [ebp - 0x80]
call fcn.004c1968
lea eax, [ebp - 0x90]
call fcn.004c1998
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2f88
lea eax, [ebp - 0x29c]
mov edx, 3
call fcn.004041a8
lea eax, [ebp - 0x64]
call fcn.00404184
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004041a8
ret