Function at 0x4c35e8
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 0x4c3d55
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 0x4c363e
cmp dword [ebx + 0x14], 0
jne 0x4c364a
mov dword [ebp - 4], 2
jmp 0x4c3d2a
cmp dword [ebx], 0
je 0x4c3655
cmp dword [ebx + 4], 0
jne 0x4c3661
mov dword [ebp - 4], 4
jmp 0x4c3d2a
cmp dword [ebx + 0xc8], 0
jne 0x4c3676
mov dword [ebp - 4], 7
jmp 0x4c3d2a
cmp dword [ebx + 0x34], 0
je 0x4c369a
mov esi, dword [ebx + 0x38]
test esi, esi
je 0x4c368e
mov eax, esi
call fcn.00409bf0
test eax, eax
jne 0x4c369a
mov dword [ebp - 4], 0x10
jmp 0x4c3d2a
mov eax, dword [ebx + 8]
cmp eax, 5
ja case.default.0x4c36a2
jmp dword [eax*4 + 0x4c36a9]
mov byte [ebp - 0x48], 1
jmp 0x4c36f1
mov byte [ebp - 0x48], 1
jmp 0x4c36f1
mov byte [ebp - 0x48], 0
jmp 0x4c36f1
mov byte [ebp - 0x48], 7
jmp 0x4c36f1
mov byte [ebp - 0x48], 4
jmp 0x4c36f1
mov byte [ebp - 0x48], 5
jmp 0x4c36f1
mov dword [ebp - 4], 0xa
jmp 0x4c3d2a
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 0x4c379a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebx + 0xc]
cmp eax, 4
ja case.default.0x4c3720
jmp dword [eax*4 + 0x4c3727]
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call 0x4c0a6c
jmp 0x4c3790
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c0b74
jmp 0x4c3790
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c0c88
jmp 0x4c3790
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c0da4
jmp 0x4c3790
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x10]
call fcn.004c0ed0
jmp 0x4c3790
mov dword [ebp - 4], 0xb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c3d2a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c37ae
mov eax, dword [ebp - 0x14]
call fcn.00404454
test eax, eax
je 0x4c3d2a
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.004c18f8
add esi, 2
test byte [ebp - 0x3d], 1
je 0x4c37eb
add esi, 2
test byte [ebp - 0x3d], 2
je 0x4c37f4
add esi, 6
test byte [ebp - 0x3d], 4
je 0x4c3846
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.004c1974
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
jne 0x4c383e
cmp dword [ebx + 0x34], 0
je 0x4c3d2a
mov dword [ebp - 4], 0xf
jmp 0x4c3d2a
mov eax, dword [ebp - 0x3c]
sub eax, 2
add esi, eax
test byte [ebp - 0x3d], 0x10
je 0x4c384f
add esi, 2
test byte [ebp - 0x3d], 8
je 0x4c3858
add esi, 2
test byte [ebp - 0x3d], 0x20
je 0x4c3861
add esi, 2
test byte [ebp - 0x3d], 0x40
je 0x4c386a
add esi, 2
test byte [ebp - 0x3d], 0x80
je 0x4c38ab
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.004c18f8
test byte [ebp - 0x3e], 1
je 0x4c3899
add edi, 2
test byte [ebp - 0x3e], 2
je 0x4c38a2
add edi, 2
test byte [ebp - 0x3e], 4
je 0x4c38ab
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 0x4c38ce
cmp eax, dword [esp]
pop edx
pop eax
jb 0x4c38d6
jmp 0x4c3d2a
pop edx
pop eax
jge 0x4c3d2a
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.004c1db8
test al, al
jne 0x4c396f
mov dword [ebp - 4], 9
lea eax, [ebp - 0x54]
call fcn.004c168c
jmp 0x4c3d2a
xor ecx, ecx
push ebp
push 0x4c3d23
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.004c31ac
test al, al
je 0x4c3d0d
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.004c18f8
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.004c18f8
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.00481afc
movzx eax, ax
mov dword [ebx + 0x18], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481b20
movzx eax, ax
mov dword [ebx + 0x1c], eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
call fcn.00481b44
movzx eax, ax
mov dword [ebx + 0x20], eax
test byte [ebp - 0x3d], 1
je 0x4c3ac8
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.00481afc
movzx eax, ax
mov dword [ebx + 0x28], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481b20
movzx eax, ax
mov dword [ebx + 0x2c], eax
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00481b44
movzx eax, ax
mov dword [ebx + 0x30], eax
jmp 0x4c3acd
xor eax, eax
mov dword [ebx + 0x24], eax
test byte [ebp - 0x3d], 2
je 0x4c3b11
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 0x4c3b06
mov dword [ebx + edx*4 + 0x84], 0xffffffff
movzx eax, ax
shr eax, 1
inc edx
cmp edx, 0x11
jne 0x4c3af7
test byte [ebp - 0x3d], 4
je 0x4c3b4f
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 0x4c3b46
mov dword [ebp - 4], 0x11
call fcn.00403bac
jmp 0x4c3d2a
add esi, edi
mov dword [ebx + 0x34], 0xffffffff
test byte [ebp - 0x3d], 0x10
je 0x4c3b6e
mov dword [ebx + 0x3c], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x40], eax
add esi, 2
jmp 0x4c3b73
xor eax, eax
mov dword [ebx + 0x3c], eax
test byte [ebp - 0x3d], 8
je 0x4c3b92
mov dword [ebx + 0x44], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x48], eax
add esi, 2
jmp 0x4c3b97
xor eax, eax
mov dword [ebx + 0x44], eax
test byte [ebp - 0x3d], 0x20
je 0x4c3bb6
mov dword [ebx + 0x4c], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x50], eax
add esi, 2
jmp 0x4c3bbb
xor eax, eax
mov dword [ebx + 0x4c], eax
test byte [ebp - 0x3d], 0x40
je 0x4c3bda
mov dword [ebx + 0x54], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x58], eax
add esi, 2
jmp 0x4c3bdf
xor eax, eax
mov dword [ebx + 0x54], eax
test byte [ebp - 0x3d], 0x80
je 0x4c3d08
lea eax, [ebp + esi - 0x154]
mov al, byte [eax]
mov byte [ebp - 0x3e], al
inc esi
test byte [ebp - 0x3e], 1
je 0x4c3c15
mov dword [ebx + 0x5c], 0xffffffff
lea eax, [ebp + esi - 0x154]
movzx eax, word [eax]
mov dword [ebx + 0x60], eax
add esi, 2
jmp 0x4c3c1a
xor eax, eax
mov dword [ebx + 0x5c], eax
test byte [ebp - 0x3e], 2
je 0x4c3c8c
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.00481afc
movzx eax, ax
mov dword [ebx + 0x68], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481b20
movzx eax, ax
mov dword [ebx + 0x6c], eax
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
call fcn.00481b44
movzx eax, ax
mov dword [ebx + 0x70], eax
jmp 0x4c3c91
xor eax, eax
mov dword [ebx + 0x64], eax
test byte [ebp - 0x3e], 4
je 0x4c3d03
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.00481afc
movzx eax, ax
mov dword [ebx + 0x78], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481b20
movzx eax, ax
mov dword [ebx + 0x7c], eax
push dword [ebp - 0x34]
push dword [ebp - 0x38]
call fcn.00481b44
movzx eax, ax
mov dword [ebx + 0x80], eax
jmp 0x4c3d08
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3d2a
lea eax, [ebp - 0x54]
call fcn.004c168c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4c3d5c
lea eax, [ebp - 0x25c]
mov edx, 2
call fcn.004041a8
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.004041a8
ret