joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a82b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, 0x1029f144
call fcn.10044d30
movzx eax, al
test eax, eax
jne 0x100a82cd
cmp dword [ebp + 8], 0
jne 0x100a82d2
jmp 0x100a8440
push 0x103064a4
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x400
jae 0x100a82f3
jmp 0x100a82f8
call fcn.10155090
mov eax, dword [ebp - 8]
mov byte [eax + 0x103068b8], 0
mov dword [ebp - 0x14], 0
movzx ecx, word [0x103064b0]
push ecx
movzx edx, word [0x103064ae]
push edx
movzx eax, word [0x103064ac]
push eax
push str.______.2d:_.2d:_.2d_
push 0x103068b8
call fcn.10057770
add esp, 0x14
mov ecx, 1
imul edx, ecx, 0
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x400
jae 0x100a8349
jmp 0x100a834e
call fcn.10155090
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x103064b8], 0
lea ecx, [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
push 0x103064b8
call fcn.100a8220
add esp, 0xc
mov dword [ebp - 0x10], 0
push 0x103064b8
push 0x103068b8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x101fc404
push 0x103068b8
call dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x103068b8
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x18], eax
push 0
push 0x80
push 3
push 0
push 0
push 0x40000000
mov ecx, 0x1029f144
call fcn.10044d80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100a8407
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
mov ecx, 0x1029f144
call fcn.10044d80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100a8407
mov dword [ebp - 4], 0
cmp dword [ebp - 4], 0
je 0x100a8440
push 2
push 0
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0x103068b8
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x100a9570
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101af64d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10245db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x40], 0
jne 0x100a95b5
push 0
push str.Unknown_version_type
push 0x1024c290
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x101e93cb
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10044f60
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x14], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 4
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x14], 0
jle 0x100a965a
mov byte [ebp - 0xd], 0
lea ecx, [ebp - 0xe]
call fcn.10043230
push eax
lea ecx, [ebp - 0xd]
push ecx
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
lea ecx, [ebp - 0x2c]
call fcn.1005a850
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.10055c10
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x2c]
call fcn.10055c10
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 8
call fcn.10044f60
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10055cf0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x100a9a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.10044d60
mov dword [ebp - 4], eax
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp dword [ebp - 4], 0
jle 0x100a9ada
push 0
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 0xc]
add ecx, 8
call fcn.10044d80
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x100b0460
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
call fcn.100b51d0
movzx ecx, al
test ecx, ecx
jne 0x100b0483
xor al, al
jmp 0x100b0517
mov dword [ebp - 8], 0
push 0
lea edx, [ebp - 0x10]
push edx
push 4
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 8], 0
jle 0x100b0515
mov byte [ebp - 1], 0
lea ecx, [ebp - 2]
call fcn.10043230
push eax
lea edx, [ebp - 1]
push edx
mov eax, dword [ebp - 8]
add eax, 1
push eax
lea ecx, [ebp - 0x20]
call fcn.1005a850
push 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0
lea ecx, [ebp - 0x20]
call fcn.10055c10
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x158], 0
je 0x100b050d
push 0x1a9
push 0x101ff528
push 0x101ff51c
push 0x101ff5dc
call fcn.100a3500
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.10055cf0
mov al, 1
mov esp, ebp
pop ebp
ret 4

Function at 0x100b0520
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101afcbd
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x10245db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [0x1024c694], 0
je 0x100b055a
cmp dword [0x1024c8a0], 0
jne 0x100b055c
jmp 0x100b05b8
push 0x200
push 0x1024c6a0
mov eax, dword [0x1024c8a0]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
push 0x1024c6a0
lea ecx, [ebp - 0x2c]
call fcn.100450b0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [0x1024c694]
mov eax, dword [edx]
mov ecx, dword [0x1024c694]
mov edx, dword [eax + 0x6c]
call edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10044fc0
mov eax, dword [0x102bfe30]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10154220
mov esp, ebp
pop ebp
ret

