joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180e78b9
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x181cf008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
call fcn.180d7147
dec eax
xor ebx, ebx
push 0xf
pop edi
cmp eax, 9
ja case.default.0x180e78e1
jmp dword [eax*4 + 0x180e7a6d]
push 0xb
push str.Unsupported
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], str.T:_srcpiper_branchesomaha_M36_release_branchgoogle3_third_party_protobuf_legacy_opensource_src_google_protobuf_map_field.h
mov dword [ebp - 0x20], 0x11f
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.1804d05e
lea eax, [ebp - 0x28]
push eax
call fcn.180cb9c3
lea ecx, [ebp - 0x1c]
call fcn.1800e44a
push edi
push str.Cant_get_here.
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x28], 3
mov dword [ebp - 0x24], str.T:_srcpiper_branchesomaha_M36_release_branchgoogle3_third_party_protobuf_legacy_opensource_src_google_protobuf_map_field.h
mov dword [ebp - 0x20], 0x137
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov byte [ebp - 0x1c], bl
call fcn.1804d05e
lea eax, [ebp - 0x28]
push eax
call fcn.180cb9c3
lea ecx, [ebp - 0x1c]
call fcn.1800e44a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.18145fe4
leave
ret 4
mov ecx, esi
call fcn.180d7644
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x180e7988
mov eax, dword [eax]
push ecx
push eax
push 0x811c9dc5
call fcn.18030657
add esp, 0xc
jmp 0x180e7965
mov ecx, esi
call fcn.180d71d1
mov dword [ebp - 0x2c], edx
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov edx, 0x811c9dc5
movzx eax, byte [ebp + ecx - 0x30]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0x180e79ad
mov eax, edx
jmp 0x180e7965
mov ecx, esi
call fcn.180d739d
mov ecx, esi
call fcn.180d739d
mov dword [ebp - 0x2c], eax
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x2c]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x180e79dc
jmp 0x180e79c0
mov ecx, esi
call fcn.180d72b7
mov ecx, esi
call fcn.180d72b7
mov dword [ebp - 0x2c], edx
xor ecx, ecx
mov dword [ebp - 0x30], eax
mov edx, 0x811c9dc5
movzx eax, byte [ebp + ecx - 0x30]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 8
jb 0x180e7a0c
jmp 0x180e79c0
mov ecx, esi
call fcn.180d7480
mov ecx, esi
call fcn.180d7480
mov dword [ebp - 0x2c], eax
mov edx, 0x811c9dc5
xor ecx, ecx
movzx eax, byte [ebp + ecx - 0x2c]
xor eax, edx
imul edx, eax, 0x1000193
inc ecx
cmp ecx, 4
jb 0x180e7a39
jmp 0x180e79c0
mov ecx, esi
call fcn.180d7561
movzx eax, al
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
jmp 0x180e7965

Function at 0x1810030e
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 8]
mov edi, ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.180eb29f
imul esi, dword [eax + 4], 0x1000193
imul eax, dword [eax], 0x100011b
xor eax, esi
and eax, dword [edi + 0x18]
pop edi
pop esi
leave
ret 4
Function at 0x181003ab
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
lea eax, [ebp - 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebp + 8]
push eax
call fcn.180eb0b3
mov esi, eax
lea edx, [esi + 4]
push edx
call fcn.180dd53e
imul ecx, dword [esi], 0x1000193
xor eax, ecx
and eax, dword [edi + 0x18]
pop edi
pop esi
leave
ret 4

Function at 0x1810050b
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
push edi
mov dword [ebp - 4], esi
mov edi, ecx
lea eax, [esi + 4]
push eax
call fcn.180dd53e
imul esi, dword [esi], 0x1000193
mov ebx, eax
xor ebx, esi
mov esi, dword [edi + 0xc]
and ebx, dword [edi + 0x18]
mov esi, dword [esi + ebx*8]
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
cmp dword [eax + ebx*8], ecx
jne 0x18100544
mov eax, ecx
jmp 0x1810054a
mov eax, dword [eax + ebx*8 + 4]
mov eax, dword [eax]
cmp esi, eax
je 0x1810057c
mov edx, dword [ebp - 4]
lea ecx, [esi + 8]
call fcn.18104a08
test al, al
jne 0x18100561
mov esi, dword [esi]
jmp 0x18100535
mov ecx, dword [ebp - 4]
lea edx, [esi + 8]
call fcn.18104a08
test al, al
jne 0x18100577
mov esi, dword [edi + 4]
mov ecx, esi
jmp 0x1810057e
mov ecx, dword [edi + 4]
jmp 0x1810057e
mov esi, ecx
cmp esi, ecx
jne 0x18100586
xor eax, eax
jmp 0x18100589
mov eax, dword [esi + 0x14]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x18104930
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
lea eax, [ebx + 4]
push eax
call fcn.180dd53e
imul edx, dword [ebx], 0x1000193
mov esi, dword [edi + 0xc]
xor eax, edx
and eax, dword [edi + 0x18]
mov dword [ebp + 0xc], eax
push eax
mov esi, dword [esi + eax*8]
jmp 0x1810496f
lea ecx, [esi + 8]
mov edx, ebx
call fcn.18104a08
test al, al
jne 0x1810499f
mov esi, dword [esi]
push dword [ebp + 0xc]
lea eax, [ebp - 4]
mov ecx, edi
push eax
call fcn.180decab
cmp esi, dword [eax]
jne 0x1810495c
mov esi, dword [edi + 4]
mov eax, esi
cmp esi, eax
jne 0x181049b2
push ecx
lea eax, [ebp + 0xc]
mov dword [ebp + 0xc], ebx
push eax
push ecx
push dword [ebp + 8]
mov ecx, edi
call fcn.181064f6
mov eax, dword [ebp + 8]
jmp 0x181049bb
lea edx, [esi + 8]
mov ecx, ebx
call fcn.18104a08
test al, al
je 0x1810497e
mov eax, dword [edi + 4]
jmp 0x18104983
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40b290
Capabilities:
Modify service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x490274]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x40b2cb
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
push 0xf01ff
push dword [0x481364]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x40b32a
lea eax, [ebp - 0xc]
mov dword [ebp - 0x20], 0x3c
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x20]
push eax
push 2
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 0x481bc0
mov dword [ebp - 0x1c], 0x481bc0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 1
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
jne 0x40b353
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor bl, bl
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test esi, esi
je 0x40b33d
push esi
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call eax
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435bdb
mov esp, ebp
pop ebp
ret
mov bl, 1
jmp 0x40b32c

