joyce8/EMBER2024-capa huggingface dataset:
Function at 0x409260
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4457a6
mov eax, dword fs:[0]
push eax
sub esp, 0x3ac
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x250], eax
xor al, al
mov dword [ebp - 0x248], ebx
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
mov byte [ebp - 0x244], al
mov eax, 5
push 0
dec eax
push 2
mov dword [ebp - 0x254], eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x409471
lea eax, [ebp - 0x240]
push eax
push esi
call edi
test eax, eax
je 0x4093d0
nop dword [eax]
mov eax, dword [ebp - 0x24c]
lea ecx, [ebp - 0x21c]
nop dword [eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x409336
test dx, dx
je 0x409332
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x409336
add ecx, 4
add eax, 4
test dx, dx
jne 0x409310
xor eax, eax
jmp 0x40933b
sbb eax, eax
or eax, 1
test eax, eax
je 0x409352
lea eax, [ebp - 0x240]
push eax
push esi
call edi
test eax, eax
jne 0x409300
jmp 0x4093d0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x250], eax
mov byte [ebp - 0x244], 1
call fcn.00410400
test eax, eax
jg 0x4093b6
push 0
push 0xea
push str.f:360workgzturbowin_master_startup_startup.cpp
lea ecx, [ebp - 0x308]
call fcn.0040f260
push dword [ebp - 0x24c]
add eax, 8
mov dword [ebp - 4], 1
push ecx
push str.FIND_vpn_Process__
or ebx, 2
push eax
mov dword [ebp - 0x248], ebx
call fcn.004026f0
add esp, 0xc
push eax
call fcn.0040fd00
add esp, 8
mov dword [ebp - 4], 0xffffffff
test bl, 2
je 0x4093d0
lea ecx, [ebp - 0x308]
and ebx, 0xfffffffd
call fcn.0040f420
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x254]
test eax, eax
jne 0x4092b7
call fcn.00410400
test eax, eax
jg 0x40943f
push 0
push 0xf3
push str.f:360workgzturbowin_master_startup_startup.cpp
lea ecx, [ebp - 0x3b8]
call fcn.0040f260
push dword [ebp - 0x244]
add eax, 8
mov dword [ebp - 4], 2
push ecx
push str.bStart__
or ebx, 4
push eax
mov dword [ebp - 0x248], ebx
call fcn.004026f0
add esp, 0xc
mov ecx, eax
call fcn.004072d0
mov dword [ebp - 4], 0xffffffff
test bl, 4
je 0x409456
lea ecx, [ebp - 0x3b8]
call fcn.0040f420
cmp byte [ebp - 0x244], 0
jne 0x409469
call fcn.004088f0
call fcn.00408e40
mov eax, dword [ebp - 0x250]
jmp 0x4094c4
call fcn.00410400
test eax, eax
jg 0x4094b2
push 0
push 0xd8
push str.f:360workgzturbowin_master_startup_startup.cpp
lea ecx, [ebp - 0x308]
call fcn.0040f260
add eax, 8
mov dword [ebp - 4], 0
push str.Process32First_error
or ebx, 1
push eax
mov dword [ebp - 0x248], ebx
call fcn.004026f0
add esp, 8
test bl, 1
je 0x4094c2
lea ecx, [ebp - 0x308]
call fcn.0040f420
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299e7
mov esp, ebp
pop ebp
ret
Function at 0x4135e0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446a4d
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x461264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0xffffffff
cmp byte [esi + 0x1058], bl
je 0x413689
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x1058], bl
cmp dword [ebp + 8], ebx
je 0x4136ae
cmp dword [ebp + 0xc], ebx
je 0x4136ae
mov edx, dword [esi + 0x1064]
mov edi, dword [esi + 0x1070]
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x413651
mov edx, dword [edx]
mov ecx, dword [edx + 8]
mov eax, edi
shr eax, 2
dec ecx
and ecx, eax
and edi, 3
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edi*4]
add dword [esi + 0x1074], 0xffffffff
jne 0x413679
mov dword [esi + 0x1070], ebx
jmp 0x41367f
inc dword [esi + 0x1070]
test ecx, ecx
je 0x413689
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x1074], ebx
je 0x413801
mov edi, dword [esi + 0x105c]
cmp edi, 0xffffffff
je 0x41370e
mov eax, dword [esi + 0x1064]
test eax, eax
jne 0x413724
xor edx, edx
jmp 0x413726
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00410400
cmp eax, 2
jg 0x4136fe
push 2
push 0x1ac
push str.f:360workgzturbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f260
mov ebx, 8
mov dword [ebp - 4], 3
push esi
add eax, ebx
mov dword [ebp - 0x10], ebx
push str.pipe_error:
push eax
call fcn.004026f0
add esp, 8
mov ecx, eax
call fcn.0040a0a0
test bl, 8
je 0x41370e
lea ecx, [ebp - 0xc0]
call fcn.0040f420
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [eax]
mov ecx, dword [edx + 8]
mov eax, dword [esi + 0x1070]
dec ecx
shr eax, 2
and ecx, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [esi + 0x1070]
and eax, 3
mov dword [ebp + 8], eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp + 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 4]
mov ecx, dword [eax + 8]
lea eax, [esi + 0x1040]
push eax
lea eax, [ebp + 0xc]
add ecx, dword [edx]
push eax
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4137fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4137fa
call fcn.00410400
cmp eax, 2
jg 0x4137d1
push 2
push 0x1ce
push str.f:360workgzturbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f260
push edi
add eax, 8
mov dword [ebp - 4], 7
push str.pipe_error:
mov ebx, 0x80
push eax
mov dword [ebp - 0x10], ebx
call fcn.004026f0
add esp, 8
mov ecx, eax
call fcn.0040a0a0
test bl, bl
jns 0x41370e
lea ecx, [ebp - 0xc0]
call fcn.0040f420
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [esi + 0x1058], 1
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x413820
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446a8c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x461264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov ecx, dword [esi + 0x105c]
cmp ecx, 0xffffffff
je 0x4138e5
lea eax, [esi + 0x1024]
mov dword [ebp - 0x10], ebx
push eax
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4138fe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4138fe
call fcn.00410400
cmp eax, 2
jg 0x4138d5
push 2
push 0x84
push str.f:360workgzturbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc4]
call fcn.0040f260
push edi
mov dword [ebp - 4], ebx
add eax, 8
push str.pipe_error:
mov ebx, 1
push eax
mov dword [ebp - 0x14], ebx
call fcn.004026f0
add esp, 8
mov ecx, eax
call fcn.0040a0a0
test bl, 1
je 0x4138e5
lea ecx, [ebp - 0xc4]
call fcn.0040f420
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, 2
mov byte [esi + 0x103c], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x415a70
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d5f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x462fd8], 0
je 0x415aaa
xor al, al
jmp 0x415b69
push 0x18
call fcn.004299f8
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x415afa
lea eax, [ebp - 0x29]
mov ecx, edi
push eax
push 1
call fcn.00414c70
lea esi, [edi + 0xc]
mov byte [ebp - 4], 1
mov ecx, esi
mov dword [ebp - 0x34], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.00408450
mov dword [esi], eax
mov dword [edi + 0x14], 1
jmp 0x415afc
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x462fd8], edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x18], 0
mov ecx, edx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x415b30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00401400
mov ecx, dword [0x462fd8]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 2
call fcn.00416030
lea ecx, [ebp - 0x28]
call fcn.004012d0
mov al, 1
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.004299e7
mov esp, ebp
pop ebp
ret
Function at 0x416030
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446e38
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], cx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x28]
push ecx
push 3
push eax
call fcn.00417850
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x4160c3
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], 0
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov dword [ebp - 4], 0
push esi
push dword [ebp - 0x2c]
mov ecx, edi
call fcn.00415cb0
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4160f9
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4160ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416116
push edx
push ecx
call fcn.00429a28
add esp, 8
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.004299e7
mov esp, ebp
pop ebp
ret 4
call fcn.0042ecaa
int3
Function at 0x417f20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447057
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [ebp + 8], 0
mov esi, dword [ebp + 0xc]
je 0x417fd4
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push 0
push 0xffffffffffffffff
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x417f7e
xor al, al
jmp 0x4180bc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
call fcn.00401330
lea eax, [ebp - 0x248]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x230]
call fcn.0040a610
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0040a650
lea ecx, [ebp - 0x230]
call fcn.004012d0
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0xffffffff
call fcn.004012d0
jmp 0x417fe3
push esi
push 0x6c
call fcn.0040b7d0
add esp, 8
test al, al
je 0x417f77
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], 0x449cc0
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x264], 9
push eax
mov ecx, esi
call fcn.0040a7c0
push eax
mov ecx, esi
mov dword [ebp - 4], 2
call fcn.0040a650
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.004012d0
lea eax, [ebp - 0x268]
mov dword [ebp - 0x268], str.Internet_Explorer
push eax
lea eax, [ebp - 0x230]
mov dword [ebp - 0x264], 0x11
push eax
mov ecx, esi
call fcn.0040a7c0
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.0040a650
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0xffffffff
call fcn.004012d0
lea eax, [ebp - 0x270]
mov dword [ebp - 0x270], str.Quick_Launch
push eax
lea eax, [ebp - 0x260]
mov dword [ebp - 0x26c], 0xc
push eax
mov ecx, esi
call fcn.0040a7c0
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0040a650
lea ecx, [ebp - 0x260]
call fcn.004012d0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299e7
mov esp, ebp
pop ebp
ret

