joyce8/EMBER2024-capa huggingface dataset:
Function at 0x503b8c
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x503376
mov dword [0x50521c], 2
jmp 0x503bbc
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x50408c
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c8f
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503cbc
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c8f
mov eax, dword [0x505250]
jmp 0x503cc9
call 0x502c0d
ret

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
mov ecx, 0x2a6e71cd
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
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
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x3e942180
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x401000
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
nop
mov eax, 0xfffffff5
push eax
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
movsx eax, word [ebp + 8]
mov word [ebp - 8], ax
movsx eax, word [ebp + 0xc]
mov word [ebp - 6], ax
sub esp, 4
mov eax, esp
mov ecx, 4
push ecx
lea ecx, [ebp - 8]
push ecx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetConsoleCursorPosition
leave
ret

Function at 0x4010be
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
nop
mov eax, 0
mov word [ebp - 0x28], ax
mov eax, 0
mov word [ebp - 0x26], ax
mov eax, 0xfffffff5
push eax
call sub.kernel32.dll_GetStdHandle
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
jne 0x4010f9
jmp 0x4011d4
lea eax, [ebp - 0x1a]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetConsoleScreenBufferInfo
cmp eax, 0
je 0x401114
jmp 0x401119
jmp 0x4011d4
movsx eax, word [ebp - 0x1a]
movsx ecx, word [ebp - 0x18]
imul eax, ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push eax
sub esp, 4
mov eax, esp
mov ecx, 4
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
mov eax, 0x20
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FillConsoleOutputCharacterA
cmp eax, 0
je 0x401167
jmp 0x40116c
jmp 0x4011d4
lea eax, [ebp - 0x20]
push eax
sub esp, 4
mov eax, esp
mov ecx, 4
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [ebp - 0x24]
push eax
movzx eax, word [ebp - 0x12]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_FillConsoleOutputAttribute
cmp eax, 0
je 0x4011ab
jmp 0x4011b0
jmp 0x4011d4
sub esp, 4
mov eax, esp
mov ecx, 4
push ecx
lea ecx, [ebp - 0x28]
push ecx
push eax
call sub.msvcrt.dll_memmove
add esp, 0xc
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetConsoleCursorPosition
leave
ret
Function at 0x1b485ef0
Capabilities:
Get file attributes

Disassembly:
sub esp, 0x218
mov eax, dword [0x1b4bd79c]
xor eax, esp
mov dword [esp + 0x214], eax
cmp dword [0x1b4bef88], 0
mov eax, dword [esp + 0x21c]
je 0x1b485f32
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.1b4898a6
add esp, 0x218
ret 4
push esi
push eax
lea ecx, [esp + 8]
call fcn.1b485e30
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ecx, [esp + 4]
mov esi, eax
call fcn.1b485ca0
mov ecx, dword [esp + 0x218]
mov eax, esi
pop esi
xor ecx, esp
call fcn.1b4898a6
add esp, 0x218
ret 4

