Function at 0x415af0
Capabilities:
Check for time delay via gettickcount
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
push edi
mov ecx, dword [esi + 0xc]
cmp dword [ecx + 0x6e], 3
je 0x41600f
mov eax, dword [esi + 8]
cmp byte [eax + 5], 1
jg 0x415b1f
mov dl, byte [eax + 6]
test dl, dl
je 0x415bc6
mov eax, dword [eax + 0x21]
lea edi, [esi + 0x43]
push 1
push edi
push ecx
mov ecx, esp
push eax
call fcn.00417280
lea ecx, [esp + 0x44]
push ecx
call fcn.00460650
mov eax, dword [edi + 8]
mov edx, dword [edi]
sub eax, edx
mov ecx, dword [edi + 4]
cdq
sub eax, edx
mov edx, dword [edi]
sar eax, 1
add eax, edx
mov dword [esp + 0x30], eax
mov eax, dword [edi + 0xc]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esi + 0x47]
sar eax, 1
add eax, edx
mov edx, dword [esi + 0x3f]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x3c], edx
call fcn.00413c70
mov ecx, dword [esi + 0xc]
add esp, 0x14
fild dword [ecx + 0x8e]
fld qword [esp + 0x30]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x415b93
fld st(0)
jmp 0x415b95
fld st(1)
fild dword [ecx + 0x92]
fstp qword [esp + 0x38]
fcomp qword [esp + 0x38]
fnstsw ax
test ah, 1
je 0x415bbb
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x415bc3
fstp st(0)
fld qword [esp + 0x30]
jmp 0x415bc3
fstp st(0)
fstp st(0)
fld qword [esp + 0x38]
fstp qword [esi + 0x2a]
mov eax, dword [ecx + 0x86]
test eax, eax
je 0x415daa
mov ecx, dword [ecx + 0x8a]
test ecx, ecx
je 0x4165fe
mov edx, dword [esi]
push ecx
mov ecx, dword [0x4d6de4]
push ecx
push edx
call fcn.00479e20
mov ecx, dword [esi + 0xc]
add esp, 0xc
fst qword [esp + 0x38]
mov edx, dword [ecx + 0x82]
cmp edx, 2
jne 0x415c65
mov edi, dword [ecx + 0x92]
mov dword [esp + 0x18], edi
fild dword [esp + 0x18]
fld st(1)
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x415c63
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 1
je 0x415c65
mov ecx, dword [ecx + 0x8e]
sub edi, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], edi
fild dword [esp + 0x10]
fdivr st(1)
call fcn.00496fa4
imul eax, edi
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fsubr st(1)
fabs
fiadd dword [esp + 0xc]
fstp qword [esp + 0x38]
fstp st(0)
jmp 0x415d13
fstp st(0)
cmp edx, 3
jne 0x415cee
mov edi, dword [ecx + 0x92]
mov ecx, dword [ecx + 0x8e]
mov dword [esp + 0x18], edi
sub edi, ecx
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], ecx
fild dword [esp + 0x10]
fdivr st(1)
call fcn.00496fa4
imul eax, edi
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fsubr st(1)
fabs
fstp qword [esp + 0x10]
fild dword [esp + 0xc]
fstp qword [esp + 0x20]
fcom qword [esp + 0x20]
fnstsw ax
test ah, 1
je 0x415ccb
cmp dword [esi + 0x3a], 1
jne 0x415ccb
fstp st(0)
fld qword [esp + 0x20]
fadd qword [esp + 0x10]
jmp 0x415d0f
fild dword [esp + 0x18]
fstp qword [esp + 0x20]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x41
jne 0x415d13
cmp dword [esi + 0x3a], 0xffffffff
jne 0x415d13
fld qword [esp + 0x20]
fsub qword [esp + 0x10]
jmp 0x415d0f
fild dword [ecx + 0x92]
fxch st(1)
fcompp
fnstsw ax
test ah, 0x41
jne 0x415d13
test edx, edx
jne 0x415d13
mov eax, dword [esi + 0x3f]
mov ecx, dword [eax]
lea ecx, [ecx + ecx*2]
fld dword [eax + ecx*4 + 4]
fstp qword [esp + 0x38]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x25]
mov edx, eax
sub edx, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
mov dword [esi + 0x25], eax
fild dword [esp + 0x18]
fimul dword [esi + 0x11]
fmul dword [esi + 0x15]
fmul dword [0x4bd920]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fcomp dword [0x4bd91c]
fnstsw ax
test ah, 0x40
jne 0x4165fe
fld qword [esp + 0x38]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 0x40
jne 0x4165fe
fld qword [esp + 0x38]
fcomp qword [esi + 0x2a]
fld dword [esp + 0x18]
fnstsw ax
test ah, 0x41
jne 0x415d91
fadd qword [esi + 0x2a]
fcom qword [esp + 0x38]
fnstsw ax
test ah, 1
jne 0x415d8c
fstp st(0)
fld qword [esp + 0x38]
fstp qword [esi + 0x2a]
jmp 0x415ddb
fsubr qword [esi + 0x2a]
fcom qword [esp + 0x38]
fnstsw ax
test ah, 0x41
je 0x415d8c
fstp st(0)
fld qword [esp + 0x38]
fstp qword [esi + 0x2a]
jmp 0x415ddb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x25]
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
mov dword [esi + 0x25], eax
fild dword [esp + 0x18]
fimul dword [esi + 0x3a]
fimul dword [esi + 0x11]
fmul dword [esi + 0x15]
fmul dword [0x4bd920]
fadd qword [esi + 0x2a]
fstp qword [esi + 0x2a]
mov edi, dword [esi + 0xc]
mov ecx, dword [edi + 0x82]
cmp ecx, 2
jne 0x415e3b
mov ebx, dword [edi + 0x92]
mov dword [esp + 0x18], ebx
fild dword [esp + 0x18]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 1
je 0x415e3b
mov eax, dword [edi + 0x8e]
fld qword [esi + 0x2a]
sub ebx, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebx
fild dword [esp + 0x10]
fdivr st(1)
call fcn.00496fa4
imul eax, ebx
mov dword [esp + 0x18], eax
mov byte [esi + 0x3e], 0
fild dword [esp + 0x18]
fsubr st(1)
fiadd dword [esp + 0xc]
fstp qword [esi + 0x2a]
fstp st(0)
jmp 0x415e9d
cmp ecx, 3
jne 0x415ef3
mov ebx, dword [edi + 0x92]
mov eax, dword [edi + 0x8e]
fld qword [esi + 0x2a]
mov dword [esp + 0x18], ebx
sub ebx, eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], eax
fild dword [esp + 0x10]
fdivr st(1)
call fcn.00496fa4
imul eax, ebx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fsubp st(1)
fabs
fild dword [esp + 0xc]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 0x41
jne 0x415ed4
mov dword [esi + 0x3a], 1
fild dword [edi + 0x8e]
fadd st(1)
fstp qword [esi + 0x2a]
fstp st(0)
cmp dword [edi + 0x82], 1
jne 0x415f18
fild dword [edi + 0x92]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 1
je 0x415f18
mov eax, dword [esi + 0x3f]
mov ecx, dword [eax]
mov byte [esi + 0x3e], 0
lea ecx, [ecx + ecx*2]
lea eax, [eax + ecx*4]
lea ebx, [eax - 0x10]
add eax, 0xfffffffc
mov dword [esp + 0x18], eax
jmp 0x415f9c
fild dword [esp + 0x18]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 1
je 0x415e9b
mov dword [esi + 0x3a], 0xffffffff
fild dword [edi + 0x92]
fsub st(1)
jmp 0x415e98
fild dword [edi + 0x92]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 1
je 0x415e9d
test ecx, ecx
jne 0x415e9d
mov eax, dword [esi + 0x3f]
mov ecx, dword [eax]
lea edx, [ecx + ecx*2]
fld dword [eax + edx*4 + 4]
fstp qword [esi + 0x2a]
jmp 0x415e9d
fild dword [edi + 0x8e]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 0x41
je 0x415f8f
mov ebx, dword [esi + 0x3f]
mov dword [esp + 0x18], 0
mov edi, dword [ebx]
dec edi
mov eax, edi
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
lea edx, [ecx + ecx*2]
fld dword [ebx + edx*4 + 0x10]
fcomp qword [esi + 0x2a]
lea edx, [ebx + edx*4]
fnstsw ax
test ah, 0x41
jne 0x415f64
mov eax, dword [esp + 0x18]
mov edi, ecx
add eax, ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
jmp 0x415f3f
fld dword [edx + 0x1c]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 1
je 0x415f81
lea eax, [ecx + edi]
mov dword [esp + 0x18], ecx
cdq
sub eax, edx
sar eax, 1
mov ecx, eax
jmp 0x415f3f
lea ecx, [ecx + ecx*2]
lea eax, [ebx + ecx*4]
lea ebx, [eax + 8]
add eax, 0x14
jmp 0x415f98
mov eax, dword [esi + 0x3f]
lea ebx, [eax + 0x14]
add eax, 8
mov dword [esp + 0x18], eax
fld dword [ebx + 8]
mov ecx, dword [esp + 0x18]
mov eax, dword [ebx]
fsubr qword [esi + 0x2a]
fld dword [ecx + 8]
fsub dword [ebx + 8]
mov edx, dword [ecx]
mov dword [esp + 0xc], eax
sub edx, eax
fadd qword [0x4bd908]
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmul st(2)
fdiv st(1)
fiadd dword [esp + 0xc]
fadd qword [0x4bd0b8]
call fcn.00496fa4
mov ebx, dword [ebx + 4]
mov edi, eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ebx
mov ecx, dword [eax + 4]
sub ecx, ebx
mov dword [esp + 0x18], ecx
fild dword [esp + 0x18]
fmul st(2)
fdiv st(1)
fiadd dword [esp + 0x10]
fadd qword [0x4bd0b8]
call fcn.00496fa4
fstp st(0)
fstp st(0)
mov ebx, eax
jmp 0x4163ce
mov ecx, dword [ecx + 0x8a]
test ecx, ecx
je 0x4165fe
mov edx, dword [0x4d6de4]
mov eax, dword [esi]
push ecx
push edx
push eax
call fcn.00479e20
mov ecx, dword [esi + 0xc]
add esp, 0xc
fstp qword [esp + 0x38]
mov eax, dword [ecx + 0x96]
test eax, eax
je 0x4165fe
mov edx, dword [0x4d6de4]
push eax
mov eax, dword [esi]
push edx
push eax
call fcn.00479e20
mov eax, dword [esi + 8]
mov ebx, dword [esi + 0x3f]
fstp qword [esp + 0x1c]
mov cl, byte [eax + 5]
add esp, 0xc
cmp cl, 1
jg 0x416075
mov cl, byte [eax + 6]
test cl, cl
je 0x41613c
mov edx, dword [eax + 0x21]
lea edi, [esi + 0x43]
push 1
push edi
push ecx
mov ecx, esp
push edx
call fcn.00417280
lea eax, [esp + 0x2c]
push eax
call fcn.00460650
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 4]
sub eax, edx
add esp, 0x10
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0x47]
sar ecx, 1
add ecx, eax
mov eax, dword [esi + 0xc]
mov edx, dword [eax + 0x8e]
mov eax, dword [edi + 8]
mov dword [esp + 0xc], edx
mov edx, dword [edi]
sub eax, edx
cdq
sub eax, edx
mov edx, dword [ebx + 8]
sar eax, 1
sub eax, edx
add eax, dword [edi]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0xc]
fild dword [esp + 0x20]
mov edi, dword [eax + 0x92]
sub edi, dword [esp + 0xc]
mov dword [esp + 0x20], edi
mov edi, dword [ebx + 0x14]
fild dword [esp + 0x20]
sub edi, edx
mov dword [esp + 0x20], edi
fmulp st(1)
fild dword [esp + 0x20]
fdivp st(1)
fiadd dword [esp + 0xc]
fstp qword [esi + 0x2a]
mov edi, dword [eax + 0x9a]
mov eax, dword [eax + 0x9e]
mov edx, dword [ebx + 0xc]
sub eax, edi
mov dword [esp + 0x20], eax
sub ecx, edx
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x18]
fild dword [esp + 0x20]
sub ecx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x20], ecx
fmulp st(1)
fild dword [esp + 0x20]
fdivp st(1)
fiadd dword [esp + 0x18]
fstp qword [esi + 0x32]
fld qword [esp + 0x10]
fsub qword [esi + 0x32]
fld qword [esp + 0x38]
fsub qword [esi + 0x2a]
fadd qword [0x4bd908]
fdivp st(1)
fstp qword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
fld qword [esp + 0x38]
fcomp qword [esi + 0x2a]
mov ecx, eax
fnstsw ax
test ah, 1
je 0x4161b5
fld qword [esp + 0x18]
fmul qword [esp + 0x18]
mov eax, dword [esi + 0x21]
mov edx, ecx
sub edx, eax
fadd qword [0x4bcfe0]
mov dword [esp + 0x20], edx
fsqrt
fild dword [esi + 0x11]
fild dword [esp + 0x20]
fmul st(1)
fmul dword [esi + 0x15]
fld qword [0x4bcfe0]
fdiv st(3)
fmulp st(1)
fmul qword [0x4bcfc8]
fsubr qword [esi + 0x2a]
fld qword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x416214
jmp 0x41620e
fld qword [esp + 0x38]
fcomp qword [esi + 0x2a]
fnstsw ax
test ah, 0x41
jne 0x4162b2
fld qword [esp + 0x18]
fmul qword [esp + 0x18]
mov edx, dword [esi + 0x21]
mov eax, ecx
sub eax, edx
fadd qword [0x4bcfe0]
mov dword [esp + 0x20], eax
fsqrt
fild dword [esi + 0x11]
fild dword [esp + 0x20]
fmul st(1)
fmul dword [esi + 0x15]
fld qword [0x4bcfe0]
fdiv st(3)
fmulp st(1)
fmul qword [0x4bcfc8]
fadd qword [esi + 0x2a]
fld qword [esp + 0x38]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x416214
fstp st(0)
fld qword [esp + 0x38]
fstp qword [esi + 0x2a]
fld qword [esp + 0x10]
fcomp qword [esi + 0x32]
fnstsw ax
test ah, 1
je 0x416271
fld qword [esp + 0x18]
fabs
fdivrp st(2)
mov eax, dword [esi + 0x25]
mov edx, ecx
sub edx, eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fmul st(1)
fmul dword [esi + 0x15]
fmulp st(2)
fxch st(1)
fmul qword [0x4bcfc8]
fsubr qword [esi + 0x32]
fxch st(1)
fstp st(0)
fld qword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x416335
fstp st(0)
fld qword [esp + 0x10]
fstp qword [esi + 0x32]
jmp 0x41633e
fld qword [esp + 0x10]
fcomp qword [esi + 0x32]
fnstsw ax
test ah, 0x41
jne 0x41633a
fld qword [esp + 0x18]
fabs
fdivrp st(2)
mov edx, dword [esi + 0x25]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fmul st(1)
fmul dword [esi + 0x15]
fmulp st(2)
fxch st(1)
fmul qword [0x4bcfc8]
fadd qword [esi + 0x32]
fxch st(1)
fstp st(0)
jmp 0x416322
fld qword [esp + 0x10]
fcomp qword [esi + 0x32]
fnstsw ax
test ah, 1
je 0x4162f6
mov eax, dword [esi + 0x25]
mov edx, ecx
sub edx, eax
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fimul dword [esi + 0x11]
fmul dword [esi + 0x15]
fmul dword [0x4bd920]
fsubr qword [esi + 0x32]
fld qword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x416335
fstp st(0)
fld qword [esp + 0x10]
fstp qword [esi + 0x32]
jmp 0x41633e
fld qword [esp + 0x10]
fcomp qword [esi + 0x32]
fnstsw ax
test ah, 0x41
jne 0x41633e
mov edx, dword [esi + 0x25]
mov eax, ecx
sub eax, edx
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fimul dword [esi + 0x11]
fmul dword [esi + 0x15]
fmul dword [0x4bd918]
fadd qword [esi + 0x32]
fld qword [esp + 0x10]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x416335
fstp st(0)
fld qword [esp + 0x10]
fstp qword [esi + 0x32]
jmp 0x41633e
fstp st(0)
fstp st(0)
mov eax, dword [esi + 0xc]
mov dword [esi + 0x25], ecx
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 0x14]
mov edx, dword [eax + 0x8e]
sub edi, ecx
mov dword [esp + 0xc], edx
mov ecx, dword [eax + 0x92]
fild dword [esp + 0xc]
mov dword [esp + 0x20], edi
sub ecx, edx
fsubr qword [esi + 0x2a]
fild dword [esp + 0x20]
mov dword [esp + 0x20], ecx
fmulp st(1)
fild dword [esp + 0x20]
fdivp st(1)
call fcn.00496fa4
mov edx, dword [ebx + 0xc]
mov edi, eax
mov eax, dword [ebx + 8]
mov ebx, dword [ebx + 0x18]
add edi, eax
mov eax, dword [esi + 0xc]
sub ebx, edx
mov dword [esp + 0x10], edx
mov ecx, dword [eax + 0x9a]
mov dword [esp + 0x20], ebx
fild dword [esp + 0x20]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 0x9e]
fild dword [esp + 0x18]
sub edx, ecx
mov dword [esp + 0x20], edx
fsubr qword [esi + 0x32]
fmulp st(1)
fild dword [esp + 0x20]
fdivp st(1)
call fcn.00496fa4
mov ebx, eax
mov eax, dword [esp + 0x10]
add ebx, eax
lea eax, [esi + 0x43]
push 1
push eax
mov eax, dword [esi + 8]
push ecx
mov edx, dword [eax + 0x21]
mov ecx, esp
push edx
call fcn.00417280
lea eax, [esp + 0x44]
push eax
call fcn.00460650
lea eax, [esi + 0x43]
lea ecx, [esi + 0x53]
add esp, 0x10
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0x43]
mov eax, dword [eax + 0xc]
sub edx, edi
mov dword [ecx + 0xc], eax
mov ecx, dword [esi + 0x1d]
mov eax, dword [esi + 0x47]
sub ecx, ebx
add ecx, eax
mov eax, dword [esi + 8]
push ecx
mov ecx, dword [esi + 0x19]
add edx, ecx
push edx
mov edx, dword [eax + 0x21]
push ecx
mov ecx, esp
push edx
call fcn.00417280
call fcn.00460da0
mov ecx, dword [esi + 0x1d]
mov eax, dword [esi + 0x47]
sub ebx, ecx
mov ecx, dword [esi + 0x43]
sub ebx, eax
mov eax, dword [esi + 0x19]
add esp, 0xc
sub edi, ecx
sub edi, eax
lea eax, [esi + 0x53]
push ebx
push edi
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x21]
cmp byte [eax + 4], 0x22
jne 0x41649f
mov ecx, dword [eax + 0x1e]
mov edi, dword [eax + 0x26]
mov eax, dword [ecx + 0x28]
test eax, eax
je 0x416495
mov ebx, dword [esp + 0x20]
mov edx, dword [esi + 0x21]
lea eax, [eax + eax*4]
sub ebx, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv edi
mov edx, eax
mov eax, ebx
mov ebx, edx
cdq
idiv ebx
jmp 0x416498
mov eax, dword [ecx + 4]
cdq
idiv edi
inc edx
mov dword [ecx + 4], edx
mov al, byte [ebp + 0xc]
test al, al
je 0x4165fe
lea ebx, [esi + 0x53]
lea edi, [esi + 0x43]
push ebx
push edi
call dword [sym.imp.USER32.dll_EqualRect]
test eax, eax
je 0x4164cc
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x21]
cmp byte [edx + 4], 0x22
jne 0x4165fe
mov eax, dword [esi + 0x5b]
mov ecx, dword [edi]
cmp eax, ecx
jle 0x4165a0
mov ecx, dword [ebx]
mov eax, dword [esi + 0x4b]
cmp ecx, eax
jge 0x4165a0
mov edx, dword [esi + 0x5f]
mov eax, dword [esi + 0x47]
cmp edx, eax
jle 0x4165a0
mov eax, dword [esi + 0x57]
mov ecx, dword [esi + 0x4f]
cmp eax, ecx
jge 0x4165a0
push ebx
lea ecx, [esp + 0x3c]
push edi
push ecx
mov byte [0x4d5a30], 1
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [0x4d5a24], eax
mov dword [0x4d5a20], edx
mov edx, dword [esp + 0x44]
push ebx
lea eax, [esp + 0x3c]
push edi
push eax
mov dword [0x4d5a28], ecx
mov dword [0x4d5a2c], edx
call dword [sym.imp.USER32.dll_UnionRect]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x24], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x20]
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 8]
push edx
mov dword [esp + 0x30], ecx
mov ecx, dword [esi]
push 2
push eax
call fcn.004510b0
xor eax, eax
mov dword [0x4d5a28], eax
mov dword [0x4d5a2c], eax
mov dword [0x4d5a24], eax
mov dword [0x4d5a20], eax
mov byte [0x4d5a30], al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, edi
mov byte [0x4d5a30], 1
push edi
mov edi, dword [ebp + 8]
mov edx, dword [ecx]
push 2
mov dword [0x4d5a20], edx
push edi
mov eax, dword [ecx + 4]
mov dword [0x4d5a24], eax
mov edx, dword [ecx + 8]
mov dword [0x4d5a28], edx
mov eax, dword [ecx + 0xc]
mov dword [0x4d5a2c], eax
mov ecx, dword [esi]
call fcn.004510b0
xor eax, eax
push ebx
mov dword [0x4d5a28], eax
mov dword [0x4d5a2c], eax
mov dword [0x4d5a24], eax
mov dword [0x4d5a20], eax
mov byte [0x4d5a30], al
mov ecx, dword [esi]
push 2
push edi
call fcn.004510b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8