Function at 0x404790
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4633d6
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4b5898]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x294], esi
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x284]
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x2a4], eax
push eax
movups xmmword [ebp - 0x284], xmm0
call dword [sym.imp.GDI32.dll_GetRgnBox]
mov eax, dword [ebp - 0x284]
cmp eax, 0xffffc400
jl 0x405406
mov ecx, dword [ebp - 0x280]
cmp ecx, 0xffffc400
jl 0x405406
mov edi, dword [ebp - 0x27c]
sub edi, eax
mov eax, dword [ebp - 0x278]
sub eax, ecx
mov dword [ebp - 0x21c], eax
test edi, edi
jle 0x405406
test eax, eax
jle 0x405406
cmp edi, 0x2024
jg 0x405406
cmp eax, 0x2024
jg 0x405406
cmp dword [esi + 0xa8], 0
mov cl, byte [ebp + 0x14]
mov byte [esi + 0x40], cl
je 0x404875
cmp dword [esi + 0x2c], 0
je 0x404875
cmp dword [esi + 0x28], 0
je 0x404875
cmp edi, dword [esi + 8]
jne 0x404875
cmp eax, dword [esi + 0xc]
jne 0x404875
test cl, cl
je 0x404924
jmp 0x4048d2
mov ecx, esi
call fcn.00406280
mov ecx, dword [ebp - 0x21c]
mov dword [esi + 8], edi
shl edi, 5
mov dword [esi + 0xc], ecx
lea eax, [edi + 0x1f]
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
mov dword [esi + 0x10], eax
imul eax, ecx
mov ecx, esi
mov dword [esi + 4], eax
call fcn.00404200
test al, al
je 0x4053ff
cmp byte [ebp + 0x18], 0
je 0x4048ce
push dword [esi + 4]
call fcn.00456d25
add esp, 4
mov dword [esi + 0x28], eax
test eax, eax
je 0x4053ff
mov byte [esi + 0x40], 1
mov ecx, dword [esi + 0x48]
push 0x4a4f20
push dword [esi + 0xac]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xc8]
movups xmm0, xmmword [ebp - 0x284]
mov eax, dword [esi + 0x24]
movups xmmword [esi + 0x14], xmm0
test eax, eax
je 0x404902
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 5
push 0
push dword [ebp - 0x2a4]
mov dword [esi + 0x24], eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
xorps xmm0, xmm0
movlpd qword [ebp - 0x228], xmm0
push 0x14
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
call fcn.00461e10
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x228], eax
xor eax, eax
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x23c], 0
xor edi, edi
movq qword [ebp - 0x244], xmm0
mov dword [ebp - 0x2ac], eax
mov dword [ebp - 0x244], eax
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x23c], eax
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 1
cmp dword [eax + 4], edi
jbe 0x404aeb
mov ecx, dword [eax]
mov eax, dword [ecx]
mov dword [ebp - 0x220], eax
cmp eax, ecx
je 0x404aeb
lea ecx, [esi + 0x14]
mov dword [ebp - 0x2a8], ecx
mov edi, dword [eax + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x238], xmm0
mov ecx, edi
mov dword [ebp - 0x21c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x404acd
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x238]
sub ecx, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x25c], ecx
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x234]
sub ecx, dword [eax + 4]
mov eax, dword [edi]
mov dword [ebp - 0x258], ecx
mov ecx, edi
mov dword [ebp - 0x254], 0
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x250], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov edi, dword [esi + 0x48]
mov ecx, dword [ebp - 0x21c]
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], 1
mov eax, dword [edi]
mov dword [ebp - 0x29c], edi
mov esi, dword [eax + 0xb8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x234]
mov edi, dword [ebp - 0x2a8]
sub edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x238]
sub ecx, dword [edi]
lea edi, [ebp - 0x25c]
push edi
mov edi, dword [ebp - 0x29c]
push 0
push eax
mov eax, dword [ebp - 0x294]
push 0
push edx
push ecx
push 0
push dword [eax + 0xa8]
push edi
call esi
mov esi, dword [ebp - 0x294]
lea ecx, [ebp - 0x220]
call fcn.004063e0
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x220]
cmp eax, dword [ecx]
jne 0x4049d0
xor edi, edi
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 0
jbe 0x404e33
xorps xmm0, xmm0
mov dword [ebp - 0x22c], 0
movq qword [ebp - 0x234], xmm0
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
lea eax, [ebp - 0x234]
mov byte [ebp - 4], 2
push eax
push 0x405430
call dword [sym.imp.USER32.dll_EnumWindows]
mov eax, dword [ebp - 0x230]
mov ecx, dword [ebp - 0x234]
sub eax, ecx
sar eax, 2
add eax, 0xffffffff
mov dword [ebp - 0x21c], eax
jns 0x404bac
xor edi, edi
mov byte [ebp - 4], 1
test ecx, ecx
je 0x404e35
mov edx, dword [ebp - 0x22c]
mov eax, ecx
sub edx, ecx
and edx, 0xfffffffc
cmp edx, 0x1000
jb 0x404e27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x404e27
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov esi, dword [ebp - 0x294]
mov edi, dword [ebp - 0x2a0]
mov edx, dword [ecx + eax*4]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], edx
mov ecx, dword [eax]
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x29c], ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x404bea
nop
cmp dword [eax + 0x10], edx
jae 0x404bda
mov eax, dword [eax + 8]
jmp 0x404bde
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x404bd0
mov dword [ebp - 0x2ac], ecx
cmp byte [ecx + 0xd], 0
jne 0x404dfb
cmp edx, dword [ecx + 0x10]
jb 0x404dfb
cmp ecx, dword [ebp - 0x29c]
je 0x404dfb
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, 8
je 0x404cb8
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push dword [ebp - 0x220]
call dword [sym.imp.USER32.dll_GetClassNameW]
push str.TaskManagerWindow
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x404cb8
mov esi, dword [ebp - 0x220]
mov dword [ebp - 0x29c], esi
cmp edi, dword [ebp - 0x2b0]
je 0x404c88
mov dword [edi], esi
add edi, 4
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x240], edi
jmp 0x404ddc
lea eax, [ebp - 0x29c]
push eax
push edi
lea ecx, [ebp - 0x244]
call fcn.00406700
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x2a0], eax
jmp 0x404ddc
mov eax, dword [ebp - 0x2ac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x254], xmm0
mov edi, dword [eax + 0x14]
mov ecx, edi
mov dword [ebp - 0x29c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x404dd6
cmp byte [edi + 0x41], 0
je 0x404d14
push ecx
push edi
push dword [ebp - 0x2a4]
mov ecx, esi
push dword [esi + 0x18]
push dword [esi + 0x14]
call fcn.004043b0
jmp 0x404dd6
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x254]
sub ecx, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x274], ecx
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x250]
sub ecx, dword [eax + 4]
mov eax, dword [edi]
mov dword [ebp - 0x270], ecx
mov ecx, edi
mov dword [ebp - 0x26c], 0
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x268], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov edi, dword [esi + 0x48]
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], 1
mov eax, dword [edi]
mov dword [ebp - 0x2a8], edi
mov esi, dword [eax + 0xb8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x250]
mov edi, dword [ebp - 0x294]
sub edx, dword [ecx + 0x18]
mov ecx, dword [ebp - 0x254]
sub ecx, dword [edi + 0x14]
lea edi, [ebp - 0x274]
push edi
mov edi, dword [ebp - 0x2a8]
push 0
push eax
mov eax, dword [ebp - 0x294]
push 0
push edx
push ecx
push 0
push dword [eax + 0xa8]
push edi
call esi
mov esi, dword [ebp - 0x220]
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x29c], esi
push eax
lea eax, [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x228]
call fcn.004064d0
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x234]
sub eax, 1
mov dword [ebp - 0x21c], eax
jns 0x404ba0
mov edi, dword [ebp - 0x244]
mov dword [ebp - 0x2ac], edi
jmp 0x404b5f
push edx
push ecx
call fcn.00461bf2
add esp, 8
jmp 0x404e35
xor edi, edi
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x224]
cmp eax, dword [esi + 4]
je 0x405034
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [esi]
mov dword [ebp - 0x29c], eax
mov esi, dword [ecx]
mov dword [ebp - 0x21c], esi
cmp esi, ecx
je 0x405031
lea edi, [esi + 0x10]
push edi
lea eax, [ebp - 0x234]
mov dword [ebp - 0x2a8], edi
push eax
lea ecx, [ebp - 0x228]
call fcn.00406950
mov ecx, dword [ebp - 0x22c]
cmp byte [ecx + 0xd], 0
jne 0x404ea2
mov eax, dword [edi]
cmp eax, dword [ecx + 0x10]
jb 0x404ea2
cmp ecx, dword [ebp - 0x228]
jne 0x405005
jmp 0x404ea4
mov eax, dword [edi]
cmp dword [ebp - 0x29c], eax
jne 0x404eff
mov edi, dword [ebp - 0x2a0]
cmp edi, dword [ebp - 0x2b0]
je 0x404ed0
mov dword [edi], eax
add edi, 4
mov dword [ebp - 0x2a0], edi
mov dword [ebp - 0x240], edi
jmp 0x405005
push dword [ebp - 0x2a8]
lea ecx, [ebp - 0x244]
push edi
call fcn.00406700
mov eax, dword [ebp - 0x23c]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x240]
mov dword [ebp - 0x2a0], eax
jmp 0x405005
mov edi, dword [esi + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x254], xmm0
mov ecx, edi
mov dword [ebp - 0x2a8], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
mov esi, dword [ebp - 0x294]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x405005
cmp byte [edi + 0x41], 0
je 0x404f5b
push ecx
push edi
push dword [ebp - 0x2a4]
mov ecx, esi
push dword [esi + 0x18]
push dword [esi + 0x14]
call fcn.004043b0
jmp 0x405005
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x254]
sub ecx, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x274], ecx
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x250]
sub ecx, dword [eax + 4]
mov eax, dword [edi]
mov dword [ebp - 0x270], ecx
mov ecx, edi
mov dword [ebp - 0x26c], 0
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x268], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov edi, dword [esi + 0x48]
mov ecx, dword [ebp - 0x2a8]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], 1
mov eax, dword [edi]
mov esi, dword [eax + 0xb8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
lea ecx, [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x294]
push 0
push eax
mov eax, dword [ebp - 0x250]
sub eax, dword [ecx + 0x18]
push 0
push eax
mov eax, dword [ebp - 0x254]
sub eax, dword [ecx + 0x14]
push eax
push 0
push dword [ecx + 0xa8]
push edi
call esi
lea ecx, [ebp - 0x21c]
call fcn.004063e0
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0x21c]
cmp esi, dword [eax]
jne 0x404e65
mov edi, dword [ebp - 0x244]
mov esi, eax
mov dword [ebp - 0x2ac], edi
jmp 0x405034
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x2a0]
sub eax, edi
sar eax, 2
test eax, eax
je 0x4051d4
add eax, 0xffffffff
mov dword [ebp - 0x21c], eax
js 0x4051d4
lea edx, [edi + eax*4]
mov dword [ebp - 0x220], edx
nop
mov ecx, dword [esi]
mov esi, ecx
mov eax, dword [ecx + 4]
cmp byte [eax + 0xd], 0
jne 0x40508a
mov edx, dword [edx]
nop
cmp dword [eax + 0x10], edx
jae 0x40507a
mov eax, dword [eax + 8]
jmp 0x40507e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0xd], 0
je 0x405070
mov edx, dword [ebp - 0x220]
cmp byte [ecx + 0xd], 0
jne 0x4051b3
mov eax, dword [edx]
cmp eax, dword [ecx + 0x10]
jb 0x4051b3
cmp ecx, esi
je 0x4051b3
mov edi, dword [ecx + 0x14]
xorps xmm0, xmm0
movups xmmword [ebp - 0x254], xmm0
mov ecx, edi
mov dword [ebp - 0x29c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
call eax
mov esi, dword [ebp - 0x294]
push eax
lea eax, [esi + 0x14]
push eax
lea eax, [ebp - 0x254]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4051ad
cmp byte [edi + 0x41], 0
je 0x405103
push ecx
push edi
push dword [ebp - 0x2a4]
mov ecx, esi
push dword [esi + 0x18]
push dword [esi + 0x14]
call fcn.004043b0
jmp 0x4051ad
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x254]
sub ecx, dword [eax]
mov eax, dword [edi]
mov dword [ebp - 0x274], ecx
mov ecx, edi
mov eax, dword [eax + 0x14]
call eax
mov ecx, dword [ebp - 0x250]
sub ecx, dword [eax + 4]
mov eax, dword [edi]
mov dword [ebp - 0x270], ecx
mov ecx, edi
mov dword [ebp - 0x26c], 0
mov eax, dword [eax + 4]
call eax
mov dword [ebp - 0x268], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 8]
call eax
mov edi, dword [esi + 0x48]
mov ecx, dword [ebp - 0x29c]
mov dword [ebp - 0x264], eax
mov dword [ebp - 0x260], 1
mov eax, dword [edi]
mov esi, dword [eax + 0xb8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
lea ecx, [ebp - 0x274]
push ecx
mov ecx, dword [ebp - 0x294]
push 0
push eax
mov eax, dword [ebp - 0x250]
sub eax, dword [ecx + 0x18]
push 0
push eax
mov eax, dword [ebp - 0x254]
sub eax, dword [ecx + 0x14]
push eax
push 0
push dword [ecx + 0xa8]
push edi
call esi
mov edx, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
sub edx, 4
mov esi, dword [ebp + 8]
dec eax
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x220], edx
test eax, eax
jns 0x405060
mov esi, dword [ebp - 0x294]
mov ecx, dword [esi + 0x48]
push dword [esi + 0xa8]
push dword [esi + 0x2c]
mov eax, dword [ecx]
push ecx
call dword [eax + 0xbc]
cmp byte [ebp + 0x18], 0
jne 0x405201
mov byte [ebp - 0x295], 1
jmp 0x40536e
mov ecx, dword [esi + 0x48]
lea edx, [ebp - 0x290]
push edx
push 0
push 1
mov eax, dword [ecx]
push 0
push dword [esi + 0x2c]
mov byte [ebp - 0x295], 0
mov eax, dword [eax + 0x38]
push ecx
call eax
test eax, eax
js 0x40536e
mov edi, dword [ebp - 0x290]
mov eax, dword [esi + 0x28]
mov dword [ebp - 0x294], edi
mov dword [ebp - 0x2a0], eax
test edi, edi
je 0x405360
mov ecx, dword [ebp - 0x28c]
mov edi, dword [esi + 0x10]
mov dword [ebp - 0x29c], ecx
cmp edi, ecx
jne 0x405296
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x405359
test eax, eax
jne 0x405281
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x405359
push ecx
push dword [ebp - 0x294]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x405359
mov edx, ecx
mov dword [ebp - 0x21c], 0
cmovle edx, edi
cmp dword [esi + 0xc], 0
mov dword [ebp - 0x2a4], edx
jle 0x405359
mov ecx, dword [ebp - 0x294]
nop dword [eax + eax]
test edx, edx
je 0x405326
test eax, eax
jne 0x4052d6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x16
jmp 0x405314
test ecx, ecx
je 0x4052eb
cmp edi, edx
jb 0x4052eb
push edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
jmp 0x40531a
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
cmp dword [ebp - 0x294], 0
je 0x4052c8
cmp edi, dword [ebp - 0x2a4]
jae 0x40531a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [eax], 0x22
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x2a0]
mov ecx, dword [ebp - 0x294]
mov edx, dword [ebp - 0x21c]
add ecx, dword [ebp - 0x29c]
inc edx
mov edi, dword [esi + 0x10]
add eax, edi
cmp edx, dword [esi + 0xc]
mov dword [ebp - 0x21c], edx
mov edx, dword [ebp - 0x2a4]
mov dword [ebp - 0x294], ecx
mov dword [ebp - 0x2a0], eax
jl 0x4052c0
mov byte [ebp - 0x295], 1
mov eax, dword [esi + 0x48]
push 0
push dword [esi + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x3c]
mov edx, dword [ebp - 0x2ac]
test edx, edx
je 0x4053ad
mov ecx, dword [ebp - 0x2b0]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4053a3
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4053a3
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.00461bf2
add esp, 8
mov eax, dword [ebp - 0x228]
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x4053ec
nop dword [eax]
push dword [esi + 8]
lea eax, [ebp - 0x228]
push eax
mov ecx, eax
call fcn.004069d0
mov eax, esi
mov esi, dword [esi]
push 0x14
push eax
call fcn.00461bf2
add esp, 8
cmp byte [esi + 0xd], 0
je 0x4053c0
mov eax, dword [ebp - 0x228]
push 0x14
push eax
call fcn.00461bf2
mov al, byte [ebp - 0x295]
add esp, 8
jmp 0x405408
mov ecx, esi
call fcn.00406280
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004619c0
mov esp, ebp
pop ebp
ret 0x14