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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
push 0x41a36c
mov ecx, ebx
call fcn.0040d080
push 0
push 0x41a368
mov ecx, ebx
mov esi, eax
call fcn.0040d080
push 0
push 0x41a364
mov ecx, ebx
mov edi, eax
call fcn.0040d080
test esi, esi
mov ebx, eax
je 0x4077d5
test edi, edi
je 0x4077d5
test ebx, ebx
je 0x4077d5
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x64]
push ecx
push esi
call fcn.00402920
add esp, 0xc
test al, al
je 0x407b16
lea edx, [esp + 0x78]
push edx
lea eax, [esp + 0x74]
push eax
push edi
call fcn.00402920
add esp, 0xc
test al, al
je 0x407b16
lea ecx, [esp + 0x88]
push ecx
lea edx, [esp + 0x84]
push edx
push ebx
call fcn.00402920
add esp, 0xc
test al, al
je 0x407b16
mov ecx, dword [ebp + 8]
push 0
push 0x41a3a8
call fcn.0040d080
mov esi, eax
xor edi, edi
cmp esi, edi
je 0x407b16
cmp byte [esi], 0
je 0x407b16
lea ecx, [esp + 0x90]
call fcn.004131a0
mov ecx, dword [ebp + 0xc]
push edi
lea eax, [esp + 0x94]
push eax
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], edi
mov dword [esp + 0xbc], edi
mov dword [esp + 0xc0], edi
call fcn.00407070
lea ecx, [esp + 0x90]
mov ebx, eax
call fcn.00407020
inc esi
push esi
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, dword [ebp + 8]
add esp, 4
push edi
push str.reversible
mov ecx, esi
mov dword [ebx + 0x70], eax
call fcn.0040d080
cmp eax, edi
je 0x40787a
push 0x41a398
push eax
call dword [sym.imp.MSVCRT.dll__strcmpi]
add esp, 8
test eax, eax
jne 0x40787a
mov byte [ebx + 0x74], al
jmp 0x40787e
mov byte [ebx + 0x74], 1
lea ecx, [ebx + 0x30]
push ecx
lea edx, [esp + 0x64]
push edx
call fcn.00402300
add esp, 8
mov ecx, esi
call fcn.0040d100
xor esi, esi
cmp eax, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x1c], esi
jle 0x407b05
mov ecx, dword [ebp + 8]
push esi
lea eax, [esp + 0x1c]
push eax
call fcn.0040d720
lea ecx, [esp + 0x18]
call fcn.0040d110
test al, al
jne 0x407aeb
push edi
push str.color
lea ecx, [esp + 0x20]
call fcn.0040d080
mov esi, eax
cmp esi, edi
je 0x40792c
push str.transparent
push esi
call dword [sym.imp.MSVCRT.dll__strcmpi]
mov eax, esi
add esp, 8
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4078f0
sub eax, edx
cmp eax, 6
jne 0x40792c
push esi
call fcn.004027d0
lea ecx, [esi + 2]
push ecx
mov byte [esp + 0x1c], al
call fcn.004027d0
add esi, 4
push esi
mov byte [esp + 0x21], al
call fcn.004027d0
add esp, 0xc
mov byte [esp + 0x16], al
mov byte [esp + 0x17], 0xff
jmp 0x407931
mov byte [esp + 0x17], 0
push edi
lea edx, [esp + 0x18]
push edx
lea ecx, [ebx + 0x18]
call fcn.0040ab20
mov ecx, ebx
call fcn.00413590
mov dword [esp + 0x30], eax
push edi
lea eax, [esp + 0x34]
push eax
lea ecx, [ebx + 0x24]
call fcn.0040ab20
lea ecx, [esp + 0x18]
call fcn.0040d100
xor esi, esi
cmp eax, edi
mov dword [esp + 0x34], eax
jle 0x407ade
nop
push esi
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.0040d720
push edi
push 0x41a394
lea ecx, [esp + 0x18]
call fcn.0040d080
cmp eax, edi
je 0x407ac8
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x3c]
add esp, 4
push edi
push 0x41a390
lea ecx, [esp + 0x18]
call fcn.0040d080
cmp eax, edi
je 0x407ac8
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x24]
add esp, 4
cmp esi, edi
jne 0x4079eb
fld qword [esp + 0x20]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, ebx
fld qword [esp + 0x48]
fstp qword [esp]
call fcn.00401eb0
jmp 0x407ac8
push edi
push 0x41a38c
lea ecx, [esp + 0x18]
call fcn.0040d080
cmp eax, edi
je 0x407aaf
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x4c]
add esp, 4
push edi
push 0x41a388
lea ecx, [esp + 0x18]
call fcn.0040d080
cmp eax, edi
je 0x407aaf
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x5c]
add esp, 4
push edi
push 0x41a384
lea ecx, [esp + 0x18]
call fcn.0040d080
cmp eax, edi
je 0x407aaf
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fstp qword [esp + 0x54]
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x18]
push 0x41a380
push eax
call fcn.004027a0
add esp, 0x10
test al, al
je 0x407aaf
fld qword [esp + 0x20]
sub esp, 0x30
fstp qword [esp + 0x28]
mov ecx, ebx
fld qword [esp + 0x68]
fstp qword [esp + 0x20]
fld qword [esp + 0x70]
fstp qword [esp + 0x18]
fld qword [esp + 0x80]
fstp qword [esp + 0x10]
fld qword [esp + 0x88]
fstp qword [esp + 8]
fld qword [esp + 0x78]
fstp qword [esp]
call fcn.00413460
jmp 0x407ac8
fld qword [esp + 0x20]
sub esp, 0x10
fstp qword [esp + 8]
mov ecx, ebx
fld qword [esp + 0x48]
fstp qword [esp]
call fcn.00401f00
lea ecx, [esp + 0x10]
call fcn.0040d5f0
mov eax, dword [esp + 0x34]
inc esi
cmp esi, eax
jl 0x407970
push 0x40
mov ecx, ebx
call fcn.00413540
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x18]
call fcn.0040d5f0
mov eax, dword [esp + 0x2c]
inc esi
cmp esi, eax
mov dword [esp + 0x1c], esi
jl 0x4078a8
cmp dword [ebx], 3
jae 0x407b16
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
dec edx
push edx
call fcn.004072d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret