joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005e70
Capabilities:
List tcp connections and listeners

Disassembly:
sub esp, 0x108
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push ebp
push esi
push edi
push 0
push 5
push 2
push 1
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x28], 0
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
mov ebp, eax
push 0
push 5
push 2
push 1
lea edx, [esp + 0x20]
push edx
push ebp
call sub.IPHLPAPI.DLL_GetExtendedTcpTable
xor ebx, ebx
cmp dword [ebp], ebx
jbe 0x10005fbe
lea edi, [ebp + 0x18]
cmp dword [edi - 0x14], 5
jne 0x10005fb1
mov eax, dword [edi]
push eax
call fcn.10005dd0
add esp, 4
lea edx, [esp + 0x14]
mov edi, edi
mov cl, byte [eax]
mov byte [edx], cl
inc eax
inc edx
test cl, cl
jne 0x10005ef0
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10005f01
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x10005f29
mov al, byte [esp + ecx + 0x14]
cmp al, 0x41
jl 0x10005f24
cmp al, 0x5f
jg 0x10005f24
add al, 0x20
mov byte [esp + ecx + 0x14], al
inc ecx
cmp ecx, edx
jl 0x10005f12
movzx ecx, word [edi - 4]
push ecx
call sub.WS2_32.dll_ntohs
movzx esi, ax
mov ecx, str.game.exe
lea eax, [esp + 0x14]
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005f60
test dl, dl
je 0x10005f5c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005f60
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005f40
xor eax, eax
jmp 0x10005f65
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10005f71
cmp esi, 0x1964
jmp 0x10005faf
mov ecx, str.poker.exe
lea eax, [esp + 0x14]
lea ebx, [ebx]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x10005fa0
test dl, dl
je 0x10005f9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x10005fa0
add eax, 2
add ecx, 2
test dl, dl
jne 0x10005f80
xor eax, eax
jmp 0x10005fa5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10005fb1
cmp esi, 0x3b63
je 0x10005fce
inc ebx
add edi, 0x18
cmp ebx, dword [ebp]
jb 0x10005ed5
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10005eb4
push ebp
call dword [sym.imp.MSVCR90.dll_free]
mov ecx, dword [esp + 0x118]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.10006be0
add esp, 0x108
ret
Function at 0x100066d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010220
push 0
push 0
push 0x10009028
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010220
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006700
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000672d
mov edx, eax
and edx, 0x80000001
jns 0x10006720
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010220], dl
inc eax
cmp eax, ecx
jl 0x10006711
pop ecx
ret

Function at 0x10006730
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010230
push 0
push 0
push 0x10009040
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010230
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006760
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000678d
mov edx, eax
and edx, 0x80000001
jns 0x10006780
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010230], dl
inc eax
cmp eax, ecx
jl 0x10006771
pop ecx
ret

Function at 0x10006790
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010240
push 0
push 0
push 0x10009058
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010240
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100067c0
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x100067ed
mov edx, eax
and edx, 0x80000001
jns 0x100067e0
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010240], dl
inc eax
cmp eax, ecx
jl 0x100067d1
pop ecx
ret