Function at 0x100b0660
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.IMM32.dll_ImmIsIME]
test eax, eax
je 0x100b06e2
mov ecx, dword [0x1024c8a0]
push ecx
call dword [sym.imp.IMM32.dll_ImmGetContext]
mov dword [ebp - 4], eax
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x100b06bc
push 0
push 2
push 0x282
mov eax, dword [0x1024c8a0]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IMM32.dll_ImmSetStatusWindowPos]
jmp 0x100b06d1
push 0
push 1
push 0x282
mov eax, dword [0x1024c8a0]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [0x1024c8a0]
push edx
call dword [sym.imp.IMM32.dll_ImmReleaseContext]
mov eax, dword [0x102bfe30]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov esp, ebp
pop ebp
ret
Function at 0x100b3690
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101afffd
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x10245db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100abc90
mov byte [ebp - 0xe], al
mov dword [ebp - 0x18], 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 4
lea edx, [ebp - 0x18]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x18], 0
jg 0x100b3706
push 0x112
push 0x10200390
push 0x1020044c
push 0x10200438
call fcn.100a3500
add esp, 0x10
cmp dword [ebp - 0x18], 0
jle 0x100b37b5
push 0x20
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x134
call fcn.100a8070
push 0
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x14]
add ecx, 0x134
call fcn.1007cd80
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x150
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x15c
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x154
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea edx, [ebp - 0x1c]
push edx
push 4
mov eax, dword [ebp - 0x14]
add eax, 0x158
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a1710
mov dword [ebp - 4], 0
jmp 0x100b37d8
lea ecx, [ebp - 0x30]
call fcn.100a1520
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a16e0
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x24]
call fcn.100a1560
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x3c]
call fcn.100504f0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b3834
lea ecx, [ebp - 0x30]
call fcn.100a1540
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
call fcn.100ab330
cmp eax, 5
jne 0x100b3832
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov dword [ecx + 0x130], edx
jmp 0x100b37d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100504f0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b51d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b00bd
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x10245db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.100abc90
movzx ecx, al
test ecx, ecx
jne 0x100b5212
xor al, al
jmp 0x100b534c
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a1710
mov dword [ebp - 4], 0
jmp 0x100b5235
lea ecx, [ebp - 0x30]
call fcn.100a1520
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0xd8
call fcn.100a16e0
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.100a1560
mov byte [ebp - 0xd], al
lea ecx, [ebp - 0x3c]
call fcn.100504f0
movzx edx, byte [ebp - 0xd]
test edx, edx
je 0x100b52ac
lea ecx, [ebp - 0x30]
call fcn.100a1540
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
call fcn.100ab330
cmp eax, 4
jne 0x100b5291
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [ecx + 0x124], edx
jmp 0x100b52aa
mov ecx, dword [ebp - 0x18]
call fcn.100ab330
cmp eax, 6
jne 0x100b52aa
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov dword [eax + 0x120], ecx
jmp 0x100b522d
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100504f0
mov dword [ebp - 0x1c], 0
push 0
lea edx, [ebp - 0x24]
push edx
push 4
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0
jle 0x100b534a
mov byte [ebp - 0xe], 0
lea ecx, [ebp - 0xf]
call fcn.10043230
push eax
lea edx, [ebp - 0xe]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 1
push eax
lea ecx, [ebp - 0x4c]
call fcn.1005a850
push 0
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0
lea ecx, [ebp - 0x4c]
call fcn.10055c10
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x14]
cmp dword [ecx + 0x128], 0
je 0x100b5342
push 0x44
push 0x102013f0
push str.memory_leak
push 0x102013b4
call fcn.100a3500
add esp, 0x10
lea ecx, [ebp - 0x4c]
call fcn.10055cf0
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x100b6b50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b0305
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x10245db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x50]
call fcn.100abc90
movzx ecx, al
test ecx, ecx
jne 0x100b6b95
xor al, al
jmp 0x100b6d2b
mov dword [ebp - 0x4c], 0
push 0
lea edx, [ebp - 0x54]
push edx
push 4
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x4c], 0
jle 0x100b6c5c
push 0x3f
mov edx, dword [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100a7fc0
mov dword [ebp - 4], 0
push 0
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0
lea ecx, [ebp - 0x2c]
call fcn.1007cd80
push eax
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x5c], 0
push 0
lea eax, [ebp - 0x54]
push eax
push 4
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x54]
push eax
push 4
lea ecx, [ebp - 0x58]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x58]
and eax, 2
push eax
mov ecx, dword [ebp - 0x58]
and ecx, 1
push ecx
mov edx, dword [ebp - 0x5c]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x78]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10044fc0
cmp dword [ebp - 0x4c], 0
jg 0x100b6c7e
push 0x16c
push 0x10202280
push str.No_font_name
push 0x1020235c
call fcn.100a3500
add esp, 0x10
push 0
lea ecx, [ebp - 0x54]
push ecx
push 4
mov edx, dword [ebp - 0x50]
add edx, 0x180
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea ecx, [ebp - 0x54]
push ecx
push 4
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x4c], 0
jle 0x100b6d0a
push 0x3f
mov ecx, dword [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x48]
call fcn.100a7fc0
mov dword [ebp - 4], 1
push 0
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ebp - 0x4c]
push eax
push 0
lea ecx, [ebp - 0x48]
call fcn.1007cd80
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp - 0x50]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x50]
mov eax, dword [edx + 0x70]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.10044fc0
mov ecx, dword [ebp - 0x50]
cmp dword [ecx + 0x40], 2
jb 0x100b6d29
push 0
lea edx, [ebp - 0x54]
push edx
push 4
lea eax, [ebp - 0x60]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10154220
mov esp, ebp
pop ebp
ret 4
Function at 0x100b9040
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b03a0
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10245db0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10045210
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
jmp 0x100b908c
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x100b90d6
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x28], cx
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x22], cx
xor ecx, ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov word [eax + edx*2 + 0x1c], cx
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0xc], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + eax*4], 0
jmp 0x100b9083
xor edx, edx
mov eax, dword [ebp - 0x10]
add eax, 0x33
mov word [eax], dx
mov byte [eax + 2], dl
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x54], 0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x18], 0
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x30], ax
xor edx, edx
mov eax, dword [ebp - 0x10]
mov word [eax + 0x2e], dx
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0x32], 0
push 0x10228be3
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.10044f60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x100b9620
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10156a70
add esp, 0xc
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esp, ebp
pop ebp
ret

