Function at 0x4c23ac
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 0x4c2ca5
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 0x4c241a
mov dword [ebp - 4], 2
jmp 0x4c2c72
cmp dword [ebx + 0x10], 0
jne 0x4c242c
mov dword [ebp - 4], 3
jmp 0x4c2c72
cmp dword [ebx + 0x14], 0
je 0x4c2438
cmp dword [ebx + 0x18], 0
jne 0x4c2444
mov dword [ebp - 4], 4
jmp 0x4c2c72
cmp dword [ebx + 0x18], 0xff
jle 0x4c2459
mov dword [ebp - 4], 5
jmp 0x4c2c72
mov eax, dword [ebx + 0xc4]
test eax, eax
jne 0x4c246f
mov dword [ebp - 4], 6
jmp 0x4c2c72
test eax, eax
jne 0x4c247f
mov dword [ebp - 4], 7
jmp 0x4c2c72
cmp dword [ebx + 0x2c], 0
je 0x4c24dd
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x4c2497
mov eax, esi
call fcn.00409bf0
test eax, eax
jne 0x4c24a3
mov dword [ebp - 4], 0x10
jmp 0x4c2c72
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.004c1974
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jne 0x4c24dd
mov dword [ebp - 4], 0xf
jmp 0x4c2c72
call fcn.0040b914
fstp qword [ebp - 0x20]
wait
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481afc
cmp ax, 0x7d0
jae 0x4c2514
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481afc
cmp ax, 0x866
jbe 0x4c2514
mov dword [ebp - 4], 0xc
jmp 0x4c2c72
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.00481c14
mov word [ebp - 0x42], ax
cmp dword [ebx + 0x1c], 0
je 0x4c25ea
xor eax, eax
push ebp
push 0x4c25cf
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.00481afc
cmp ax, 0x7d0
jae 0x4c259e
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481afc
cmp ax, 0x866
jbe 0x4c259e
mov dword [ebp - 4], 0xd
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2c72
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.00481c14
mov word [ebp - 0x44], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c25ea
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 0x4c260a
inc word [ebp - 0x4a]
dec eax
test eax, eax
jne 0x4c25fb
cmp dword [ebx + 0x34], 0
je 0x4c2632
cmp dword [ebx + 0x38], 0xffff
jle 0x4c262a
mov dword [ebp - 4], 0x14
jmp 0x4c2c72
mov ax, word [ebx + 0x38]
mov word [ebp - 0x54], ax
cmp dword [ebx + 0x3c], 0
je 0x4c2655
cmp dword [ebx + 0x40], 0xffff
jle 0x4c264d
mov dword [ebp - 4], 0x15
jmp 0x4c2c72
mov ax, word [ebx + 0x40]
mov word [ebp - 0x52], ax
cmp dword [ebx + 0x44], 0
je 0x4c2678
cmp dword [ebx + 0x48], 0xffff
jle 0x4c2670
mov dword [ebp - 4], 0x17
jmp 0x4c2c72
mov ax, word [ebx + 0x48]
mov word [ebp - 0x56], ax
cmp dword [ebx + 0x4c], 0
je 0x4c269b
cmp dword [ebx + 0x50], 0xffff
jle 0x4c2693
mov dword [ebp - 4], 0x18
jmp 0x4c2c72
mov ax, word [ebx + 0x50]
mov word [ebp - 0x58], ax
cmp dword [ebx + 0x54], 0
je 0x4c26d6
xor edx, edx
mov eax, 0x7f
mov esi, 0x5409e8
mov ecx, dword [esi]
cmp ecx, dword [ebx + 0x58]
jne 0x4c26b8
mov dl, 1
jmp 0x4c26be
add esi, 0x14
dec eax
jne 0x4c26ad
test dl, dl
jne 0x4c26ce
mov dword [ebp - 4], 0x16
jmp 0x4c2c72
mov ax, word [ebx + 0x58]
mov word [ebp - 0x60], ax
cmp dword [ebx + 0x5c], 0
je 0x4c2785
xor eax, eax
push ebp
push 0x4c276a
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.00481afc
cmp ax, 0x7d0
jae 0x4c2739
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481afc
cmp ax, 0x866
jbe 0x4c2739
mov dword [ebp - 4], 0x1a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2c72
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.00481c14
mov word [ebp - 0x5e], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2785
cmp dword [ebx + 0x6c], 0
je 0x4c2834
xor eax, eax
push ebp
push 0x4c2819
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.00481afc
cmp ax, 0x7d0
jae 0x4c27e8
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481afc
cmp ax, 0x866
jbe 0x4c27e8
mov dword [ebp - 4], 0x19
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2c72
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.00481c14
mov word [ebp - 0x5c], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c2834
lea eax, [ebp - 0x298]
mov edx, dword [ebx + 0xc0]
call fcn.0040438c
mov eax, dword [ebp - 0x298]
lea edx, [ebp - 0x90]
call fcn.004c1b90
test al, al
jne 0x4c2866
mov dword [ebp - 4], 8
jmp 0x4c2c72
lea eax, [ebp - 0x29c]
mov edx, dword [ebx + 0xc4]
call fcn.0040438c
mov eax, dword [ebp - 0x29c]
lea edx, [ebp - 0x80]
call fcn.004c1db8
test al, al
jne 0x4c28a8
mov dword [ebp - 4], 9
lea eax, [ebp - 0x80]
call fcn.004c168c
lea eax, [ebp - 0x90]
call fcn.004c16bc
jmp 0x4c2c72
mov eax, dword [ebx]
cmp eax, 5
ja case.default.0x4c28af
jmp dword [eax*4 + 0x4c28b6]
mov byte [ebp - 0x74], 1
jmp 0x4c2911
mov byte [ebp - 0x74], 1
jmp 0x4c2911
mov byte [ebp - 0x74], 0
jmp 0x4c2911
mov byte [ebp - 0x74], 7
jmp 0x4c2911
mov byte [ebp - 0x74], 4
jmp 0x4c2911
mov byte [ebp - 0x74], 5
jmp 0x4c2911
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x80]
call fcn.004c168c
lea eax, [ebp - 0x90]
call fcn.004c16bc
jmp 0x4c2c72
xor ecx, ecx
push ebp
push 0x4c2c6b
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 0x4c2965
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 0x4c2990
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 0x4c29ba
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 0x4c29d5
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 0x4c29f0
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 0x4c2a0b
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 0x4c2a26
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 0x4c2a39
cmp dword [ebx + 0x5c], 0
jne 0x4c2a39
cmp dword [ebx + 0x6c], 0
je 0x4c2ab1
inc edi
add byte [ebp - 0x39], 0x80
xor eax, eax
test edx, edx
je 0x4c2a59
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 0x4c2a75
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 0x4c2a91
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.004c18f8
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.004c18f8
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.004c1fb8
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.0x4c2b54
jmp dword [eax*4 + 0x4c2b5b]
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c1550
jmp 0x4c2bf4
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c1408
jmp 0x4c2bf4
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c12f0
jmp 0x4c2bf4
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c1190
jmp 0x4c2bf4
cmp dword [ebx + 8], 1
sbb edx, edx
inc edx
lea ecx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call fcn.004c1010
jmp 0x4c2bf4
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x80]
call fcn.004c168c
lea eax, [ebp - 0x90]
call fcn.004c16bc
call fcn.00403bac
jmp 0x4c2c72
mov eax, dword [ebp - 0x10]
call fcn.00404454
cmp eax, dword [ebx + 0x10]
jle 0x4c2c22
mov dword [ebp - 4], 3
lea eax, [ebp - 0x80]
call fcn.004c168c
lea eax, [ebp - 0x90]
call fcn.004c16bc
call fcn.00403bac
jmp 0x4c2c72
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 0x4c2c72
lea eax, [ebp - 0x80]
call fcn.004c168c
lea eax, [ebp - 0x90]
call fcn.004c16bc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c2cac
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