Function at 0x100067f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov ecx, dword [0x10010284]
lea eax, [esp]
push eax
push 0x10010250
push 0
push 0
push 0x10009070
push ecx
mov dword [esp + 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, 0x10010250
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006820
sub eax, edx
mov ecx, eax
xor eax, eax
test ecx, ecx
jle 0x1000684d
mov edx, eax
and edx, 0x80000001
jns 0x10006840
dec edx
or edx, 0xfffffffe
inc edx
add dl, al
sub byte [eax + 0x10010250], dl
inc eax
cmp eax, ecx
jl 0x10006831
pop ecx
ret
Function at 0x10006850
Capabilities:
Create thread

Disassembly:
sub esp, 0x18
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push edi
lea eax, [esp + 8]
push eax
push 0
push 0
push 0x10006910
push 0
push 0
mov byte [0x10009078], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10006883
push eax
call edi
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 0x100016e0
push 0
push 0
call esi
test eax, eax
je 0x1000689e
push eax
call edi
lea edx, [esp + 0x10]
push edx
push 0
push 0
push 0x100038f0
push 0
push 0
call esi
test eax, eax
je 0x100068b9
push eax
call edi
lea eax, [esp + 0x14]
push eax
push 0
push 0
push 0x100048a0
push 0
push 0
call esi
test eax, eax
je 0x100068d4
push eax
call edi
lea ecx, [esp + 0x18]
push ecx
push 0
push 0
push 0x10002690
push 0
push 0
call esi
test eax, eax
je 0x100068ef
push eax
call edi
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x10006000
push 0
push 0
call esi
test eax, eax
je 0x1000690a
push eax
call edi
pop edi
pop esi
add esp, 0x18
ret

Function at 0x10006be0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x10006bea
repz ret
jmp fcn.10006f9d
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x40de38
nop
mov ecx, 0x7dd12e99
nop
nop
nop
nop
nop
test eax, eax
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x7f580d4e
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x40193e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov eax, dword [esp + 8]
mov dword [0x4040d0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401951
push esp
mov dword [ebp - 0x24], 0x4016b5
mov eax, dword [0x4040d0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040d0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4019f0
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x4019d1
pop ebp
ret 0x10

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
nop
mov ecx, 0x844790
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
mov ebx, 0x42f3f8
nop
nop
mov ecx, 0x1c0d7721
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x431084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40596d
pop dword [ebp - 0x34]
mov eax, 0x40596d
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xa88044b3
add dword [ebp - 0x44], 0xa5d20098
mov dword [ebp - 0x40], 0xcb0be350
sub dword [ebp - 0x40], 0x98d8970b
mov dword [ebp - 0x3c], 0x18fee1a3
sub dword [ebp - 0x3c], 0xccb29d75
mov dword [ebp - 0x38], 0x4397c0e3
sub dword [ebp - 0x38], 0x4397c0e3
lea eax, [ebp - 0x44]
push eax
mov eax, 0x94bf2caa
sub eax, 0x947ebc4a
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x23ff1e7d
sub dword [ebp - 0x44], 0xaf8cb527
mov dword [ebp - 0x40], 0x556680f2
add dword [ebp - 0x40], 0xec05e083
mov dword [ebp - 0x3c], 0x7d888e8f
sub dword [ebp - 0x3c], 0x1a192223
mov dword [ebp - 0x38], 0x77b0270d
add dword [ebp - 0x38], 0x884fd8f3
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3b92b
push 0
call eax
mov ecx, 0x5b6d
mov ebx, eax
mov esi, 0xf560a94
add esi, 0xf0eaf56c
add esi, dword [ebp - 0x34]
mov edx, 0x1bd521e6
sub edx, 0x2556aafb
mov dword [ebp - 0x10], 0x94bbe527
mov edi, dword [esi]
add dword [ebp - 0x20], 0xd6696123
sub edi, edx
add dword [ebp - 0x18], edx
mov dword [ebx], edi
xor dword [ebp - 0x14], 0x38fb9f36
add ebx, 0x4e476c2d
sub ebx, 0x4e476c29
add esi, 0x685b233f
sub esi, 0x685b233b
loop 0x405a7f
add eax, 0x16087
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
mov ecx, 0x767b0ec8
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x2c551317
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x4028e7
Capabilities:
Terminate process

Disassembly:
jmp 0x41faa2
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x41fab3
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00403f62
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x402996
Capabilities:
Query environment variable

Disassembly:
jmp 0x452446
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x452457
pop esi
ret
push ebx
push edi
push esi
call fcn.0045232d
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00402f6d
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x45247f
push ebx
push esi
push edi
call fcn.00403e13
add esp, 0xc
push 0
call fcn.00404525
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x403e8b
Capabilities:
Parse pe header

Disassembly:
jmp 0x411ffc
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x41203b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41203b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41203b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x41203b
cmp dword [ecx + 0x74], 0xe
jbe 0x41203b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x45032d
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x51e748]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x450378
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004508ee
test al, al
jne 0x450372
sub edx, 2
cmp edx, edi
jne 0x450358
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x45039a
lea eax, [edi + 2]
cmp edx, eax
je 0x45039a
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0044ff26
add esp, 0x10
jmp 0x450494
push esi
lea ecx, [ebp - 0x255]
call fcn.004508ee
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4503dd
push dword [ebp - 0x25c]
jmp 0x45038a
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x45041a
cmp word [ebp - 0x226], 0
je 0x45043b
cmp word [ebp - 0x226], ax
jne 0x45041a
cmp word [ebp - 0x224], 0
je 0x45043b
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0044ff26
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x450487
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x4503f4
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x45046f
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x450494
push 0x44f80c
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00403cf6
add esp, 0x10
jmp 0x450464
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402559
leave
ret
Function at 0x461fb1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x520fe0]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x461ff1
cmp byte [ebx], 0xa
jne 0x461ff1
or byte [eax + edi + 0x28], 4
jmp 0x461ff6
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x4620f4
mov al, byte [edx]
cmp al, 0x1a
je 0x4620d6
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x462025
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x46204a
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x462054
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x462007
jmp 0x4620f4
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4620d1
cmp dword [ebp - 0xc], 0
je 0x4620d1
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x520fe0]
test byte [eax + edi + 0x28], 0x48
je 0x4620ab
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x462096
mov byte [esi], dl
jmp 0x4620a7
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x520fe0]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x4620f4
cmp byte [ebp - 1], 0xa
jne 0x4620ba
cmp esi, ebx
jne 0x4620ba
mov byte [esi], 0xa
jmp 0x4620f3
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.004015eb
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x4620f4
mov byte [esi], 0xd
jmp 0x4620f3
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x520fe0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4620f0
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4620f4
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x462150
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x520fe0]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x462193
cmp word [esi], dx
jne 0x462193
or byte [edi + eax + 0x28], 4
jmp 0x462198
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x4622eb
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x4622cb
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x4621da
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x462210
cmp eax, edx
jae 0x46221c
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x4621b2
jmp 0x4622eb
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4622c7
cmp dword [ebp - 0x14], 0
je 0x4622c7
mov eax, dword [ebx*4 + 0x520fe0]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x46229f
mov dx, word [ebp - 4]
lea eax, [esi + 2]
pop ecx
mov dword [ebp - 0x18], eax
cmp dx, cx
jne 0x462268
mov word [esi], cx
jmp 0x46229b
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x520fe0]
movzx ecx, dx
shr ecx, 8
push 0xa
mov byte [edi + eax + 0x2a], dl
mov eax, dword [ebx*4 + 0x520fe0]
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x520fe0]
pop ecx
mov byte [edi + eax + 0x2c], cl
mov eax, dword [ebp - 0x18]
mov esi, eax
jmp 0x4622eb
pop ebx
cmp word [ebp - 4], bx
jne 0x4622b0
cmp esi, dword [ebp + 0xc]
jne 0x4622b0
mov word [esi], bx
jmp 0x4622e8
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004015eb
add esp, 0x10
cmp word [ebp - 4], bx
je 0x4622eb
push 0xd
jmp 0x4622e4
mov ecx, dword [ebx*4 + 0x520fe0]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x4622e2
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x4622eb
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
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]
or esi, esi
jle 0x40aee4
lea edx, [ebp - 0x1010]
mov ecx, 0x1000
xor eax, eax
push edi
push edx
pop edi
rep stosb byte es:[edi], al
pop edi
push edx
pop eax
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
push esi
pop eax
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
push esi
pop eax
sub eax, edi
push eax
pop esi
or 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
push ebp
pop esp
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4011f0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x841e78]
mov ecx, dword [0x840dcc]
shr eax, 3
sub esp, 0x820
test eax, eax
jbe 0x4012e3
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EnumDateFormatsExA]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x841e78], 0x959
jne 0x4012c9
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
call ebx
push str.Yeda_defuhacurihe
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push 0
lea eax, [ebp - 0x820]
push eax
push 0
push str.Vekojadofoy_nari_xigajimasuha
push 0
push 0
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
xor eax, eax
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x1c]
push edx
push eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 0
push 0
push 0
push 0
push 0
push 0
push str.Joceterewi_dapubigemal
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov eax, dword [ebp - 4]
push eax
call fcn.00401020
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x401230
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret