joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a1e0
Capabilities:
Get number of processors
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42b3d0
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x4340a0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
push edi
mov eax, dword [0x4340a0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
cmp byte [ebx], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
jne 0x41a3a3
cmp dword [ebp + 0x1c], 0
jne 0x41a245
or eax, 0xffffffff
jmp 0x41a3a5
mov eax, dword [0x435210]
mov edx, dword [eax + 0xc]
mov ecx, 0x435210
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
lea eax, [esp + 0x14]
push eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push esi
lea esi, [esp + 0x14]
call fcn.0041a3e0
add esp, 4
mov byte [esp + 0x38], 1
movzx ecx, word [esp + 0x20]
movzx edx, word [esp + 0x1e]
mov eax, dword [eax]
push ecx
movzx ecx, word [esp + 0x20]
push edx
movzx edx, word [esp + 0x1c]
push ecx
movzx ecx, word [esp + 0x22]
push edx
movzx edx, word [esp + 0x2a]
push ecx
push edx
push eax
push str._s_______02d__02d__d:_02d:_02d:_02d_0800_
lea edi, [esp + 0x2c]
call fcn.00418c20
mov byte [esp + 0x58], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 0x20
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a2dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [ebp + 0x1c]
lea ecx, [ebp + 0x20]
push ecx
push edx
lea edi, [esp + 0x14]
call fcn.00404920
push 0x42decc
mov eax, edi
push eax
mov edx, 2
call fcn.00404010
mov ecx, ebx
call fcn.00419ea0
mov eax, dword [ebp + 8]
mov edi, dword [esp + 0xc]
cmp eax, 4
ja case.default.0x41a313
jmp dword [eax*4 + 0x41a3c4]
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x14]
call fcn.00404750
jmp 0x41a37f
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x3c]
call fcn.00404750
jmp 0x41a37f
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x64]
call fcn.00404750
jmp 0x41a37f
cmp dword [0x436780], 1
jne 0x41a37f
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0x8c]
call fcn.00404750
jmp 0x41a37f
mov eax, dword [edi - 0xc]
push eax
push edi
lea esi, [ebx + 0xb4]
call fcn.00404750
jmp 0x41a37f
push 0x42ef60
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
add edi, 0xfffffff0
mov dword [esp + 0x38], 0xffffffff
lea ecx, [edi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41a3a3
mov ecx, dword [edi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push edi
call edx
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.0041c227
mov esp, ebp
pop ebp
ret
Function at 0x41af90
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x41c227
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4340a0]
jne 0x41c231
repz ret
jmp fcn.0041e775

Function at 0x428b23
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00420bce
and dword [ebp - 4], 0
cmp dword [0x435c64], 0
mov ebx, eax
jne 0x428bd4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x428c85
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42dde4
push edi
call esi
test eax, eax
je 0x428c85
push eax
call fcn.00420b5c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x435c64], eax
call esi
push eax
call fcn.00420b5c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x435c68], eax
call esi
push eax
call fcn.00420b5c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x435c6c], eax
call esi
push eax
call fcn.00420b5c
pop ecx
mov dword [0x435c74], eax
test eax, eax
je 0x428bd4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00420b5c
pop ecx
mov dword [0x435c70], eax
mov eax, dword [0x435c70]
cmp eax, ebx
je 0x428c2c
cmp dword [0x435c74], ebx
je 0x428c2c
push eax
call fcn.00420bd7
push dword [0x435c74]
mov esi, eax
call fcn.00420bd7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x428c2c
test edi, edi
je 0x428c2c
call esi
test eax, eax
je 0x428c23
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x428c23
test byte [ebp - 0xc], 1
jne 0x428c2c
or dword [ebp + 0x10], 0x200000
jmp 0x428c65
mov eax, dword [0x435c68]
cmp eax, ebx
je 0x428c65
push eax
call fcn.00420bd7
pop ecx
test eax, eax
je 0x428c65
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x428c65
mov eax, dword [0x435c6c]
cmp eax, ebx
je 0x428c65
push eax
call fcn.00420bd7
pop ecx
test eax, eax
je 0x428c65
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x435c64]
call fcn.00420bd7
pop ecx
test eax, eax
je 0x428c85
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x428c87
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1014
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
mov dword [0x415c84], 9
or eax, 0xffffffff
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
mov esi, eax
test eax, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4018b0
Capabilities:
Encode data using xor