Function at 0x1b485f70
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xa6c
mov eax, dword [0x1b4bd79c]
xor eax, esp
mov dword [esp + 0xa68], eax
cmp dword [0x1b4bef88], 0
mov eax, dword [esp + 0xa70]
push ebx
mov ebx, dword [esp + 0xa80]
push ebp
mov ebp, dword [esp + 0xa8c]
push esi
mov esi, dword [esp + 0xa80]
push edi
mov edi, dword [esp + 0xa88]
je 0x1b485fcc
mov ecx, dword [esp + 0xa90]
push ebp
push ecx
push ebx
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x1b486086
push eax
lea ecx, [esp + 0x440]
call fcn.1b485e30
push esi
lea ecx, [esp + 0x22c]
call fcn.1b485e30
push edi
lea ecx, [esp + 0x868]
call fcn.1b485e30
push ebp
lea ecx, [esp + 0x654]
call fcn.1b485e30
mov edx, dword [esp + 0xa90]
push edx
push ebx
lea ecx, [esp + 0x18]
call fcn.1b485e60
mov eax, dword [esp + 0x224]
mov ecx, dword [esp + 0x654]
mov edx, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x230]
add eax, eax
shr eax, 1
push eax
mov eax, dword [esp + 0x870]
push edx
mov edx, dword [esp + 0x44c]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x10]
mov esi, eax
call fcn.1b485ee0
lea ecx, [esp + 0x650]
call fcn.1b485ca0
lea ecx, [esp + 0x864]
call fcn.1b485ca0
lea ecx, [esp + 0x228]
call fcn.1b485ca0
lea ecx, [esp + 0x43c]
call fcn.1b485ca0
mov eax, esi
mov ecx, dword [esp + 0xa78]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1b4898a6
add esp, 0xa6c
ret 0x18
Function at 0x1b48bccd
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1b4bd79c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 1
push esi
push edi
jne 0x1b48bdce
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1b48bd12
xor eax, eax
jmp 0x1b48be69
mov eax, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x88]
and eax, 0x7fff
cmp ecx, 2
je 0x1b48bd2d
or eax, 0x8000
mov edx, dword [ebp - 0x90]
mov dword [0x1b4bf5b4], ecx
mov ecx, dword [ebp - 0x94]
mov esi, ecx
shl esi, 8
add esi, edx
push 1
mov dword [0x1b4bf5bc], esi
mov dword [0x1b4bf5c0], ecx
mov dword [0x1b4bf5c4], edx
mov dword [0x1b4bf5b8], eax
call fcn.1b48c2b1
test eax, eax
pop ecx
je 0x1b48bd0b
call fcn.1b48e394
test eax, eax
jne 0x1b48bd79
call fcn.1b48c311
jmp 0x1b48bd0b
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x1b4c0d20], eax
call fcn.1b49361c
mov dword [0x1b4bf114], eax
call fcn.1b492f9c
test eax, eax
jge 0x1b48bd9e
call fcn.1b48e054
jmp 0x1b48bd72
call fcn.1b493533
test eax, eax
jl 0x1b48bdc7
call fcn.1b493224
test eax, eax
jl 0x1b48bdc7
push 0
call fcn.1b48f794
test eax, eax
pop ecx
jne 0x1b48bdc7
inc dword [0x1b4bf110]
jmp 0x1b48be66
call fcn.1b4931d6
jmp 0x1b48bd97
xor edi, edi
cmp eax, edi
jne 0x1b48be09
cmp dword [0x1b4bf110], edi
jle 0x1b48bd0b
dec dword [0x1b4bf110]
cmp dword [0x1b4bf5f0], edi
jne 0x1b48bdf3
call fcn.1b48f900
cmp dword [ebp + 0x10], edi
jne 0x1b48be66
call fcn.1b4931d6
call fcn.1b48e054
call fcn.1b48c311
jmp 0x1b48be66
cmp eax, 2
jne 0x1b48be5a
call fcn.1b48e02a
push 0x214
push 1
call fcn.1b48f4ac
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x1b48bd0b
push esi
push dword [0x1b4bda84]
push dword [0x1b4bf5a4]
call fcn.1b48dfbb
pop ecx
call eax
test eax, eax
je 0x1b48be4e
push edi
push esi
call fcn.1b48e091
pop ecx
jmp 0x1b48be65
push esi
call fcn.1b489915
pop ecx
jmp 0x1b48bd0b
cmp eax, 3
jne 0x1b48be66
push edi
call fcn.1b48e326
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1b4898a6
leave
ret 0xc
Function at 0x1b48f16c
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1b4bd79c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
je 0x1b48f201
push ebx
call fcn.1b48f133
test eax, eax
pop ecx
jne 0x1b48f1c0
call fcn.1b48c21e
mov dword [eax], 0xf
call fcn.1b48c20b
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1b4898a6
leave
ret
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x108]
push eax
mov esi, 0x104
push esi
lea eax, [ebp - 0x10c]
add bl, 0x40
push eax
mov byte [ebp - 0x10c], bl
mov byte [ebp - 0x10b], 0x3a
mov byte [ebp - 0x10a], 0x2e
mov byte [ebp - 0x109], 0
call dword [sym.imp.KERNEL32.dll_GetFullPathNameA]
jmp 0x1b48f214
lea eax, [ebp - 0x108]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x1b48f1af
inc eax
cmp eax, esi
ja 0x1b48f1af
test edi, edi
mov esi, edi
jne 0x1b48f265
cmp eax, dword [ebp + 0x10]
jle 0x1b48f22b
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x110]
push eax
push 0
push dword [ebp + 0x10]
call fcn.1b48f108
add esp, 0xc
test eax, eax
jl 0x1b48f255
push dword [ebp - 0x110]
call fcn.1b48a1a3
mov esi, eax
test esi, esi
pop ecx
jne 0x1b48f27a
call fcn.1b48c20b
mov dword [eax], 0xc
jmp 0x1b48f1af
cmp eax, dword [ebp + 0x10]
jle 0x1b48f27a
call fcn.1b48c20b
mov dword [eax], 0x22
jmp 0x1b48f1af
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
push esi
call fcn.1b4937d8
add esp, 0xc
mov eax, esi
jmp 0x1b48f1b1
Function at 0x1b48f4ed
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1b4bd79c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
test esi, esi
push edi
mov edi, dword [ebp + 0xc]
je 0x1b48f577
push esi
call fcn.1b48f133
test eax, eax
pop ecx
jne 0x1b48f53f
call fcn.1b48c21e
mov dword [eax], 0xf
call fcn.1b48c20b
mov dword [eax], 0xd
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1b4898a6
leave
ret
and word [ebp - 6], 0
lea eax, [ebp - 0x21c]
push eax
add esi, 0x40
lea eax, [ebp - 0x214]
push eax
mov word [ebp - 0xc], si
mov esi, 0x104
push esi
lea eax, [ebp - 0xc]
push eax
mov word [ebp - 0xa], 0x3a
mov word [ebp - 8], 0x2e
call dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
jmp 0x1b48f58a
lea eax, [ebp - 0x214]
push eax
mov esi, 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1b48f52f
inc eax
cmp eax, esi
ja 0x1b48f52f
test edi, edi
mov esi, edi
jne 0x1b48f5e0
cmp eax, dword [ebp + 0x10]
jle 0x1b48f5a1
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp + 0x10]
push 2
pop ecx
mul ecx
push edx
push eax
call fcn.1b48f108
add esp, 0xc
test eax, eax
jl 0x1b48f5d0
push dword [ebp - 0x218]
call fcn.1b48a1a3
mov esi, eax
test esi, esi
pop ecx
jne 0x1b48f5f5
call fcn.1b48c20b
mov dword [eax], 0xc
jmp 0x1b48f52f
cmp eax, dword [ebp + 0x10]
jle 0x1b48f5f5
call fcn.1b48c20b
mov dword [eax], 0x22
jmp 0x1b48f52f
lea eax, [ebp - 0x214]
push eax
push dword [ebp + 0x10]
push esi
call fcn.1b48fd6f
add esp, 0xc
mov eax, esi
jmp 0x1b48f531
Function at 0x1b48f951
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
xor esi, esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], esi
cmp edi, dword [esi*8 + 0x1b4bdac0]
je 0x1b48f977
inc esi
cmp esi, 0x17
mov dword [ebp - 4], esi
jb 0x1b48f965
cmp esi, 0x17
jae 0x1b48fad1
push 3
call fcn.1b494e62
cmp eax, 1
pop ecx
je 0x1b48fa9b
push 3
call fcn.1b494e62
test eax, eax
pop ecx
jne 0x1b48f9aa
cmp dword [0x1b4bf120], 1
je 0x1b48fa9b
cmp edi, 0xfc
je 0x1b48fad1
push 0x1b462cac
mov edi, 0x314
push edi
mov esi, 0x1b4bf5f8
push esi
call fcn.1b4937d8
add esp, 0xc
test eax, eax
je 0x1b48f9e0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1b48f2dd
add esp, 0x14
mov byte [0x1b4bf715], bl
push 0x104
mov ebx, 0x1b4bf611
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1b48fa23
push 0x1b462c94
push 0x2fb
push ebx
call fcn.1b4937d8
add esp, 0xc
test eax, eax
je 0x1b48fa23
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.1b48f2dd
add esp, 0x14
push ebx
push edi
push esi
call fcn.1b494dee
add esp, 0xc
xor ebx, ebx
test eax, eax
je 0x1b48fa41
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1b48f2dd
add esp, 0x14
push 0x1b462c90
push edi
push esi
call fcn.1b494dee
add esp, 0xc
test eax, eax
je 0x1b48fa61
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1b48f2dd
add esp, 0x14
mov eax, dword [ebp - 4]
push dword [eax*8 + str.8_Fe_b]
push edi
push esi
call fcn.1b494dee
add esp, 0xc
test eax, eax
je 0x1b48fa86
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1b48f2dd
add esp, 0x14
push 0x12010
push 0x1b462c68
push esi
call fcn.1b494c4e
add esp, 0xc
jmp 0x1b48fad1
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edi, eax
cmp edi, ebx
je 0x1b48fad1
cmp edi, 0xffffffff
je 0x1b48fad1
mov edx, dword [esi*8 + str.8_Fe_b]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1b48faba
push ebx
lea eax, [ebp - 8]
push eax
sub ecx, esi
push ecx
push edx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1b493aa0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1b493ab3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1b493aaf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1b493ad0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1b493b0f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1b493b05
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1b493b11
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1b493af5
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1b494c4e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.1b48dfb2
xor ebx, ebx
cmp dword [0x1b4bfad4], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x1b494d25
push 0x1b463e1c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x1b494c90
xor eax, eax
jmp 0x1b494de9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1b463e10
push edi
call esi
cmp eax, ebx
je 0x1b494c89
push eax
call fcn.1b48df4c
mov dword [esp], 0x1b463e00
push edi
mov dword [0x1b4bfad4], eax
call esi
push eax
call fcn.1b48df4c
mov dword [esp], 0x1b463dec
push edi
mov dword [0x1b4bfad8], eax
call esi
push eax
call fcn.1b48df4c
mov dword [0x1b4bfadc], eax
lea eax, [ebp - 8]
push eax
call fcn.1b48f717
test eax, eax
pop ecx
pop ecx
je 0x1b494cf3
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1b48f2dd
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x1b494d25
push 0x1b463dd0
push edi
call esi
push eax
call fcn.1b48df4c
cmp eax, ebx
pop ecx
mov dword [0x1b4bfae4], eax
je 0x1b494d25
push 0x1b463db8
push edi
call esi
push eax
call fcn.1b48df4c
pop ecx
mov dword [0x1b4bfae0], eax
mov eax, dword [0x1b4bfae0]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x1b494d9e
cmp dword [0x1b4bfae4], esi
je 0x1b494d9e
push eax
call fcn.1b48dfbb
pop ecx
call eax
cmp eax, ebx
je 0x1b494d6b
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1b4bfae4]
call fcn.1b48dfbb
pop ecx
call eax
test eax, eax
je 0x1b494d6b
test byte [ebp - 0x18], 1
jne 0x1b494d9e
lea eax, [ebp - 0xc]
push eax
call fcn.1b48f753
test eax, eax
pop ecx
je 0x1b494d86
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1b48f2dd
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x1b494d95
or dword [ebp + 0x10], 0x200000
jmp 0x1b494dcf
or dword [ebp + 0x10], 0x40000
jmp 0x1b494dcf
mov eax, dword [0x1b4bfad8]
cmp eax, esi
je 0x1b494dcf
push eax
call fcn.1b48dfbb
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1b494dcf
mov eax, dword [0x1b4bfadc]
cmp eax, esi
je 0x1b494dcf
push dword [ebp - 4]
push eax
call fcn.1b48dfbb
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1b4bfad4]
call fcn.1b48dfbb
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1b49674c
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x1b4bd79c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov dword [ebp - 0xc], edi
call fcn.1b48f717
test eax, eax
pop ecx
je 0x1b496781
push edi
push edi
push edi
push edi
push edi
call fcn.1b48f2dd
add esp, 0x14
push 4
pop eax
call fcn.1b48a9e0
mov dword [ebp - 0x14], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1b49688f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, dword [ebp - 0xc]
mov ebx, dword [ebp - 0x58]
dec esi
neg esi
sbb esi, esi
and esi, 0x103
inc esi
cmp dword [ebp - 0xc], 2
mov dword [ebp - 8], edi
jne 0x1b496808
push 0x1b463d80
mov dword [ebp - 0x10], edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, edi
je 0x1b496808
push 0x1b463fb0
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
je 0x1b496808
lea ecx, [ebp - 0x10]
push ecx
mov dword [ebp - 0x10], edi
call eax
cmp eax, 1
jne 0x1b496808
mov eax, dword [ebp - 0x10]
cmp eax, edi
jbe 0x1b496808
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
lea edi, [ebx - 1]
push edi
push dword [ebp - 8]
call fcn.1b49332a
add esp, 0xc
test eax, eax
jl 0x1b49688f
not edi
and dword [ebp - 8], edi
je 0x1b49683a
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp - 8]
call fcn.1b49332a
add esp, 0xc
test eax, eax
jl 0x1b49688f
lea eax, [ebx + ebx]
cmp dword [ebp - 8], eax
jae 0x1b496845
mov dword [ebp - 8], eax
lea edi, [ebx - 1]
not edi
and edi, dword [ebp - 0x14]
sub edi, dword [ebp - 8]
cmp dword [ebp - 0xc], 1
jne 0x1b496859
push 0x11
pop ebx
mov eax, dword [ebp - 0x18]
add ebx, eax
cmp edi, ebx
jb 0x1b49688f
push 4
push 0x1000
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
je 0x1b49688f
lea eax, [ebp - 0x1c]
push eax
push esi
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1b49688f
xor eax, eax
inc eax
jmp 0x1b496891
xor eax, eax
lea esp, [ebp - 0x68]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1b4898a6
leave
ret
Function at 0x1b4c63d4
Capabilities:
Encode data using xor

Disassembly:
call 0x1b4c634d
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1b4c637d
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1b4c6399
xor edx, 0
jmp 0x1b4c63a4
xor edx, edx
jmp 0x1b4c63bb
jmp 0x1b4c63c7
xor eax, eax
push 0x8427d7c0
call 0x1b4c63d4
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1b4c6410
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1b4c63e9
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x1b4c6427
add eax, 0
jno 0x1b4c642c
add esi, 0
ret 0x10

Function at 0x1b4c7195
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x1b4c71b7
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x1b4c7359
cmp edi, dword [ebp + 0x10]
jb 0x1b4c7359
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.1b4c6c81
inc edi
jmp 0x1b4c7240
jmp 0x1b4c724d
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1b4c6c81
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1b4c6c81
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1b4c72a1
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x1b4c7285
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1b4c72cf
add dword [eax], 0x39
jle 0x1b4c72ab
sub al, 0xf5
mov ch, al
call fcn.1b4c72e4
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10