Function at 0x418930
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447281
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x4189f3
cmp eax, 0x104
ja 0x4189f3
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00401330
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x260]
call fcn.0040a610
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0040aaf0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040a650
lea ecx, [ebp - 0x248]
call fcn.004012d0
lea ecx, [ebp - 0x260]
call fcn.004012d0
lea ecx, [ebp - 0x230]
call fcn.004012d0
mov al, 1
jmp 0x4189f5
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299e7
mov esp, ebp
pop ebp
ret
Function at 0x418a10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4472d1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x102
ja 0x418b01
xor eax, eax
mov dword [ebp - 0x224], 0
mov word [ebp - 0x234], ax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x220], 7
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418a83
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00401400
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.0040a610
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0040aaf0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0040a650
lea ecx, [ebp - 0x24c]
call fcn.004012d0
lea ecx, [ebp - 0x264]
call fcn.004012d0
lea ecx, [ebp - 0x234]
call fcn.004012d0
mov al, 1
jmp 0x418b03
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004299e7
mov esp, ebp
pop ebp
ret

Function at 0x419640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4473c9
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x461264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.00419810
mov dword [edi], vtable.base::MessagePumpForIO.0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
lea esi, [edi + 0x34]
mov byte [ebp - 4], 1
push 0
push 0
mov ecx, esi
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0041ad70
mov dword [esi], eax
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x14], esi
call fcn.004191d0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 1
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
cmp dword [edi + 0x30], esi
je 0x419710
lea ecx, [edi + 0x30]
call fcn.0040ee80
test esi, esi
je 0x419710
cmp esi, 0xffffffff
je 0x419710
mov dword [edi + 0x30], esi
call fcn.00413e20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cab0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44774e
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x461264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x4630ac]
test eax, eax
je 0x41cae8
cmp eax, 1
jne 0x41ccf7
mov edx, 1
mov esi, 0x4630ac
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x41ccea
mov eax, 0x463170
xchg dword [eax], edx
test edx, edx
je 0x41cb27
xor esi, esi
mov dword [0x4630ac], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x4630b0
mov dword [ebp - 0x14], 0x4630b0
call fcn.00418b80
push 0
mov ecx, 0x4630cc
mov dword [ebp - 4], 0
mov byte [0x4630c8], 0
call fcn.00413c70
mov dword [0x4630d4], 0
mov dword [0x4630d8], 0
mov dword [0x4630dc], 0
mov dword [0x4630e0], 0
mov dword [0x4630e4], 0
mov dword [0x4630e8], 0
mov dword [0x4630ec], 0
mov dword [0x4630f0], 0
mov dword [0x4630f4], 0
mov ecx, 0x4630fc
mov byte [ebp - 4], 4
mov byte [0x4630f8], 0
call fcn.004191d0
xorps xmm0, xmm0
mov dword [0x463110], 0
movups xmmword [0x463100], xmm0
mov al, byte [ebp - 0xd]
mov ecx, 0x46311c
push 0
push 0
mov byte [ebp - 4], 5
mov dword [ebp - 0x18], 0x463114
mov byte [0x463114], al
mov dword [0x463118], 0
mov dword [0x46311c], 0
mov dword [0x463120], 0
call fcn.0040bb10
mov dword [0x46311c], eax
mov dword [0x463124], 0
mov dword [0x463128], 0
mov dword [0x46312c], 0
push 8
mov ecx, 0x463114
mov byte [ebp - 4], 7
mov dword [0x463118], 0x3f800000
call fcn.0040bb40
xorps xmm0, xmm0
mov dword [0x463150], 0
movlpd qword [0x463148], xmm0
mov dword [0x463164], 0
mov dword [0x463168], 0xf
mov byte [0x463154], 0
mov byte [ebp - 4], 9
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [0x463140], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.00429cc0
push 0
mov dword [0x463138], eax
mov esi, 0x4630b0
mov dword [0x46313c], edx
push 0x41c5a0
mov dword [ebp - 4], 0xffffffff
mov dword [0x4630ac], esi
call fcn.004165d0
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x4630ac
call fcn.00426960
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420cc0
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447e5a
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push esi
mov eax, dword [0x461264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, dword [ebp + 8]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x420dbb
push 1
push 2
lea ecx, [ebp - 0xa4]
call fcn.00406970
push 0x458268
push 0xffffffffffffffff
push str._vs.
push dword [esi]
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0x458274
push str.slot_____DWORD_0xFFFFFFFF_
push eax
call fcn.004026f0
add esp, 8
push eax
call fcn.004026f0
add esp, 8
mov ecx, eax
call fcn.0040a0a0
push eax
call fcn.004026f0
add esp, 8
mov ecx, eax
call fcn.0040a0a0
push eax
call fcn.004026f0
push 0x18
call fcn.004299f8
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x420d85
push eax
lea ecx, [ebp - 0xa4]
call fcn.004068b0
mov esi, eax
jmp 0x420d87
xor esi, esi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00404940
test esi, esi
je 0x420dbb
push esi
push 0x12
push str.f:360workgzturbowin_master_base_threading_thread_local_win.cc
lea ecx, [ebp - 0x154]
call fcn.0040f2f0
lea ecx, [ebp - 0x154]
call fcn.0040f420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x420df0
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445fcc
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x461264]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x420e7a
call fcn.00410400
cmp eax, 4
jg 0x420e6a
push 4
push 0x24
push str.f:360workgzturbowin_master_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f260
mov dword [ebp - 4], ebx
add eax, 8
push str.Failed_to_TlsSetValue__.
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
call fcn.004026f0
add esp, 8
test bl, 1
je 0x420e7a
lea ecx, [ebp - 0xc0]
call fcn.0040f420
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4277f0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
sub eax, esi
sar eax, 2
test eax, eax
je 0x427861
push ebx
push edi
mov edi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
movzx edx, al
movzx ecx, bl
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ecx, 8
xor eax, dword [edx*4 + 0x44a830]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
xor eax, dword [edx*4 + 0x44a830]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x44a830]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x44a830]
sub edi, 1
jne 0x427803
pop edi
pop ebx
pop esi
ret

