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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
push 0xffffffffffffffff
push 0x4b36e0
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x5f4f2c]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
mov dword [esp + 0x3c], edi
call fcn.0047c580
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41478e
push 0x80004005
call fcn.00401060
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x38], eax
mov ebx, dword [esi + 0x14]
mov dword [esp + 0x80], edi
cmp ebx, edi
je 0x4148e4
fld qword [esi + 0x18]
lea edi, [esi + 0x18]
call fcn.00493c70
lea ecx, [esp + 0x34]
push ecx
lea edx, [esp + 0x40]
push edx
lea ecx, [ebx + 4]
mov dword [esp + 0x3c], eax
call fcn.0040e310
mov eax, dword [esi + 0x14]
mov esi, dword [esp + 0x3c]
mov ebx, dword [eax + 0x1c]
add eax, 4
mov eax, dword [eax]
test esi, esi
je 0x4147e8
cmp esi, eax
je 0x4147ed
call fcn.00494b42
cmp dword [esp + 0x40], ebx
je 0x41486b
test esi, esi
jne 0x414867
call fcn.00494b42
mov eax, dword [esp + 0x40]
cmp eax, dword [esi + 0x18]
jne 0x41480a
call fcn.00494b42
mov ecx, dword [esp + 0x40]
mov eax, dword [ecx + 0x10]
sub eax, 0x10
push eax
call fcn.00401780
mov esi, dword [ebp + 8]
add eax, 0x10
mov dword [esi], eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 4
mov dword [esp + 0x80], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414850
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esi]
jmp 0x4147fc
fld qword [edi]
lea edx, [esp + 0x38]
fnstcw word [esp + 0x34]
movzx eax, word [esp + 0x34]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
push ecx
push str.0x_X
push edx
fldcw word [esp + 0x40]
call fcn.00401ce0
mov esi, dword [esp + 0x44]
add esi, 0xfffffff0
push esi
call fcn.00401780
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
add esp, 0x10
mov dword [esp + 0x80], 0xffffffff
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x414ad9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x414ad9
mov eax, dword [esi + 0x10]
test al, 1
je 0x414928
fld qword [esi + 0x18]
lea edx, [esp + 0x38]
fnstcw word [esp + 0x34]
movzx eax, word [esp + 0x34]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
push ecx
push str.0x_X
push edx
fldcw word [esp + 0x40]
call fcn.00401ce0
add esp, 0xc
jmp 0x414a9d
test al, 4
je 0x41497e
fld qword [esi + 0x18]
fnstcw word [esp + 0x34]
movzx eax, word [esp + 0x34]
or eax, 0xc00
mov dword [esp + 0x3c], eax
fldcw word [esp + 0x3c]
fistp qword [esp + 0x3c]
mov eax, dword [esp + 0x3c]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
fldcw word [esp + 0x34]
push edx
mov ecx, eax
shr ecx, 8
movzx edx, cl
push edx
movzx eax, al
push eax
lea ecx, [esp + 0x44]
push str.RGB__d__d__d_
push ecx
call fcn.00401ce0
add esp, 0x14
jmp 0x414a9d
test al, 2
je 0x414a6c
lea ecx, [esp + 0x34]
call fcn.004017f0
fld qword [esi + 0x18]
sub esp, 8
fstp qword [esp]
lea edx, [esp + 0x3c]
push 0x4c36ec
push edx
mov byte [esp + 0x90], 1
call fcn.00401ce0
mov esi, dword [esp + 0x44]
movzx eax, word [esi]
add esp, 0x10
cmp ax, di
je 0x4149e6
movzx eax, ax
cmp ax, 0x45
je 0x4149e6
cmp ax, 0x65
je 0x4149e6
movzx eax, ax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040b6e0
movzx eax, word [esi + 2]
add esi, 2
cmp ax, di
jne 0x4149c1
push 0x30
lea ecx, [esp + 0x3c]
call fcn.0040e290
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.0040e290
movzx eax, word [esi]
cmp ax, 0x45
je 0x414a0b
cmp ax, 0x65
jne 0x414a1b
movzx eax, ax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040b6e0
add esi, 2
movzx eax, word [esi]
cmp ax, 0x2b
je 0x414a2a
cmp ax, 0x2d
jne 0x414a3a
movzx eax, ax
push eax
lea ecx, [esp + 0x3c]
call fcn.0040b6e0
add esi, 2
cmp word [esi], 0x30
jne 0x414a4f
cmp word [esi + 2], di
je 0x414a4f
add esi, 2
cmp word [esi], 0x30
je 0x414a40
push esi
lea ecx, [esp + 0x3c]
call fcn.00413030
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 0
call fcn.0040b230
jmp 0x414a9d
fld qword [esi + 0x18]
sub esp, 8
fstp qword [esp]
lea eax, [esp + 0x40]
push 0x4c36e4
push eax
call fcn.00401ce0
add esp, 0x10
push 0x30
lea ecx, [esp + 0x3c]
call fcn.0040e290
push 0x2e
lea ecx, [esp + 0x3c]
call fcn.0040e290
mov esi, dword [esp + 0x38]
add esi, 0xfffffff0
push esi
call fcn.00401780
mov edi, dword [ebp + 8]
add eax, 0x10
add esp, 4
mov dword [edi], eax
mov dword [esp + 0x80], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414ad9
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4