Function at 0x40b360
Capabilities:
Create service
Modify service
Persist via windows service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x490d38]
cmp eax, 0x7fffffff
push ebx
push esi
push edi
mov ebx, ecx
sete byte [ebp - 1]
push 3
mov ecx, 0x7530
mov dword [ebp - 8], ebx
push 0
cmove eax, ecx
push 0
mov dword [0x490d38], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
test edi, edi
jne 0x40b3a3
lea ebx, [eax + 0xb]
jmp 0x40b48a
push 0
push 0
push 0x481e50
push 0
push 0x481bc0
push ebx
push 1
push 2
push 0x10
push 4
push dword [0x481368]
push dword [0x481364]
push edi
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov esi, eax
test esi, esi
je 0x40b3f2
call fcn.0040b290
movzx ebx, al
neg ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
sbb ebx, ebx
add ebx, 0xb
call esi
jmp 0x40b487
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x431
jne 0x40b470
push 3
push dword [0x481364]
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x40b41b
lea ebx, [eax + 0xb]
jmp 0x40b461
push dword [0x481368]
push 0
push 0
push 0x481e50
push 0
push 0x481bc0
push dword [ebp - 8]
push 1
push 2
push 0x10
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test eax, eax
jne 0x40b44e
call ebx
mov ebx, 0xd
jmp 0x40b461
call fcn.0040b290
mov ebx, 0xd
test al, al
je 0x40b461
mov ebx, 0xc
test esi, esi
je 0x40b481
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
jmp 0x40b487
mov ebx, 0x32
cmp eax, 0x430
je 0x40b481
mov ebx, 0xb
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push edi
call esi
mov ecx, dword [0x490d38]
mov eax, 0x7fffffff
cmp byte [ebp - 1], 0
pop edi
cmovne ecx, eax
mov eax, ebx
pop esi
mov dword [0x490d38], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4165d0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c1fd
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
push esi
push edi
mov eax, dword [0x490274]
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 0x416679
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x1058], bl
cmp dword [ebp + 8], ebx
je 0x41669e
cmp dword [ebp + 0xc], ebx
je 0x41669e
mov edx, dword [esi + 0x1064]
mov edi, dword [esi + 0x1070]
mov dword [ebp - 4], 0xffffffff
test edx, edx
je 0x416641
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 0x416669
mov dword [esi + 0x1070], ebx
jmp 0x41666f
inc dword [esi + 0x1070]
test ecx, ecx
je 0x416679
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [esi + 0x1074], ebx
je 0x4167f1
mov edi, dword [esi + 0x105c]
cmp edi, 0xffffffff
je 0x4166fe
mov eax, dword [esi + 0x1064]
test eax, eax
jne 0x416714
xor edx, edx
jmp 0x416716
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.004106d0
cmp eax, 2
jg 0x4166ee
push 2
push 0x1ac
push str.f:360workgzturbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
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.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, 8
je 0x4166fe
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
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 0x4167ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4167ea
call fcn.004106d0
cmp eax, 2
jg 0x4167c1
push 2
push 0x1ce
push str.f:360workgzturbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
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.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, bl
jns 0x4166fe
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
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 0x416810
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c23c
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push ebx
push esi
push edi
mov eax, dword [0x490274]
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 0x4168d5
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 0x4168ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, 0x3e5
je 0x4168ee
call fcn.004106d0
cmp eax, 2
jg 0x4168c5
push 2
push 0x84
push str.f:360workgzturbowin_master_baseipcipc_channel_win.cc
lea ecx, [ebp - 0xc4]
call fcn.0040f530
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.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
test bl, 1
je 0x4168d5
lea ecx, [ebp - 0xc4]
call fcn.0040f6f0
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 0x418e90
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46c59f
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x490274]
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 [0x4938dc], 0
je 0x418eca
xor al, al
jmp 0x418f89
push 0x18
call fcn.00435bec
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov dword [ebp - 4], 0
test edi, edi
je 0x418f1a
lea eax, [ebp - 0x29]
mov ecx, edi
push eax
push 1
call fcn.00417af0
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.004032d0
mov dword [esi], eax
mov dword [edi + 0x14], 1
jmp 0x418f1c
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov dword [0x4938dc], 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 0x418f50
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403650
mov ecx, dword [0x4938dc]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 4], 2
call fcn.00419450
lea ecx, [ebp - 0x28]
call fcn.00402e70
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.00435bdb
mov esp, ebp
pop ebp
ret
Function at 0x429100
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46dcea
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push esi
mov eax, dword [0x490274]
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 0x4291fb
push 1
push 2
lea ecx, [ebp - 0xa4]
call fcn.00409140
push 0x481c94
push 0xffffffffffffffff
push str._vs.
push dword [esi]
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0x481ca0
push str.slot_____DWORD_0xFFFFFFFF_
push eax
call fcn.00402230
add esp, 8
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
push eax
call fcn.00402230
add esp, 8
mov ecx, eax
call fcn.00409be0
push eax
call fcn.00402230
push 0x18
call fcn.00435bec
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4291c5
push eax
lea ecx, [ebp - 0xa4]
call fcn.00409080
mov esi, eax
jmp 0x4291c7
xor esi, esi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00406ee0
test esi, esi
je 0x4291fb
push esi
push 0x12
push str.f:360workgzturbowin_master_base_threading_thread_local_win.cc
lea ecx, [ebp - 0x154]
call fcn.0040f5c0
lea ecx, [ebp - 0x154]
call fcn.0040f6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x429230
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46b28c
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x490274]
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 0x4292ba
call fcn.004106d0
cmp eax, 4
jg 0x4292aa
push 4
push 0x24
push str.f:360workgzturbowin_master_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040f530
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.00402230
add esp, 8
test bl, 1
je 0x4292ba
lea ecx, [ebp - 0xc0]
call fcn.0040f6f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e5e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46e4c1
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x490274]
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 0x42e6d1
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 0x42e653
sub eax, edx
lea ecx, [ebp - 0x234]
sar eax, 1
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.00403650
lea eax, [ebp - 0x234]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x264]
call fcn.0041a700
lea ecx, [ebp - 0x24c]
mov byte [ebp - 4], 1
push ecx
mov ecx, eax
call fcn.0041abe0
push eax
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0041a740
lea ecx, [ebp - 0x24c]
call fcn.00402e70
lea ecx, [ebp - 0x264]
call fcn.00402e70
lea ecx, [ebp - 0x234]
call fcn.00402e70
mov al, 1
jmp 0x42e6d3
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.00435bdb
mov esp, ebp
pop ebp
ret

