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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4591d7
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x47d084]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x47d084]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov edi, edx
lea esi, [ebx + 0x30]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], eax
cmp dword [esi], edi
je 0x433b7a
call fcn.0040430e
mov edi, dword [esp + 0x24]
lea esi, [ebx + 0x34]
cmp dword [esi], edi
je 0x433b8a
call fcn.0040430e
fld qword [0x477a58]
push 0x45d7c4
fstp qword [esp + 0x30]
mov esi, edi
fld qword [0x477a50]
lea ebx, [esp + 0x78]
fstp qword [esp + 0x38]
fld qword [esp + 0x30]
fadd qword [0x477a48]
fld qword [esp + 0x30]
fmul qword [0x477a40]
fmul qword [esp + 0x38]
fsubp st(1)
fld qword [esp + 0x30]
fmul qword [0x477a38]
fsubp st(1)
fadd qword [0x477a30]
fadd qword [esp + 0x38]
fsub qword [esp + 0x38]
fsub qword [0x477aa0]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fsub qword [0x477a28]
fadd qword [esp + 0x30]
fadd qword [0x477a20]
fstp qword [esp + 0x38]
fld qword [esp + 0x38]
fadd qword [esp + 0x30]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [0x477a98]
fmul qword [esp + 0x30]
fld qword [esp + 0x30]
fmul qword [0x477a18]
fdiv qword [0x4779d0]
faddp st(1)
fsub qword [esp + 0x30]
fadd qword [esp + 0x38]
push dword [0x47e88c]
fstp qword [esp + 0x34]
call fcn.0044d1f8
xor ebx, ebx
push SysReAllocString
mov dword [esp + 0x19c], ebx
push dword [0x47e97c]
push dword [esp + 0x34]
call fcn.0044d0ae
add esp, 0x14
push 0x80088
push dword [0x47e980]
mov dword [esp + 0x34], eax
push dword [esp + 0x2c]
call fcn.0044d0ae
add esp, 0xc
cmp dword [esp + 0x88], 8
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x74]
jae 0x433c93
lea eax, [esp + 0x74]
cmp eax, ebx
je 0x433cad
cmp dword [esp + 0x88], 8
jb 0x433ca7
mov eax, dword [esp + 0x74]
jmp 0x433cb2
lea eax, [esp + 0x74]
jmp 0x433cb2
mov eax, dword [str._vDMsV]
push eax
lea eax, [esp + 0xc0]
call fcn.004054fa
lea eax, [esp + 0xbc]
push eax
mov ecx, 0xfde9
lea edx, [esp + 0x114]
mov byte [esp + 0x194], 1
call fcn.0044d635
pop ecx
mov byte [esp + 0x190], 2
cmp dword [eax + 0x14], 0x10
jb 0x433cf1
mov eax, dword [eax]
push eax
push dword [0x47e648]
push dword [0x47e644]
push ebx
call fcn.0043e92e
add esp, 0x10
push 1
xor edi, edi
lea esi, [esp + 0x114]
call fcn.0040508f
push 1
lea esi, [esp + 0xc0]
mov byte [esp + 0x194], bl
call fcn.004053d3
mov dword [esp + 0x14], 7
add dword [esp + 0x14], 0xffffffb6
add dword [esp + 0x14], 0x3f
cmp dword [esp + 0x84], ebx
jne 0x433d4e
push 1
jmp 0x43460a
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x433d60
lea eax, [esp + 0x74]
push 0x2010
push ebx
push ebx
push ebx
push eax
push ebx
call fcn.004400f7
mov esi, dword [esp + 0x1c]
mov edi, eax
mov eax, dword [esi + 0x38]
cmp eax, ebx
je 0x433d87
cmp eax, edi
je 0x433d87
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, edi
mov dword [esi + 0x38], edi
cmp ecx, ebx
jne 0x433e5b
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x433da6
lea eax, [esp + 0x74]
cmp eax, ebx
je 0x433dc0
cmp dword [esp + 0x88], 8
jb 0x433dba
mov eax, dword [esp + 0x74]
jmp 0x433dc5
lea eax, [esp + 0x74]
jmp 0x433dc5
mov eax, dword [str._vDMsV]
push eax
lea eax, [esp + 0xdc]
call fcn.004054fa
lea eax, [esp + 0xd8]
push eax
mov ecx, 0xfde9
lea edx, [esp + 0x14c]
mov byte [esp + 0x194], 3
call fcn.0044d635
pop ecx
mov byte [esp + 0x190], 4
cmp dword [eax + 0x14], 0x10
jb 0x433e06
mov esi, dword [eax]
jmp 0x433e08
mov esi, eax
call fcn.0043f1f9
call dword [eax + 0x4c]
push esi
push eax
push dword [0x47e64c]
xor ebx, ebx
inc ebx
push ebx
call fcn.0043e92e
add esp, 0x10
push ebx
xor edi, edi
lea esi, [esp + 0x14c]
call fcn.0040508f
push ebx
lea esi, [esp + 0xdc]
call fcn.004053d3
mov dword [esp + 0x24], 0x60
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x24]
sub eax, ecx
mov dword [esp + 0x24], eax
jmp 0x434609
xor eax, eax
mov dword [esp + 0x5c], ebx
lea edi, [esp + 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [sym.imp.GDI32.dll_GetObjectW]
lea eax, [esp + 0x5c]
push eax
push 0x18
push ecx
call edi
test eax, eax
je 0x434557
mov eax, dword [esp + 0x60]
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x64]
mov dword [esi + 0x48], eax
cmp dword [esi + 0x44], ebx
je 0x434557
cmp eax, ebx
je 0x434557
push ebx
push dword [0x47e974]
push dword [esp + 0x2c]
call fcn.0044d103
add esp, 0xc
cmp eax, ebx
jg 0x433ebb
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
cmp eax, ecx
jle 0x433ec4
mov eax, ecx
mov ecx, dword [esi + 0x48]
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ecx
mov dword [esi + 0x4c], ebx
mov dword [esp + 0x14], 0x43
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
imul eax, eax, 0x23
push 0x13
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x14]
push 0x1a
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
imul eax, eax, 0x4a
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x14]
push ebx
add ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
imul eax, eax, 0x25
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
add dword [esp + 0x18], 0x2f
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, eax, 0x55
imul ecx, ecx, 0x45
sub eax, ecx
mov ecx, dword [esp + 0x18]
sub eax, ecx
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, eax, 0x14
sub ecx, eax
mov eax, dword [esp + 0x18]
push dword [0x47e984]
sub ecx, eax
push dword [esp + 0x2c]
mov dword [esp + 0x20], ecx
call fcn.0044d0ae
mov ecx, eax
add esp, 0xc
cmp ecx, ebx
jne 0x433fb0
push 2
pop ecx
xor edx, edx
fld qword [0x477a58]
mov eax, 0x3e8
div ecx
push 0x18
push ebx
mov dword [esi + 0x50], eax
fstp qword [esp + 0x24]
fld qword [0x477a50]
lea eax, [esp + 0x4c]
fstp qword [esp + 0x1c]
push eax
fld qword [esp + 0x28]
fadd qword [0x477a48]
fld qword [esp + 0x28]
fmul qword [0x477a40]
fmul qword [esp + 0x20]
fsubp st(1)
fld qword [esp + 0x28]
fmul qword [0x477a38]
fsubp st(1)
fadd qword [0x477a30]
fadd qword [esp + 0x20]
fsub qword [esp + 0x20]
fsub qword [0x477aa0]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fsub qword [0x477a28]
fadd qword [esp + 0x28]
fadd qword [0x477a20]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fadd qword [esp + 0x28]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [0x477a98]
fmul qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [0x477a18]
fdiv qword [0x4779d0]
faddp st(1)
fsub qword [esp + 0x28]
fadd qword [esp + 0x20]
fstp qword [esp + 0x28]
call fcn.004130a0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
push 0x18
push dword [esi + 0x38]
call edi
cmp word [esp + 0x54], 1
jne 0x434450
cmp word [esp + 0x56], 0x20
jne 0x434450
mov eax, dword [esp + 0x4c]
mov edi, dword [esp + 0x58]
dec eax
mov dword [esp + 0x40], eax
cmp eax, ebx
jl 0x43425d
fld qword [0x477aa8]
mov dword [esp + 0x3c], ebx
cmp dword [esp + 0x48], ebx
jle 0x434251
mov dword [esp + 0x14], 0x43
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, ecx
imul eax, eax, 0x23
push 0x13
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x14]
push 0x1a
add ecx, dword [esp + 0x18]
add ecx, dword [esp + 0x18]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
imul eax, ecx
imul eax, eax, 0x4a
add eax, dword [esp + 0x18]
add eax, dword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
sub eax, ecx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
pop ecx
sub ecx, eax
add ecx, dword [esp + 0x14]
add ecx, dword [esp + 0x14]
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
imul eax, eax, 0x25
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
add dword [esp + 0x14], 0x2f
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x55
imul ecx, ecx, 0x45
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub eax, ecx
add eax, dword [esp + 0x14]
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x14
sub ecx, eax
mov eax, dword [esp + 0x14]
sub ecx, eax
movzx eax, byte [edi + 3]
mov dword [esp + 0x14], ecx
movzx ecx, byte [edi + 2]
imul ecx, eax
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fdiv st(1)
call fcn.00453b76
movzx ecx, byte [edi + 1]
mov byte [edi + 2], al
movzx eax, byte [edi + 3]
imul ecx, eax
mov dword [esp + 0x1c], ecx
fild dword [esp + 0x1c]
fdiv st(1)
call fcn.00453b76
fld qword [0x4779a0]
mov byte [edi + 1], al
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x477a10]
fsubp st(1)
fld qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fmul qword [esp + 0x1c]
fsubp st(1)
fadd qword [0x477970]
fadd qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x477a08]
fmul qword [esp + 0x1c]
fsubp st(1)
fsub qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fadd qword [esp + 0x1c]
fstp qword [esp + 0x1c]
fld qword [esp + 0x1c]
fmul qword [0x477a00]
fadd qword [esp + 0x1c]
movzx ecx, byte [edi + 3]
movzx eax, byte [edi]
fstp qword [esp + 0x1c]
imul eax, ecx
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fdiv st(1)
call fcn.00453b76
inc dword [esp + 0x3c]
mov byte [edi], al
mov eax, dword [esp + 0x3c]
add edi, 4
cmp eax, dword [esp + 0x48]
jl 0x4340bb
dec dword [esp + 0x40]
jns 0x4340ad
fstp st(0)
fld qword [0x477a58]
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
fstp qword [esp + 0x1c]
fld qword [0x477a50]
push ebx
fstp qword [esp + 0x18]
fld qword [esp + 0x20]
fadd qword [0x477a48]
fld qword [esp + 0x20]
fmul qword [0x477a40]
fmul qword [esp + 0x18]
fsubp st(1)
fld qword [esp + 0x20]
fmul qword [0x477a38]
fsubp st(1)
fadd qword [0x477a30]
fadd qword [esp + 0x18]
fsub qword [esp + 0x18]
fsub qword [0x477aa0]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fsub qword [0x477a28]
fadd qword [esp + 0x20]
fadd qword [0x477a20]
fstp qword [esp + 0x18]
fld qword [esp + 0x18]
fadd qword [esp + 0x20]
fstp qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [0x477a98]
fmul qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [0x477a18]
fdiv qword [0x4779d0]
faddp st(1)
fsub qword [esp + 0x20]
fadd qword [esp + 0x18]
push dword [0x47e96c]
push dword [esp + 0x2c]
fstp qword [esp + 0x28]
call fcn.0044d103
add esp, 0xc
push ebx
push dword [0x47e970]
mov dword [esp + 0x98], eax
push dword [esp + 0x2c]
call fcn.0044d103
fld qword [0x477a58]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x3c]
add eax, dword [esp + 0x9c]
mov dword [esp + 0xa4], eax
fstp qword [esp + 0x28]
fld qword [0x477a50]
fstp qword [esp + 0x30]
fld qword [esp + 0x28]
fadd qword [0x477a48]
fld qword [esp + 0x28]
fmul qword [0x477a40]
fmul qword [esp + 0x30]
fsubp st(1)
fld qword [esp + 0x28]
fmul qword [0x477a38]
fsubp st(1)
fadd qword [0x477a30]
fadd qword [esp + 0x30]
fsub qword [esp + 0x30]
fsub qword [0x477aa0]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fsub qword [0x477a28]
fadd qword [esp + 0x28]
fadd qword [0x477a20]
fstp qword [esp + 0x30]
fld qword [esp + 0x30]
fadd qword [esp + 0x28]
fstp qword [esp + 0x28]
fld qword [esp + 0x28]
fmul qword [0x477a98]
add esp, 8
fmul qword [esp + 0x20]
fld qword [esp + 0x20]
fmul qword [0x477a18]
fdiv qword [0x4779d0]
faddp st(1)
fsub qword [esp + 0x20]
fadd qword [esp + 0x28]
mov eax, dword [esi + 0x40]
add eax, dword [esp + 0x98]
mov dword [esp + 0xa0], eax
fstp qword [esp + 0x20]
mov eax, esp
mov dword [esp + 0x20], esp
push dword [esp + 0x38]
mov dword [eax], ebx
push dword [esp + 0x34]
push ecx
mov eax, esp
lea ecx, [esp + 0xa0]
mov dword [eax], ecx
mov eax, esi
mov dword [esp + 0x3c], esp
call fcn.0040ab19
push 1
xor edi, edi
lea esi, [esp + 0x78]
mov ebx, eax
call fcn.004053d3
mov eax, ebx
jmp 0x434617
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x434462
lea eax, [esp + 0x74]
cmp eax, ebx
je 0x43447c
cmp dword [esp + 0x88], 8
jb 0x434476
mov eax, dword [esp + 0x74]
jmp 0x434481
lea eax, [esp + 0x74]
jmp 0x434481
mov eax, dword [str._vDMsV]
push eax
lea eax, [esp + 0xa4]
call fcn.004054fa
lea eax, [esp + 0xa0]
push eax
mov ecx, 0xfde9
lea edx, [esp + 0x130]
mov byte [esp + 0x194], 7
call fcn.0044d635
pop ecx
mov byte [esp + 0x190], 8
cmp dword [eax + 0x14], 0x10
jb 0x4344c0
mov eax, dword [eax]
push eax
movzx eax, word [esp + 0x5a]
push eax
movzx eax, word [esp + 0x5c]
push eax
push dword [0x47e654]
xor ebx, ebx
inc ebx
push ebx
call fcn.0043e92e
add esp, 0x14
push ebx
xor edi, edi
lea esi, [esp + 0x130]
call fcn.0040508f
push ebx
lea esi, [esp + 0xa4]
call fcn.004053d3
mov dword [esp + 0x24], 0x53
mov dword [esp + 0x1c], 0x20
mov dword [esp + 0x34], 0x2b
push 0x21
pop eax
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x34]
sub edx, ecx
mov dword [esp + 0x24], edx
add dword [esp + 0x24], eax
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x1c]
imul ecx, ecx, 0x12
cdq
push 0x13
pop esi
idiv esi
sub eax, ecx
add eax, dword [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x34]
sub eax, 9
mov dword [esp + 0x1c], eax
jmp 0x434609
cmp dword [esp + 0x88], 8
mov eax, dword [esp + 0x74]
jae 0x434569
lea eax, [esp + 0x74]
cmp eax, ebx
je 0x434583
cmp dword [esp + 0x88], 8
jb 0x43457d
mov eax, dword [esp + 0x74]
jmp 0x434588
lea eax, [esp + 0x74]
jmp 0x434588
mov eax, dword [str._vDMsV]
push eax
lea eax, [esp + 0xf8]
call fcn.004054fa
lea eax, [esp + 0xf4]
push eax
mov ecx, 0xfde9
lea edx, [esp + 0x168]
mov byte [esp + 0x194], 5
call fcn.0044d635
pop ecx
mov byte [esp + 0x190], 6
cmp dword [eax + 0x14], 0x10
jb 0x4345c9
mov edi, dword [eax]
jmp 0x4345cb
mov edi, eax
call fcn.0043f1f9
call dword [eax + 0x4c]
push edi
push eax
push dword [esi + 0x48]
xor ebx, ebx
push dword [esi + 0x44]
inc ebx
push dword [0x47e650]
push ebx
call fcn.0043e92e
add esp, 0x18
push ebx
xor edi, edi
lea esi, [esp + 0x168]
call fcn.0040508f
push ebx
lea esi, [esp + 0xf8]
call fcn.004053d3
push ebx
xor edi, edi
lea esi, [esp + 0x78]
call fcn.004053d3
xor eax, eax
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.00410fce
mov esp, ebp
pop ebp
ret 4