Function at 0x428120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x428143
test eax, eax
jne 0x4281e9
mov eax, dword [0x4611d0]
cmp eax, 0xffffffff
je 0x4281e9
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x4281e8
push esi
push edi
lea eax, [ebp - 0x104]
mov ecx, 0x40
push eax
push dword [0x4611d0]
mov esi, ebx
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.00429a59
add esp, 4
mov edi, 0x40
mov esi, dword [0x463210]
xor dl, dl
test esi, esi
jle 0x4281cf
mov ecx, dword [ebp + esi*4 - 0x104]
test ecx, ecx
je 0x4281ca
mov eax, dword [esi*4 + 0x463218]
test eax, eax
je 0x4281ca
push ecx
mov dword [ebp + esi*4 - 0x104], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x4281a1
dec edi
test edi, edi
jle 0x4281d8
test dl, dl
jne 0x428195
push 0
push dword [0x4611d0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004299e7
mov esp, ebp
pop ebp
ret 0xc

Function at 0x428200
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x461264]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4611d0], 0xffffffff
push ebx
push esi
push edi
jne 0x428241
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, eax
mov esi, 0x4611d0
mov ecx, edx
or eax, 0xffffffff
lock cmpxchg dword [esi], ecx
cmp eax, 0xffffffff
je 0x428241
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0042c090
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [0x4611d0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x100
call fcn.00429a5e
add esp, 4
lea esi, [ebp - 0x104]
mov ebx, eax
mov ecx, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [0x4611d0]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004299e7
mov esp, ebp
pop ebp
ret