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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x25c], edx
mov dword [ebp - 0x258], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4c4021
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x54]
mov edx, 0x10
call fcn.0040780c
cmp dword [ebx + 0x10], 0
je 0x4c391a
cmp dword [ebx + 0x14], 0
jne 0x4c3926
mov dword [ebp - 4], 2
jmp 0x4c3ff6
cmp dword [ebx], 0
je 0x4c3931
cmp dword [ebx + 4], 0
jne 0x4c393d
mov dword [ebp - 4], 4
jmp 0x4c3ff6
cmp dword [ebx + 0xc8], 0
jne 0x4c3952
mov dword [ebp - 4], 7
jmp 0x4c3ff6
cmp dword [ebx + 0x34], 0
je 0x4c3976
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x4c396a
mov eax, esi
call fcn.00409bf0
test eax, eax
jne 0x4c3976
mov dword [ebp - 4], 0x10
jmp 0x4c3ff6
mov eax, dword [ebx + 8]
cmp eax, 5
ja case.default.0x4c397e
jmp dword [eax*4 + 0x4c3985]
mov byte [ebp - 0x48], 1
jmp 0x4c39cd
mov byte [ebp - 0x48], 1
jmp 0x4c39cd
mov byte [ebp - 0x48], 0
jmp 0x4c39cd
mov byte [ebp - 0x48], 7
jmp 0x4c39cd
mov byte [ebp - 0x48], 4
jmp 0x4c39cd
mov byte [ebp - 0x48], 5
jmp 0x4c39cd
mov dword [ebp - 4], 0xa
jmp 0x4c3ff6
mov edx, dword [ebx + 0x14]
lea eax, [ebp - 0x10]
call fcn.004047e0
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x10]
call fcn.00407804
xor eax, eax
push ebp
push 0x4c3a76
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xc]
cmp eax, 4
ja case.default.0x4c39fc
jmp dword [eax*4 + 0x4c3a03]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c0d48
jmp 0x4c3a6c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c0e50
jmp 0x4c3a6c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c0f64
jmp 0x4c3a6c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c1080
jmp 0x4c3a6c
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c11ac
jmp 0x4c3a6c
mov dword [ebp - 4], 0xb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c3ff6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c3a8a
mov eax, dword [ebp - 0x14]
call fcn.00404454
test eax, eax
je 0x4c3ff6
mov eax, dword [ebp - 0x14]
mov al, byte [eax]
mov byte [ebp - 0x3d], al
mov esi, 1
xor edi, edi
mov eax, esi
push eax
push 0
lea ecx, [ebp - 0x3d]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004c1bd4
add esi, 2
test byte [ebp - 0x3d], 1
je 0x4c3ac7
add esi, 2
test byte [ebp - 0x3d], 2
je 0x4c3ad0
add esi, 6
test byte [ebp - 0x3d], 4
je 0x4c3b22
lea eax, [ebp - 0x258]
mov edx, dword [ebx + 0xc8]
call fcn.0040438c
mov eax, dword [ebp - 0x258]
lea ecx, [ebp - 0x254]
mov edx, dword [ebx + 0x38]
call fcn.004c1c50
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4c3b1a
cmp dword [ebx + 0x34], 0
je 0x4c3ff6
mov dword [ebp - 4], 0xf
jmp 0x4c3ff6
mov eax, dword [ebp - 0x3c]
sub eax, 2
add esi, eax
test byte [ebp - 0x3d], 0x10
je 0x4c3b2b
add esi, 2
test byte [ebp - 0x3d], 8
je 0x4c3b34
add esi, 2
test byte [ebp - 0x3d], 0x20
je 0x4c3b3d
add esi, 2
test byte [ebp - 0x3d], 0x40
je 0x4c3b46
add esi, 2
test byte [ebp - 0x3d], 0x80
je 0x4c3b87
mov eax, dword [ebp - 0x14]
mov al, byte [eax + esi]
mov byte [ebp - 0x3e], al
mov edi, 1
mov eax, edi
push eax
push 0
lea ecx, [ebp - 0x3e]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004c1bd4
test byte [ebp - 0x3e], 1
je 0x4c3b75
add edi, 2
test byte [ebp - 0x3e], 2
je 0x4c3b7e
add edi, 2
test byte [ebp - 0x3e], 4
je 0x4c3b87
add edi, 2
add esi, edi
mov eax, dword [ebp - 0x14]
call fcn.00404454
cdq
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x4c3baa
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4c3bb2
jmp 0x4c3ff6
pop edx
pop eax
jge 0x4c3ff6
lea eax, [ebp - 0xc]
push eax
mov ecx, esi
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.004046b4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404454
cdq
push edx
push eax
mov eax, esi
xor edx, edx
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
mov ecx, eax
lea edx, [esi + 1]
mov eax, dword [ebp - 0x14]
call fcn.004046b4
mov edx, dword [ebx + 4]
lea eax, [ebp - 0x10]
call fcn.004047e0
mov ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebp - 0x10]
call fcn.00407804
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call fcn.004044a0
lea eax, [ebp - 0x25c]
mov edx, dword [ebx + 0xc8]
call fcn.0040438c
mov eax, dword [ebp - 0x25c]
lea edx, [ebp - 0x54]
call fcn.004c2094
test al, al
jne 0x4c3c4b
mov dword [ebp - 4], 9
lea eax, [ebp - 0x54]
call fcn.004c1968
jmp 0x4c3ff6
xor ecx, ecx
push ebp
push 0x4c3fef
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x54]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
call fcn.004c3488
test al, al
je 0x4c3fd9
xor eax, eax
mov dword [ebx + 0x24], eax
xor eax, eax
mov dword [ebx + 0x54], eax
xor eax, eax
mov dword [ebx + 0x5c], eax
xor eax, eax
mov dword [ebx + 0x64], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x4c], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 0xc]
call fcn.00404454
mov ecx, eax
lea eax, [ebp - 0x154]
mov edx, dword [ebp - 0xc]
call fcn.00407804
mov eax, dword [ebp - 0xc]
call fcn.00404454
mov esi, eax
mov eax, esi
mov edx, edi
sub al, dl
push eax
push 0
lea ecx, [ebp - 0x154]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004c1bd4
mov eax, edi
push eax
push 0
sub esi, edi
lea ecx, [ebp + esi - 0x154]
mov dl, byte [ebx + 4]
mov eax, dword [ebx]
call fcn.004c1bd4
xor esi, esi
mov al, byte [ebp + esi - 0x154]
mov byte [ebp - 0x3d], al
inc esi
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x20]
wait
add esi, 2
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481ba8
movzx eax, ax
mov dword [ebx + 0x18], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481bcc
movzx eax, ax
mov dword [ebx + 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481bf0
movzx eax, ax
mov dword [ebx + 0x20], eax
test byte [ebp - 0x3d], 1
je 0x4c3dca
mov dword [ebx + 0x24], 0xffffffff
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x28]
wait
add esi, 2
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481ba8
movzx eax, ax
mov dword [ebx + 0x28], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481bcc
movzx eax, ax
mov dword [ebx + 0x2c], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481bf0
movzx eax, ax
mov dword [ebx + 0x30], eax
test byte [ebp - 0x3d], 2
je 0x4c3e0e
lea eax, [ebp + esi - 0x154]
mov eax, dword [eax]
mov dword [ebx + 0x84], eax
add esi, 4
lea eax, [ebp + esi - 0x154]
mov ax, word [eax]
add esi, 2
mov edx, 1
test al, 1
je 0x4c3e03
mov dword [ebx + edx*4 + 0x84], 0xffffffff
movzx eax, ax
shr eax, 1
inc edx
cmp edx, 0x11
jne 0x4c3df4
test byte [ebp - 0x3d], 4
je 0x4c3e42
mov edi, dword [ebp - 0x3c]
sub edi, 2
mov ecx, edi
lea edx, [ebp - 0x252]
lea eax, [ebp + esi - 0x154]
call fcn.00408df8
test al, al
jne 0x4c3e39
mov dword [ebp - 4], 0x11
add esi, edi
mov dword [ebx + 0x34], 0xffffffff
cmp dword [ebp - 4], 0x11
je 0x4c3fd9
test byte [ebp - 0x3d], 0x10
je 0x4c3e69
mov dword [ebx + 0x3c], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x40], eax
add esi, 2
test byte [ebp - 0x3d], 8
je 0x4c3e86
mov dword [ebx + 0x44], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x48], eax
add esi, 2
test byte [ebp - 0x3d], 0x20
je 0x4c3ea3
mov dword [ebx + 0x4c], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x50], eax
add esi, 2
test byte [ebp - 0x3d], 0x40
je 0x4c3ec0
mov dword [ebx + 0x54], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x58], eax
add esi, 2
test byte [ebp - 0x3d], 0x80
je 0x4c3fd4
lea eax, [ebp + esi - 0x154]
mov al, byte [eax]
mov byte [ebp - 0x3e], al
inc esi
test byte [ebp - 0x3e], 1
je 0x4c3ef4
mov dword [ebx + 0x5c], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x60], eax
add esi, 2
test byte [ebp - 0x3e], 2
je 0x4c3f64
mov dword [ebx + 0x64], 0xffffffff
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x30]
wait
add esi, 2
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481ba8
movzx eax, ax
mov dword [ebx + 0x68], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481bcc
movzx eax, ax
mov dword [ebx + 0x6c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481bf0
movzx eax, ax
mov dword [ebx + 0x70], eax
test byte [ebp - 0x3e], 4
je 0x4c3fd4
mov dword [ebx + 0x74], 0xffffffff
mov cx, 1
mov dx, 1
mov ax, 0x7d0
call fcn.0040b674
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebp - 0x260], eax
fild dword [ebp - 0x260]
faddp st(1)
fstp qword [ebp - 0x38]
wait
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481ba8
movzx eax, ax
mov dword [ebx + 0x78], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481bcc
movzx eax, ax
mov dword [ebx + 0x7c], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481bf0
movzx eax, ax
mov dword [ebx + 0x80], eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3ff6
lea eax, [ebp - 0x54]
call fcn.004c1968
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c4028
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004041a8
ret