Disassembly:
push 0x4024f4
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
inc eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], ah
stosb byte es:[edi], al
cmp bl, dh
mov ebx, 0x1318be45
mov bl, 0xa3
invalid
Function at 0x4013ca
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [0xe4c3b4], 1
mov dword [0xe4c3b8], 1
mov dword [0xe4c3bc], 1
mov dword [0xe4c3a8], 1
mov dword [ebp - 4], 0x400000
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x401415
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x401438
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
movzx eax, ax
cmp eax, 0x10b
je 0x40145a
cmp eax, 0x20b
je 0x40147f
jmp 0x4014aa
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x5c]
cmp eax, 0xe
ja 0x40146c
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x6c]
cmp eax, 0xe
ja 0x401497
mov eax, 0
jmp 0x4014af
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x4014af
mov eax, 0
leave
ret

Function at 0x403149
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ebx
mov dword [esp + 4], 1
mov dword [esp], edx
call sub.msvcrt.dll_fread
cmp ebx, eax
je 0x403180
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.00402feb
mov eax, dword [ebp - 0xc]
add esp, 0x24
pop ebx
pop ebp
ret 4

Function at 0x40391f
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [ebp - 0x10], ecx
call sub.msvcrt.dll_fwrite
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.00402feb
mov eax, dword [ebp - 0xc]
leave
ret 4

Function at 0x403ec4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
xor eax, eax
push ebx
mov ebx, edx
sub esp, 0x10
test edx, edx
je 0x403ede
mov dword [esp], edx
call sub.msvcrt.dll_strlen
mov dword [esp + 0xc], esi
mov dword [esp], ebx
mov dword [esp + 8], eax
mov dword [esp + 4], 1
call sub.msvcrt.dll_fwrite
mov dword [esp], esi
call sub.msvcrt.dll_fflush
add esp, 0x10
pop ebx
pop esi
pop ebp
ret
Function at 0x40715c
Capabilities:
Write file on windows

Disassembly:
cmp dword [0xe4c0ac], 0
jne 0x407167
jmp fcn.00407118
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
call fcn.004070cd
mov dword [esp + 4], edx
mov ebx, edx
mov dword [esp], eax
call dword [0xe4c0ac]
push edx
push edx
test ebx, ebx
je 0x407196
bt dword [ebx], 0x1e
jb 0x407196
mov dword [esp], ebx
call fcn.00404e04
mov dword [esp], 0xe391e8
call fcn.00424dc0
cmp byte [eax], 0
je 0x4071ca
mov byte [eax], 0
mov dword [esp], 0xe39168
call fcn.00424dc0
mov ecx, eax
mov eax, dword [eax]
mov edx, dword [eax + 0x1c]
mov dword [esp], 0
call fcn.00405477
push eax
mov ebx, dword [ebp - 4]
leave
ret
Function at 0x4089f8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
push esi
mov esi, edx
push ebx
xor ebx, ebx
sub esp, 0x2c
mov dword [esp], 0xe4c090
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edx
cmp ebx, esi
jl 0x408a69
mov dword [esp], 1
mov ebx, dword [fcn.0042e0fc]
call ebx
mov dword [esp + 8], 1
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0xe3a4db
call sub.msvcrt.dll_fwrite
mov dword [esp], 1
call ebx
mov dword [esp], eax
call sub.msvcrt.dll_fflush
mov dword [esp], 0xe4c090
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push eax
jmp 0x408ae2
test ebx, ebx
jns 0x408a7c
dec esi
mov dword [esp], ebx
mov dword [esp + 4], esi
call fcn.00406bbc
jmp 0x408ae2
mov dword [esp], 1
call dword [0xe394f4]
mov dword [esp + 8], 0
mov ecx, eax
lea eax, [edi + ebx*8]
mov edx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004088fa
sub esp, 0xc
mov dword [esp], 0xe391e8
call fcn.00424dc0
cmp byte [eax], 0
jne 0x408ae2
lea ecx, [ebp - 0x1c]
mov edx, 1
mov eax, ebx
call fcn.00403ddf
test al, al
je 0x408ada
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00404f18
mov ebx, dword [ebp - 0x1c]
jmp 0x408a15
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4115dd
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov eax, edx
mov ebp, esp
push edi
push esi
push ebx
mov ebx, ecx
mov ecx, 4
sub esp, 0x4c
mov dword [ebp - 0x1c], edx
cdq
fld dword [0xe3b1d8]
idiv ecx
xor ecx, ecx
mov dword [ebp - 0x20], eax
fimul dword [ebp - 0x20]
lea edi, [eax*4]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x20], 0
fst qword [ebp - 0x28]
fild dword [ebp - 0x2c]
fstp qword [ebp - 0x38]
fabs
fstp qword [ebp - 0x40]
fld qword [ebp - 0x38]
fld qword [ebp - 0x28]
fucompi st(1)
fstp st(0)
jp 0x411630
je 0x411651
fld qword [ebp - 0x38]
fsub qword [ebp - 0x28]
fabs
fmul dword [0xe3b1dc]
fld qword [ebp - 0x40]
fcompi st(1)
fstp st(0)
jae 0x411651
call fcn.00404f18
jmp 0x411755
cmp ecx, dword [ebp - 0x2c]
jl 0x411667
mov eax, dword [ebp - 0x1c]
mov esi, 4
add ebx, ecx
cdq
idiv esi
xor eax, eax
jmp 0x4116dd
cmp ecx, dword [ebp - 0x1c]
jl 0x41167c
mov eax, dword [ebp - 0x1c]
mov dword [esp], ecx
dec eax
mov dword [esp + 4], eax
jmp 0x411750
lea esi, [ecx + 4]
mov eax, dword [ebx + ecx]
xor ecx, esi
test esi, ecx
js 0x411647
imul eax, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.004115d8
mov dword [esp], 0xe391e8
mov edi, eax
call fcn.00424dc0
cmp byte [eax], 0
jne 0x411755
imul eax, edi, 0x1b873593
mov edx, 0xd
xor eax, dword [ebp - 0x20]
call fcn.004115d8
mov ecx, esi
lea eax, [eax + eax*4]
sub eax, 0x19ab949c
mov dword [ebp - 0x20], eax
jmp 0x411622
movzx esi, byte [ebx + esi]
shl eax, 8
or eax, esi
test edx, edx
jg 0x411738
imul eax, eax, 0xcc9e2d51
mov edx, 0xf
call fcn.004115d8
mov dword [esp], 0xe391e8
mov ebx, eax
call fcn.00424dc0
cmp byte [eax], 0
jne 0x411755
imul ebx, ebx, 0x1b873593
mov eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
xor eax, ebx
mov ebx, eax
shr ebx, 0x10
xor ebx, eax
imul ebx, ebx, 0x85ebca6b
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul eax, eax, 0xc2b2ae35
mov edx, eax
shr edx, 0x10
xor edx, eax
mov dword [ebp - 0x30], edx
jmp 0x411755
lea esi, [edx - 1]
mov edx, esi
lea edi, [ecx + esi]
cmp dword [ebp - 0x1c], edi
jg 0x4116d4
mov eax, dword [ebp - 0x1c]
mov dword [esp], edi
dec eax
mov dword [esp + 4], eax
call fcn.00406bbc
mov eax, dword [ebp - 0x30]
add esp, 0x4c
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x423714
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp], 2
call fcn.0042e0fc
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1b
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sub.msvcrt.dll_fwrite
mov ebx, dword [ebp - 0xc]
mov dword [esp], 2
call fcn.0042e0fc
mov dword [esp + 8], ebx
mov edx, dword [ebp + 8]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort

Function at 0x424264
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, word [eax]
cmp ax, 0x5a4d
je 0x424283
mov eax, 0
jmp 0x4242c7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp - 4]
add eax, edx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
cmp eax, 0x4550
je 0x4242a6
mov eax, 0
jmp 0x4242c7
mov eax, dword [ebp - 8]
add eax, 0x18
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
cmp ax, 0x10b
je 0x4242c2
mov eax, 0
jmp 0x4242c7
mov eax, 1
leave
ret