Function at 0x430200
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 0x430271
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 + 0x472ab0]
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 + 0x472ab0]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x472ab0]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x472ab0]
sub edi, 1
jne 0x430213
pop edi
pop ebx
pop esi
ret
Function at 0x433480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
cmp dword [ebx + 0x38], 0
je 0x4334a4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004069f0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebx + 0x20]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov eax, dword [eax]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], eax
test eax, eax
je 0x4334c5
mov eax, dword [ebx + 0x30]
mov eax, dword [eax]
jmp 0x4334c7
xor eax, eax
cdq
mov dword [ebp + 0x10], eax
mov ecx, edx
mov dword [ebp - 4], ecx
test edi, edi
jl 0x433544
jg 0x4334da
test esi, esi
je 0x433544
test ecx, ecx
jl 0x43351e
jg 0x4334e4
test eax, eax
je 0x43351e
cmp edi, ecx
jg 0x4334f6
jl 0x4334ee
cmp esi, eax
jae 0x4334f6
mov eax, esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 4], edi
push eax
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0044d630
mov ecx, dword [ebp + 0x10]
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [ebx + 0x30]
add edx, ecx
sub esi, ecx
sbb edi, dword [ebp - 4]
sub dword [eax], ecx
mov eax, dword [ebx + 0x20]
add dword [eax], ecx
jmp 0x433521
mov edx, dword [ebp + 8]
test edi, edi
jl 0x433544
jg 0x43352b
test esi, esi
je 0x433544
mov eax, dword [ebx + 0x4c]
test eax, eax
je 0x433544
push eax
push esi
push 1
push edx
call fcn.00454800
add esp, 0x10
sub esi, eax
sbb edi, 0
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
sub eax, esi
sbb edx, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x438e8b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x440eaa
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x440e70
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x440e8e
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
or byte [ecx], al
add byte [eax], al
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x440eec
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x440ed3
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x440edc
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x440ee6
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x440ec8
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x440e52
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2