Function at 0x100cb080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 8]
call fcn.10044d80
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100cb0a0
xor al, al
jmp 0x100cb0ae
mov eax, dword [ebp - 4]
and eax, 0x10
je 0x100cb0ac
mov al, 1
jmp 0x100cb0ae
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x100d1b50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101b163d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10245db0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea ecx, [ebp - 0x34]
call fcn.10045210
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.100a0490
push 1
push 0
push 0
lea ecx, [ebp - 0x34]
call fcn.10044d80
push eax
movzx ecx, byte [ebp - 0x35]
push ecx
push 0x102055cc
lea ecx, [ebp - 0x18]
call fcn.100edc90
mov ecx, eax
call fcn.1004d0c0
push eax
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10044fc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10154220
mov esp, ebp
pop ebp
ret
Function at 0x101099b0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
cmp dword [eax], 0x270
jne 0x101099ce
mov ecx, dword [ebp - 8]
call fcn.10109a50
jmp 0x101099e1
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4e0
jb 0x101099e1
mov ecx, dword [ebp - 8]
call fcn.10109ae0
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
add ecx, 1
mov edx, dword [ebp - 8]
mov dword [edx], ecx
mov eax, dword [ebp - 4]
shr eax, 0xb
mov ecx, dword [ebp - 8]
and eax, dword [ecx + 0x1384]
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
shl edx, 7
and edx, 0x9d2c5680
xor edx, dword [ebp - 4]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
shl eax, 0xf
and eax, 0xefc60000
xor eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
shr ecx, 0x12
xor ecx, dword [ebp - 4]
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x10109a50
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0x270
jmp 0x10109a6b
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x4e0
jae 0x10109ad7
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 - 0x9bc]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 - 0x9b8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x10109aaf
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x10109ab6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10109a62
mov esp, ebp
pop ebp
ret
Function at 0x10109ae0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
jmp 0x10109afb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xe3
jae 0x10109b67
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0xc]
and edx, 1
je 0x10109b3f
mov dword [ebp - 0x10], 0x9908b0df
jmp 0x10109b46
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
shr eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 + 0xff8]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10109af2
jmp 0x10109b72
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x26f
jae 0x10109bde
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x9c4]
and eax, 0x80000000
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + ecx*4 + 0x9c8]
and ecx, 0x7fffffff
or eax, ecx
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 0x14]
and edx, 1
je 0x10109bb6
mov dword [ebp - 0x18], 0x9908b0df
jmp 0x10109bbd
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
shr eax, 1
xor eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
xor eax, dword [edx + ecx*4 - 0x388]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4 + 4], eax
jmp 0x10109b69
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x9c4]
and edx, 0x80000000
mov eax, 4
imul ecx, eax, 0
mov eax, dword [ebp - 8]
mov ecx, dword [eax + ecx + 4]
and ecx, 0x7fffffff
or edx, ecx
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0x1c]
and edx, 1
je 0x10109c1c
mov dword [ebp - 0x20], 0x9908b0df
jmp 0x10109c23
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x1c]
shr eax, 1
xor eax, dword [ebp - 0x20]
mov ecx, 4
imul edx, ecx, 0x18c
mov ecx, dword [ebp - 8]
xor eax, dword [ecx + edx + 4]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4 + 4], eax
mov edx, dword [ebp - 8]
mov dword [edx], 0
mov esp, ebp
pop ebp
ret