Function at 0x421480
Capabilities:
Gather firefox profile information

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f9a54
mov eax, dword fs:[0]
push eax
push ecx
push ebx
sub esp, 0x2e8
mov eax, dword [0x513040]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor edi, edi
mov dword [ebp - 0x244], edi
mov dword [ebp - 4], edi
xorps xmm0, xmm0
mov dword [ebp - 0x20], edi
movq qword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], 0xf
mov byte [ebp - 0x68], 0
mov byte [ebp - 4], 4
mov eax, dword [0x515ca0]
mov esi, dword [0x515c9c]
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x26c], esi
cmp esi, dword [ebp - 0x2a8]
je 0x422523
mov ecx, dword [ebx + 0x18]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 9
jb 0x422780
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
push ecx
cmova eax, dword [ebx + 8]
push eax
push 9
push str.C:users_
push ecx
push dword [ebp - 0x274]
lea ecx, [ebp - 0x264]
call fcn.00419e80
or edi, 0x800
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x250]
mov eax, edx
mov ecx, dword [ebp - 0x254]
sub eax, ecx
cmp eax, 1
jb 0x4215ae
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x254], eax
lea eax, [ebp - 0x264]
cmova eax, dword [ebp - 0x264]
mov word [eax + ecx], 0x5c
lea eax, [ebp - 0x264]
jmp 0x4215cf
push 1
push 0x4fbfa0
mov byte [ebp - 0x2ac], 0
lea ecx, [ebp - 0x264]
push dword [ebp - 0x2ac]
push 1
call fcn.00418c00
mov dword [ebp - 0x2e0], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2f0], xmm0
mov dword [ebp - 0x2dc], 0
or edi, 0x1000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2f0], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2e0], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push 0x515ca8
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 6
call fcn.00413070
mov dword [ebp - 0x2c8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2d8], xmm0
mov dword [ebp - 0x2c4], 0
or edi, 0x10000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2d8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2c8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push esi
lea ecx, [ebp - 0x2d8]
mov byte [ebp - 4], 7
call fcn.00413070
mov dword [ebp - 0x294], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2a4], xmm0
mov dword [ebp - 0x290], 0
or edi, 0x8000
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2a4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x294], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x290]
mov eax, edx
mov ecx, dword [ebp - 0x294]
sub eax, ecx
push 8
push str.Profiles
cmp eax, 8
jb 0x421727
cmp edx, 0xf
lea esi, [ebp - 0x2a4]
lea eax, [ecx + 8]
cmova esi, dword [ebp - 0x2a4]
add esi, ecx
mov dword [ebp - 0x294], eax
push esi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + 8], 0
lea eax, [ebp - 0x2a4]
jmp 0x421741
mov byte [ebp - 0x2b0], 0
lea ecx, [ebp - 0x2a4]
push dword [ebp - 0x2b0]
push 8
call fcn.00418c00
movups xmm0, xmmword [eax]
or edi, 0x4000
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x244], edi
movups xmmword [ebp - 0x28c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x28c]
push eax
movq qword [ebp - 0x27c], xmm0
call fcn.004040d0
mov ecx, dword [ebp - 0x278]
cmp ecx, 0xf
jbe 0x4217be
mov edx, dword [ebp - 0x28c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4217b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4218f5
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x290]
cmp ecx, 0xf
jbe 0x4217fc
mov edx, dword [ebp - 0x2a4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4217f2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4218f5
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c4]
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x290], 0xf
mov byte [ebp - 0x2a4], 0
cmp ecx, 0xf
jbe 0x421855
mov edx, dword [ebp - 0x2d8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42184b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4218f5
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2dc]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0xf
mov byte [ebp - 0x2d8], 0
cmp ecx, 0xf
jbe 0x4218aa
mov edx, dword [ebp - 0x2f0]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4218a0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4218f5
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x250]
mov dword [ebp - 0x2e0], 0
mov dword [ebp - 0x2dc], 0xf
mov byte [ebp - 0x2f0], 0
cmp ecx, 0xf
jbe 0x421905
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4218fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4218fb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov byte [ebp - 0x2b4], 0
lea edx, [ebp - 0x50]
push dword [ebp - 0x2b4]
lea ecx, [ebp - 0x264]
mov byte [ebp - 4], 9
call fcn.0041a650
add esp, 4
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x264]
or edi, 1
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], edi
call fcn.0040c650
test al, al
je 0x421993
mov byte [ebp - 0x2b8], 0
lea edx, [ebp - 0x50]
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x28c]
call fcn.0041a650
add esp, 4
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x28c]
or edi, 2
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], edi
call fcn.00420220
mov byte [ebp - 0x239], 1
test al, al
jne 0x42199a
mov byte [ebp - 0x239], 0
mov eax, dword [ebp - 0x240]
test al, 2
je 0x4219c4
and eax, 0xfffffffd
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
call fcn.00413c90
mov eax, dword [ebp - 0x240]
mov dword [ebp - 4], 9
test al, 1
je 0x4219e9
and eax, 0xfffffffe
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
call fcn.00413c90
cmp byte [ebp - 0x239], 0
je 0x4224d3
mov byte [ebp - 0x2bc], 0
lea edx, [ebp - 0x50]
push dword [ebp - 0x2bc]
lea ecx, [ebp - 0x28c]
call fcn.0041a650
add esp, 4
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
push ecx
lea edx, [ebp - 0x28c]
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x30]
call fcn.004253b0
add esp, 4
test eax, eax
jne 0x422785
lea ecx, [ebp - 0x28c]
call fcn.00413c90
mov ecx, dword [ebp - 0x2c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
test ecx, ecx
je 0x421a5e
lock inc dword [ecx + 4]
mov esi, dword [ebp - 0x30]
mov edi, ecx
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], edi
test ecx, ecx
je 0x421a71
lock inc dword [ecx + 4]
movlpd qword [ebp - 0x70], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
test ecx, ecx
je 0x421aa8
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x421aa8
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x2c]
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
jne 0x421aa8
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
nop dword [eax]
test esi, esi
je 0x422486
mov ecx, esi
call fcn.0041fdc0
test al, al
je 0x421b3d
mov byte [ebp - 0x2c0], 0
lea ecx, [ebp - 0x28c]
push dword [ebp - 0x2c0]
call fcn.00425710
add esp, 4
mov byte [ebp - 4], 0x12
lea edx, [esi + 0x20]
mov eax, dword [ebp - 0x240]
lea ecx, [ebp - 0x264]
or eax, 4
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x28c]
push eax
call fcn.0041fac0
add esp, 4
mov dword [ebp - 4], 0x13
mov ecx, dword [ebp - 0x240]
or ecx, 8
mov dword [ebp - 0x240], ecx
mov dword [ebp - 0x244], ecx
mov ecx, eax
call fcn.0040c650
mov byte [ebp - 0x239], 1
test al, al
jne 0x421b44
mov byte [ebp - 0x239], 0
mov eax, dword [ebp - 0x240]
test al, 8
je 0x421b6e
and eax, 0xfffffff7
lea ecx, [ebp - 0x264]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
call fcn.00413c90
mov eax, dword [ebp - 0x240]
mov dword [ebp - 4], 0x11
test al, 4
je 0x421b93
and eax, 0xfffffffb
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
call fcn.00413c90
cmp byte [ebp - 0x239], 0
je 0x422473
lea ecx, [esi + 0x20]
push ecx
lea eax, [ebp - 0x264]
push eax
call fcn.00425290
mov eax, dword [ebp - 0x240]
or eax, 0x40
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x250]
mov eax, ecx
mov edi, dword [ebp - 0x254]
sub eax, edi
push 0xf
push str.cookies.sqlite
cmp eax, 0xf
jb 0x421c17
cmp ecx, 0xf
lea esi, [ebp - 0x264]
lea eax, [edi + 0xf]
cmova esi, dword [ebp - 0x264]
mov dword [ebp - 0x254], eax
lea eax, [esi + edi]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov byte [esi + edi + 0xf], 0
lea eax, [ebp - 0x264]
jmp 0x421c31
mov byte [ebp - 0x274], 0
lea ecx, [ebp - 0x264]
push dword [ebp - 0x274]
push 0xf
call fcn.00418c00
movups xmm0, xmmword [eax]
lea ecx, [ebp - 0x68]
movups xmmword [ebp - 0x28c], xmm0
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov eax, dword [ebp - 0x240]
or eax, 0x400
movq qword [ebp - 0x27c], xmm0
mov dword [ebp - 0x240], eax
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x28c]
push eax
call fcn.004040d0
mov ecx, dword [ebp - 0x278]
cmp ecx, 0xf
jbe 0x421cb5
mov edx, dword [ebp - 0x28c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421cab
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x421ce5
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x421cf5
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x421ceb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x421ceb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004f5f19
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x68]
mov ecx, esp
push eax
call fcn.00404190
mov ecx, str.SELECT__host__name__path__value__expiry_FROM_moz_cookies
call fcn.00425ad0
mov esi, eax
add esp, 0x18
test esi, esi
je 0x422473
nop word [eax + eax]
push esi
call fcn.0045e5d0
add esp, 4
cmp eax, 0x64
jne 0x422473
lea ecx, [ebp - 0x238]
call fcn.0040e400
mov byte [ebp - 4], 0x15
test esi, esi
je 0x421d7d
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421d58
push eax
call dword [0x5131e0]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x421d6a
xor eax, eax
cmp ax, word [esi + 0x90]
jb 0x421d82
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00432b80
mov ecx, 0x506c70
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x421d9f
cmp byte [ecx + 0x12], 1
jne 0x421d9f
mov edi, dword [ecx + 8]
jmp 0x421db1
test dl, 1
je 0x421da8
xor edi, edi
jmp 0x421db1
mov dl, 1
call fcn.00457440
mov edi, eax
mov dword [ebp - 0x248], edi
test esi, esi
je 0x421e39
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x421dce
test edx, edx
jne 0x421dce
xor eax, eax
jmp 0x421dd3
call fcn.0042f920
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421def
push eax
call dword [0x5131e8]
add esp, 4
mov dword [ebp - 0x248], edi
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421e02
push eax
call dword [0x5131e0]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x421e24
mov eax, 1
cmp ax, word [esi + 0x90]
jae 0x421e24
add ecx, 0x28
jne 0x421e44
mov dword [ebp - 0x24c], ecx
jmp 0x421e7b
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00432b80
jmp 0x421e3f
mov dword [ebp - 0x248], edi
mov ecx, 0x506c70
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x421e61
cmp byte [ecx + 0x12], 1
jne 0x421e61
mov eax, dword [ecx + 8]
jmp 0x421e71
test dl, 1
je 0x421e6a
xor eax, eax
jmp 0x421e71
mov dl, 1
call fcn.00457440
mov dword [ebp - 0x24c], eax
test esi, esi
je 0x421eef
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x421e8e
test edx, edx
jne 0x421e8e
xor eax, eax
jmp 0x421e93
call fcn.0042f920
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421ea9
push eax
call dword [0x5131e8]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421ebc
push eax
call dword [0x5131e0]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x421eda
mov eax, 2
cmp ax, word [esi + 0x90]
jae 0x421eda
add ecx, 0x50
jne 0x421f00
xor edi, edi
jmp 0x421f33
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00432b80
jmp 0x421efb
mov dword [ebp - 0x24c], eax
mov dword [ebp - 0x248], edi
mov ecx, 0x506c70
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x421f1d
cmp byte [ecx + 0x12], 1
jne 0x421f1d
mov edi, dword [ecx + 8]
jmp 0x421f2f
test dl, 1
je 0x421f26
xor edi, edi
jmp 0x421f2f
mov dl, 1
call fcn.00457440
mov edi, eax
test esi, esi
je 0x421fab
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x421f46
test edx, edx
jne 0x421f46
xor eax, eax
jmp 0x421f4b
call fcn.0042f920
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421f61
push eax
call dword [0x5131e8]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x421f74
push eax
call dword [0x5131e0]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x421f96
mov eax, 3
cmp ax, word [esi + 0x90]
jae 0x421f96
add ecx, 0x78
jne 0x421fc8
mov dword [ebp - 0x268], ecx
jmp 0x421fff
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00432b80
jmp 0x421fc3
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x248], eax
mov ecx, 0x506c70
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x421fe5
cmp byte [ecx + 0x12], 1
jne 0x421fe5
mov eax, dword [ecx + 8]
jmp 0x421ff5
test dl, 1
je 0x421fee
xor eax, eax
jmp 0x421ff5
mov dl, 1
call fcn.00457440
mov dword [ebp - 0x268], eax
test esi, esi
je 0x42207a
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x422012
test edx, edx
jne 0x422012
xor eax, eax
jmp 0x422017
call fcn.0042f920
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42202d
push eax
call dword [0x5131e8]
add esp, 4
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x422040
push eax
call dword [0x5131e0]
add esp, 4
mov ecx, dword [esi + 0x78]
test ecx, ecx
je 0x422065
mov eax, 4
cmp ax, word [esi + 0x90]
jae 0x422065
add ecx, 0xa0
jne 0x42209d
mov dword [ebp - 0x270], ecx
jmp 0x4220dc
mov ecx, dword [esi]
mov edx, 0x19
mov dword [ecx + 0x40], 0x19
call fcn.00432b80
jmp 0x422098
mov dword [ebp - 0x268], eax
mov eax, dword [ebp - 0x24c]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x248]
mov dword [ebp - 0x248], eax
mov ecx, 0x506c70
movzx edx, word [ecx + 0x10]
mov eax, edx
and eax, 0x202
cmp eax, 0x202
jne 0x4220ba
cmp byte [ecx + 0x12], 1
jne 0x4220ba
mov eax, dword [ecx + 8]
jmp 0x4220d2
test dl, 1
je 0x4220cb
mov dword [ebp - 0x270], 0
jmp 0x4220d8
mov dl, 1
call fcn.00457440
mov dword [ebp - 0x270], eax
test esi, esi
je 0x42210a
mov ecx, dword [esi]
mov edx, dword [esi + 0x24]
cmp byte [ecx + 0x57], 0
jne 0x4220ef
test edx, edx
jne 0x4220ef
xor eax, eax
jmp 0x4220f4
call fcn.0042f920
mov dword [esi + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42210a
push eax
call dword [0x5131e8]
add esp, 4
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x42243e
cmp dword [ebp - 0x24c], 0
je 0x42243e
test edi, edi
je 0x42243e
cmp dword [ebp - 0x268], 0
je 0x42243e
mov edi, dword [ebp - 0x270]
test edi, edi
je 0x42243e
mov ecx, eax
mov dword [ebp - 0x254], 0
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422170
mov eax, dword [ebp - 0x248]
sub ecx, edx
push ecx
push eax
lea ecx, [ebp - 0x264]
call fcn.00404da0
mov byte [ebp - 4], 0x16
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0xf
lea ecx, [ebp - 0x1d8]
push dword [ebp - 0x254]
cmova eax, dword [ebp - 0x264]
push eax
call fcn.00407e60
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x4221f4
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4221ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422406
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov ecx, dword [ebp - 0x26c]
lea eax, [ebp - 0x1c0]
cmp eax, ecx
je 0x42221d
cmp dword [ecx + 0x14], 0xf
mov eax, ecx
jbe 0x42220e
mov eax, dword [ecx]
push dword [ecx + 0x10]
lea ecx, [ebp - 0x1c0]
push eax
call fcn.00407e60
mov ecx, dword [ebp - 0x24c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422244
sub ecx, edx
push ecx
push dword [ebp - 0x24c]
lea ecx, [ebp - 0x264]
call fcn.00404da0
mov byte [ebp - 4], 0x17
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0xf
lea ecx, [ebp - 0x190]
push dword [ebp - 0x254]
cmova eax, dword [ebp - 0x264]
push eax
call fcn.00407e60
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x4222c7
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4222bd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422406
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov ecx, dword [ebp - 0x268]
xorps xmm0, xmm0
movups xmmword [ebp - 0x264], xmm0
mov dword [ebp - 0x254], 0
mov dword [ebp - 0x250], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4222f0
sub ecx, edx
push ecx
push dword [ebp - 0x268]
lea ecx, [ebp - 0x264]
call fcn.00404da0
mov byte [ebp - 4], 0x18
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0xf
lea ecx, [ebp - 0x1a8]
push dword [ebp - 0x254]
cmova eax, dword [ebp - 0x264]
push eax
call fcn.00407e60
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x422373
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x422369
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422406
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov ecx, edi
mov dword [ebp - 0x254], 0
xorps xmm0, xmm0
mov dword [ebp - 0x250], 0
movups xmmword [ebp - 0x264], xmm0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422396
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x264]
call fcn.00404da0
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x264]
cmp dword [ebp - 0x250], 0xf
lea ecx, [ebp - 0x178]
push dword [ebp - 0x254]
cmova eax, dword [ebp - 0x264]
push eax
call fcn.00407e60
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x250]
cmp ecx, 0xf
jbe 0x422416
mov edx, dword [ebp - 0x264]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42240c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x42240c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x238]
push ecx
cmp eax, dword [ebp - 0x20]
je 0x422435
mov ecx, eax
call fcn.0041d5f0
add dword [ebp - 0x24], 0x1c8
jmp 0x42243e
push eax
lea ecx, [ebp - 0x28]
call fcn.0041aa20
lea ecx, [ebp - 0xe8]
mov byte [ebp - 4], 0x11
call fcn.0040e680
lea ecx, [ebp - 0x160]
call fcn.0040e680
lea ecx, [ebp - 0x1d8]
call fcn.0040e680
lea ecx, [ebp - 0x238]
call fcn.0040e7e0
jmp 0x421d20
lea ecx, [ebp - 0x38]
call fcn.00420110
mov edi, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
jmp 0x421ab0
test edi, edi
je 0x4224ab
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
jne 0x4224ab
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
jne 0x4224ab
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x4224d3
or eax, 0xffffffff
lock xadd dword [esi + 4], eax
jne 0x4224d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
jne 0x4224d3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov esi, dword [ebp - 0x26c]
mov dword [ebp - 4], 4
add esi, 0x18
mov edi, dword [ebp - 0x240]
jmp 0x42151d
mov ecx, dword [ebp - 0x24]
mov eax, 0x8fb823ef
sub ecx, dword [ebp - 0x28]
sub esp, 0xc
imul ecx
lea eax, [ebp - 0x28]
add edx, ecx
mov ecx, esp
sar edx, 8
mov esi, edx
shr esi, 0x1f
push eax
add esi, edx
call fcn.00412860
mov edx, esi
lea ecx, [ebx + 0x20]
call fcn.00429390
add esp, 0xc
test al, al
mov eax, dword [ebp - 0x54]
jne 0x422664
cmp eax, 0xf
jbe 0x422595
mov edx, dword [ebp - 0x68]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x42258b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42274d
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x4225c9
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4225bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42274d
push ecx
push edx
call fcn.004f5f19
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.004135f0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x422617
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42260d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42274d
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x42265d
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x422653
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42274d
push ecx
push edx
call fcn.004f5f19
add esp, 8
xor eax, eax
jmp 0x422762
cmp eax, 0xf
jbe 0x422697
mov edx, dword [ebp - 0x68]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x42268d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42274d
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov ecx, dword [ebp - 0x3c]
cmp ecx, 0xf
jbe 0x4226cb
mov edx, dword [ebp - 0x50]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4226c1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42274d
push ecx
push edx
call fcn.004f5f19
add esp, 8
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0xf
mov byte [ebp - 0x50], 0
call fcn.004135f0
mov ecx, dword [ebx + 0x1c]
cmp ecx, 0xf
jbe 0x422715
mov edx, dword [ebx + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x42270b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42274d
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov ecx, dword [ebx + 0x34]
mov dword [ebx + 0x18], 0
mov dword [ebx + 0x1c], 0xf
mov byte [ebx + 8], 0
cmp ecx, 0xf
jbe 0x42275d
mov edx, dword [ebx + 0x20]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x422753
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x422753
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.004f5f19
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004f5edb
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00401a80
lea ecx, [ebp - 0x28c]
mov edx, eax
push ecx
mov ecx, str.directory_iterator::directory_iterator
call fcn.0040c420
int3