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

Disassembly:
push 0xffffffffffffffff
push 0x4193e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x650
mov eax, dword [0x4245a0]
push ebp
push edi
mov edi, dword [esp + 0x668]
test edi, edi
mov ebp, ecx
mov dword [esp + 0x654], eax
mov dword [esp + 0x10], ebp
je 0x40ee5d
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x20]
xor ebx, ebx
test eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x20], ebx
jle 0x40ee5c
push esi
lea esp, [esp]
mov edx, dword [edi]
push ebx
mov ecx, edi
call dword [edx + 0x24]
mov esi, eax
test esi, esi
je 0x40ee4a
test ebp, ebp
mov dword [esp + 0x20], esi
je 0x40eb5f
lea eax, [ebp + 0x54]
jmp 0x40eb61
xor eax, eax
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp eax, 0xf
je 0x40edc9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 4]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
lea edi, [ebp + 0x6c]
push eax
mov ecx, edi
call fcn.0040e780
mov ebx, dword [eax]
test ebx, ebx
je 0x40ec5e
mov edx, dword [ebx]
push esi
mov ecx, ebx
call dword [edx]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x5c]
mov ebp, eax
mov eax, dword [esp + 0x674]
push eax
push ebp
call fcn.00410400
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], ebp
call dword [edx + 4]
cmp eax, 6
jne 0x40ec38
lea eax, [esp + 0x28]
push eax
mov ecx, edi
mov dword [esp + 0x2c], 0
call fcn.0040e780
mov ecx, dword [eax]
mov edx, dword [ecx]
push esi
call dword [edx]
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx + 0x5c]
mov edi, eax
mov eax, dword [esp + 0x10]
push eax
push edi
call fcn.00410400
push str.Alpha
mov ecx, edi
call fcn.00411150
push str.The_alpha_value_for_this_color_n255opaque__0transparent
mov ecx, edi
call fcn.00411190
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x38]
push edx
add ecx, 0x78
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], edi
call fcn.0040e850
push 1
mov ecx, ebp
call fcn.00411060
mov ecx, dword [esp + 0x10]
mov eax, dword [ebx]
push esi
push ecx
mov ecx, ebx
call dword [eax + 4]
mov edx, dword [ebx]
push esi
push ebp
mov ecx, ebx
call dword [edx + 8]
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x670]
jmp 0x40ee28
push 0x78
call sub.MFC71.DLL_operator_new
add esp, 4
mov dword [esp + 0x28], eax
xor edi, edi
cmp eax, edi
mov dword [esp + 0x668], edi
je 0x40ec82
mov ecx, eax
call fcn.00410ef0
jmp 0x40ec84
xor eax, eax
mov ecx, dword [ebp + 0x5c]
push edi
push eax
mov dword [esp + 0x670], 0xffffffff
call fcn.00410400
mov ebx, eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
lea edx, [esp + 0x5c]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x40eca6
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
lea edx, [esp + 0x15c]
mov edi, edi
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x40ecc0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], edi
call dword [sym.imp.base.dll_public:_static_class_ubi::Allocator____cdecl_ubi::Mem::GetGeneralAlloc_void_]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
push 0x41af78
lea ecx, [esp + 0x48]
call fcn.00405590
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x66c], 1
call dword [edx + 0x58]
mov eax, dword [esp + 0x58]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x44]
jae 0x40ed1b
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x264]
push str._s___s_
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0x25c]
push eax
mov ecx, ebx
call fcn.00411150
lea ecx, [esp + 0x15c]
push ecx
mov ecx, ebx
call fcn.00411190
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x34]
movzx eax, al
push eax
mov ecx, ebx
call fcn.004110a0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
movzx eax, al
push eax
mov ecx, ebx
call fcn.004110c0
cmp dword [esp + 0x58], edi
mov dword [esp + 0x668], 0xffffffff
jb 0x40ed98
mov ecx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edx, dword [ecx]
push eax
call dword [edx + 8]
lea ecx, [esp + 0x17]
push ecx
lea edx, [esp + 0x48]
push edx
mov dword [esp + 0x60], 0xf
mov byte [esp + 0x1f], 0
mov dword [esp + 0x5c], 0
call dword [sym.imp.MSVCP71.dll_public:_static_void___cdecl_std::char_traits_char_::assign_char___char_const__]
mov edi, dword [esp + 0x678]
add esp, 8
jmp 0x40ee28
mov eax, dword [esi]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x14], 0
call dword [eax + 0x64]
mov edx, dword [esp + 0x674]
mov eax, dword [esp + 0x10]
push edx
push eax
mov ecx, ebp
call fcn.0040d5d0
mov edx, dword [esi]
mov ebx, eax
mov ecx, esi
mov dword [esp + 0x1c], ebx
call dword [edx + 0x34]
movzx eax, al
push eax
mov ecx, ebx
call fcn.004110a0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x30]
movzx eax, al
push eax
mov ecx, ebx
call fcn.004110c0
mov ecx, dword [esp + 0x10]
push ebx
push ecx
mov ecx, ebp
call fcn.0040eae0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x24]
mov ecx, dword [esp + 0x1c]
push eax
call fcn.00411030
lea eax, [esp + 0x1c]
push eax
lea ecx, [ebp + 0x78]
call fcn.0040e850
mov ebx, dword [esp + 0x24]
mov eax, dword [esp + 0x2c]
inc ebx
cmp ebx, eax
mov dword [esp + 0x24], ebx
jl 0x40eb40
pop esi
pop ebx
mov ecx, dword [esp + 0x658]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x650]
pop ebp
call fcn.00417291
add esp, 0x65c
ret 8