Function at 0x4242c9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x3c]
mov edx, eax
mov eax, dword [ebp + 8]
add eax, edx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 0x14]
movzx edx, ax
mov eax, dword [ebp - 0xc]
add eax, edx
add eax, 0x18
mov dword [ebp - 4], eax
jmp 0x424328
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
cmp dword [ebp + 0xc], eax
jb 0x424320
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x424320
mov eax, dword [ebp - 4]
jmp 0x42433c
add dword [ebp - 8], 1
add dword [ebp - 4], 0x28
mov eax, dword [ebp - 0xc]
movzx eax, word [eax + 6]
movzx eax, ax
cmp dword [ebp - 8], eax
jb 0x4242fd
mov eax, 0
leave
ret
Function at 0x42f20d
Capabilities:
Contain obfuscated stackstrings
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push ebx
add esp, 0xffffff80
cmp dword [ebp + 8], 0
je 0x42f326
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00432ff4
cmp eax, 1
jne 0x42f31c
mov dword [ebp - 0x77], 0x6f727245
mov dword [ebp - 0x73], 0x6c632072
mov dword [ebp - 0x6f], 0x696e6165
mov dword [ebp - 0x6b], 0x7520676e
mov dword [ebp - 0x67], 0x70732070
mov dword [ebp - 0x63], 0x6b5f6e69
mov dword [ebp - 0x5f], 0x20737965
mov dword [ebp - 0x5b], 0x20726f66
mov dword [ebp - 0x57], 0x65726874
mov dword [ebp - 0x53], 0x206461
lea eax, [ebp - 0x4f]
mov ecx, 0x43
mov ebx, 0
mov dword [eax], ebx
mov dword [eax + ecx - 4], ebx
lea edx, [eax + 4]
and edx, 0xfffffffc
sub eax, edx
add ecx, eax
and ecx, 0xfffffffc
shr ecx, 2
mov edi, edx
mov eax, ebx
rep stosd dword es:[edi], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov dword [esp + 8], 0xa
lea edx, [ebp - 0x77]
add edx, 0x27
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.msvcrt.dll__ultoa]
call eax
mov dword [ebp - 0xc], 0x27
jmp 0x42f2d2
add dword [ebp - 0xc], 1
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
movzx eax, byte [eax]
test al, al
je 0x42f2e9
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
jbe 0x42f2ce
mov eax, dword [ebp - 0xc]
cmp eax, 0x69
ja 0x42f307
lea edx, [ebp - 0x77]
mov eax, dword [ebp - 0xc]
add eax, edx
mov byte [eax], 0xa
mov eax, dword [ebp - 0xc]
add eax, 1
mov byte [ebp + eax - 0x77], 0
lea eax, [ebp - 0x77]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call eax
sub esp, 4
call sub.msvcrt.dll_abort
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [eax], edx
jmp 0x42f327
nop
lea esp, [ebp - 8]
pop ebx
pop edi
pop ebp
ret
Function at 0x4302c1
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x3c
mov dword [ebp - 0x1c], 0xffffffff
mov dword [esp + 4], 0x43012e
mov dword [esp], 0xe4ce00
call fcn.0042f882
mov eax, dword [0xe39510]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call eax
sub esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x430308
mov eax, dword [ebp - 0x20]
jmp 0x430453
call fcn.0042f116
mov dword [ebp - 0x20], eax
mov eax, dword [entry3]
test eax, eax
je 0x43031f
cmp dword [ebp - 0x20], 0
jne 0x430329
mov eax, 0
jmp 0x430453
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x24], 1
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call eax
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x3c], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateEventA]
call eax
sub esp, 0x10
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x1c], 0xffffffff
mov eax, dword [ebp - 0x20]
lea edx, [eax + 0x38]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0042f20d
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x64], 0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x14], 0
mov eax, dword [ebp - 0x20]
lea edi, [eax + 0x14]
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov esi, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call eax
mov ebx, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call eax
mov dword [esp + 0x18], 2
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_DuplicateHandle]
call eax
sub esp, 0x1c
test eax, eax
jne 0x4303fb
call sub.msvcrt.dll_abort
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetThreadPriority]
call eax
sub esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x68], 0
mov eax, dword [ebp - 0x20]
movzx edx, byte [eax + 0x20]
and edx, 0xffffffcf
or edx, 0x10
mov byte [eax + 0x20], dl
mov eax, dword [0xe39510]
mov edx, dword [ebp - 0x20]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TlsSetValue]
call eax
sub esp, 8
test eax, eax
jne 0x430450
call sub.msvcrt.dll_abort
mov eax, dword [ebp - 0x20]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret