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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, ecx
movzx eax, byte [edi + 8]
mov ecx, dword [ebx + 0x18]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor edx, eax
imul eax, edx, 0x1000193
and ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 0xc]
add ecx, edx
mov eax, dword [ecx]
cmp dword [ecx + 4], edi
jne 0x1001aecb
cmp eax, edi
jne 0x1001aec3
mov eax, dword [ebx + 4]
mov dword [ecx], eax
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebx + 4]
mov dword [edx + ecx + 4], eax
jmp 0x1001aed3
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x1001aed3
cmp eax, edi
jne 0x1001aed6
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
mov esi, dword [edi]
push 0xc
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
dec dword [ebx + 8]
call fcn.1003363f
mov eax, dword [ebp + 8]
add esp, 8
pop edi
mov dword [eax], esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1001f203
Capabilities:
Create thread

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

Function at 0x10034d80
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x10052198]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x10034da7
mov ecx, 5
int 0x29
push 2
call fcn.10034478
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x10034eb2
test esi, esi
jne 0x10034eb2
push 2
call fcn.10034478
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10033656
mov esp, ebp
pop ebp
ret
Function at 0x10038690
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.100386c0
mov esi, dword [ebp + 8]
test al, al
je 0x100386ae
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100386d0
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1003d450
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10037c10
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x1003d47a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x1003d486
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x1003d490
Capabilities:
Get process heap force flags

Disassembly:
call fcn.10037c10
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x1003d4ba
sub eax, 0xffffff80
ret
add eax, 0x90
ret
Function at 0x414d19
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040d053
xor ebx, ebx
cmp dword [0x4244a8], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x414dee
push 0x41cb84
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x414d59
xor eax, eax
jmp 0x414eb2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41cb78
push edi
call esi
cmp eax, ebx
je 0x414d52
push eax
call fcn.0040cff0
mov dword [esp], 0x41cb68
push edi
mov dword [0x4244a8], eax
call esi
push eax
call fcn.0040cff0
mov dword [esp], 0x41cb54
push edi
mov dword [0x4244ac], eax
call esi
push eax
call fcn.0040cff0
mov dword [0x4244b0], eax
lea eax, [ebp - 8]
push eax
call fcn.0040f0e1
test eax, eax
pop ecx
pop ecx
je 0x414dbc
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040ce51
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x414dee
push 0x41cb38
push edi
call esi
push eax
call fcn.0040cff0
cmp eax, ebx
pop ecx
mov dword [0x4244b8], eax
je 0x414dee
push 0x41cb20
push edi
call esi
push eax
call fcn.0040cff0
pop ecx
mov dword [0x4244b4], eax
mov eax, dword [0x4244b4]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x414e67
cmp dword [0x4244b8], esi
je 0x414e67
push eax
call fcn.0040d05c
pop ecx
call eax
cmp eax, ebx
je 0x414e34
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x4244b8]
call fcn.0040d05c
pop ecx
call eax
test eax, eax
je 0x414e34
test byte [ebp - 0x18], 1
jne 0x414e67
lea eax, [ebp - 0xc]
push eax
call fcn.0040f118
test eax, eax
pop ecx
je 0x414e4f
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040ce51
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x414e5e
or dword [ebp + 0x10], 0x200000
jmp 0x414e98
or dword [ebp + 0x10], 0x40000
jmp 0x414e98
mov eax, dword [0x4244ac]
cmp eax, esi
je 0x414e98
push eax
call fcn.0040d05c
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x414e98
mov eax, dword [0x4244b0]
cmp eax, esi
je 0x414e98
push dword [ebp - 4]
push eax
call fcn.0040d05c
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 [0x4244a8]
call fcn.0040d05c
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x109fced0
Capabilities:
Execute anti-debugging instructions

Disassembly:
add esi, 4
xor eax, ebx
clc
test ebx, 0x727278d2
neg eax
clc
test di, bx
stc
bswap eax
add eax, 0x44e0156f
test esp, ebp
stc
cmp eax, 0x6c5652e0
not eax
clc
test edi, 0x34f30a14
jmp 0x105a8d01
neg eax
clc
ror eax, 1
test di, 0x5f41
xor ebx, eax
stc
test eax, esi
add ebp, eax
jmp ebp
push edx
movzx dx, dh
setge dh
xchg dl, dh
push edi
not dx
movzx edx, bx
bswap di
pushfd
cmovnp edx, ebx
push eax
dec edi
push ebp
sal ebp, 0x95
add ebp, ebp
push ecx
bsr bp, sp
cdq
push esi
btr edi, edx
add di, ax
push ebx
sal di, 0x5f
rdtsc
mov ecx, 0
push ecx
rcr eax, cl
add bh, 0xe6
mov esi, dword [esp + 0x28]
add bp, bp
or ebp, ebx
sub esi, 0x62ea2e86
not bp
rdtsc
rol esi, 3
setne dl
inc esi
bsr ebx, eax
xor dx, 0x2fe
not esi
cmc
xor di, sp
neg esi
add esi, ecx
mov edi, esp
sub esp, 0xc0
cwd
mov eax, 0x293c70b2
xor edx, eax
mov ebx, esi
mov edx, 0
sbb bp, 0x7ef
sub ebx, edx
xor ah, ah
sal eax, cl
sar al, cl
lea ebp, [0x109fcf61]
or ah, ah
mov eax, dword [esi]
cmp bp, dx
jmp 0x104e92cd
Function at 0x40114c
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 0
push dword [ebp + 8]
call fcn.004335d8
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp + 8], esi
jne 0x40116c
push 2
jmp 0x401195
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea eax, [ebx + 0xa]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebp - 4], eax
jne 0x401198
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
jmp 0x401210
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
lea eax, [ebp - 8]
push 0
push eax
push 0xe
push edi
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
call esi
cmp byte [edi], 0x42
jne 0x4011ef
cmp byte [edi + 1], 0x4d
jne 0x4011ef
lea eax, [ebp - 8]
push 0
add ebx, 0xfffffff2
push eax
push ebx
push edi
push dword [ebp + 8]
call esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
push eax
push edi
and dword [eax], 0
and dword [eax + 4], 0
call fcn.00401216
pop ecx
mov esi, eax
pop ecx
jmp 0x4011fb
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 8
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x404a14
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push 8
push edi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov eax, dword [ebp + 0xc]
sub eax, 0xf
je 0x404b3b
sub eax, 0x101
je 0x404a62
dec eax
jne 0x404a4d
cmp word [ebp + 0x10], 1
je 0x404a54
cmp word [ebp + 0x10], 2
je 0x404a54
xor eax, eax
jmp 0x404bc6
push 1
push edi
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x404bc3
push dword [ebp + 0x14]
push 8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
sub edi, dword [ebp - 0x18]
sub esi, dword [ebp - 0x1c]
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
push edi
push esi
push 1
call ebx
sub eax, edi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
call ebx
sub eax, esi
cdq
sub eax, edx
sar eax, 1
push eax
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x30]
push str.DEMO32.EXE
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x404b24
lea eax, [esi + 0xa]
push eax
push dword [0x464334]
call fcn.004341c8
mov edi, eax
lea eax, [ebp - 0x30]
push edi
push esi
push dword [ebp - 4]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push str.StringFileInfo040904b0ProductVersion
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x404b18
push dword [ebp - 8]
push 0x7c
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
push edi
push dword [0x464334]
call fcn.004342a3
push 1
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x404a4d
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x1c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x29a
push dword [0x46950c]
call dword [sym.imp.USER32.dll_LoadBitmapA]
mov ebx, eax
test ebx, ebx
je 0x404bb8
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x10]
push 0xcc0020
push 0
push 0
push esi
push 0x27
add eax, 0xffffffd4
push 0x102
push eax
mov eax, dword [ebp - 0x14]
add eax, 0xfffffefe
cdq
sub eax, edx
sar eax, 1
push eax
push dword [ebp - 0x70]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebp - 0x70]
push eax
push edi
call dword [sym.imp.USER32.dll_EndPaint]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x404bcd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push edi
push str.Not_Installed
push dword [ebp + 0xc]
call esi
push dword [ebp + 8]
lea eax, [ebp - 0x110]
push eax
call esi
lea eax, [ebp - 0x110]
push eax
call fcn.004344fb
test eax, eax
je 0x404c58
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x110]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
je 0x404c58
push edi
push dword [0x464334]
call fcn.004341c8
mov esi, eax
test esi, esi
je 0x404c58
push esi
push edi
push dword [ebp - 4]
lea eax, [ebp - 0x110]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x404c58
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x4644d4
push esi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x404c5c
xor eax, eax
jmp 0x404c8b
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x14]
shr ecx, 0x10
push ecx
movzx ecx, word [eax + 0x10]
mov eax, dword [eax + 0x10]
push ecx
shr eax, 0x10
push eax
push str._d._d._d._d
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x18
push 1
pop eax
pop edi
pop esi
leave
ret
Function at 0x406285
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push 0x4649f4
push 0x464a80
push dword [0x46950c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40634e
push eax
push dword [0x46950c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40634e
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push 4
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0044bf60
mov edi, dword [ebp + 0xc]
lea eax, [esi + 0x14]
push 4
push eax
push edi
call fcn.0044bf60
mov eax, dword [ebp - 4]
add esp, 0x18
cmp word [edi + 2], 0x100
jne 0x406303
add eax, 0xfffffffc
add esi, 0x18
push eax
push esi
lea eax, [edi + 4]
jmp 0x406319
lea ecx, [eax - 4]
mov eax, 0x3b0
cmp ecx, eax
ja 0x406311
mov eax, ecx
add esi, 0x18
push eax
push esi
lea eax, [edi + 0x2c]
push eax
call fcn.0044bf60
mov eax, dword [ebp + 8]
xor ecx, ecx
add esp, 0xc
cmp dword [eax + 0x60], ecx
jle 0x406340
lea edx, [edi + 0x2c]
mov esi, dword [eax + 0x70]
mov edi, dword [edx]
add edx, 4
mov dword [esi + ecx*4], edi
inc ecx
cmp ecx, dword [eax + 0x60]
jl 0x40632f
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 1
pop eax
pop edi
pop esi
jmp 0x406350
xor eax, eax
pop ebx
leave
ret
Function at 0x406353
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 2
push dword [esi + 4]
call fcn.0040df41
mov edi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x118]
push eax
xor ebx, ebx
push 0x12
push esi
mov byte [ebp - 0x118], bl
call fcn.004072f9
cmp byte [ebp - 0x118], bl
je 0x4063e5
push ebx
push 0x2c
push 0x15
lea eax, [ebp - 0x118]
push 0x28
push eax
push edi
call fcn.00431d84
add esp, 0x18
mov dword [ebp - 4], eax
push eax
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x118]
push str.File
push eax
call fcn.0043312f
test eax, eax
je 0x4063e5
lea eax, [ebp - 0x118]
push ebx
push eax
call fcn.004335d8
mov edi, eax
cmp edi, 0xffffffff
mov dword [ebp - 0xc], edi
jne 0x4063ec
xor eax, eax
jmp 0x4064c4
lea eax, [ebp - 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x118]
push 4
push eax
push edi
call esi
lea eax, [ebp - 0x118]
push 0x464a84
push eax
mov byte [ebp - 0x114], bl
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x4064bb
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 0x118]
push 0xc
push eax
push edi
call esi
lea eax, [ebp - 8]
push ebx
push eax
lea eax, [ebp - 4]
push 4
push eax
push edi
call esi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
push ebx
push eax
push 4
push edi
push dword [ebp - 0xc]
call esi
cmp word [edi + 2], 0x100
jne 0x406479
lea eax, [ebp - 8]
push ebx
push eax
mov eax, dword [ebp - 4]
add eax, 0xfffffffc
push eax
lea eax, [edi + 4]
jmp 0x406493
mov eax, dword [ebp - 4]
lea ecx, [eax - 4]
mov eax, 0x3b0
cmp ecx, eax
ja 0x40648a
mov eax, ecx
lea ecx, [ebp - 8]
push ebx
push ecx
push eax
lea eax, [edi + 0x2c]
push eax
push dword [ebp - 0xc]
call esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x60], ebx
jle 0x4064b5
add edi, 0x2c
mov ecx, dword [eax + 0x70]
mov edx, dword [edi]
add edi, 4
mov dword [ecx + ebx*4], edx
inc ebx
cmp ebx, dword [eax + 0x60]
jl 0x4064a4
mov edi, dword [ebp - 0xc]
push 1
pop ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407b22
Capabilities:
Create directory

Disassembly:
push edi
push 0x105
push dword [0x464334]
call fcn.004341c8
mov edi, eax
test edi, edi
je 0x407b72
push esi
push dword [esp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 1
push edi
call fcn.00433b6e
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [esp + 0x10]
push edi
call esi
push edi
call fcn.00433d2b
push str..INI
push edi
call esi
pop esi
mov eax, edi
pop edi
ret 8
Function at 0x407c53
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x407d73
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x208]
push 0x464abc
push eax
call esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x208]
push eax
call esi
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x108]
mov esi, 0x469734
push 0xff
push eax
push esi
lea eax, [ebp - 0x208]
push str.Type
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea eax, [ebp - 0x108]
push str.String
push eax
call edi
test eax, eax
jne 0x407d1e
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0xff
push eax
push esi
lea eax, [ebp - 0x208]
push str.Data
push eax
call ebx
lea eax, [ebp - 0x108]
push esi
push eax
call edi
test eax, eax
je 0x407d73
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
jmp 0x407d6e
lea eax, [ebp - 0x108]
push str.Number
push eax
call edi
test eax, eax
jne 0x407d73
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push 0xff
push eax
push esi
lea eax, [ebp - 0x208]
push str.Data
push eax
call ebx
lea eax, [ebp - 0x108]
push esi
push eax
call edi
test eax, eax
je 0x407d73
lea eax, [ebp - 0x108]
push eax
call fcn.0044c68b
pop ecx
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
push 1
pop eax
jmp 0x407d75
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x411ce6
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [ebp + 0xc]
push ebx
push esi
cmp eax, 0x7f00
push edi
jb 0x411d2f
cmp eax, 0x7f04
jbe 0x411d20
cmp eax, 0x7f7f
jbe 0x411d2f
cmp eax, 0x7f85
ja 0x411d2f
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 - 0x1fde4]
jmp 0x411e2e
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + eax*4 - 0x1fbf8]
jmp 0x411e2e
mov eax, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax]
cmp eax, edi
je 0x411e2c
push 8
push eax
call fcn.004036c1
mov esi, eax
cmp esi, edi
je 0x411e2c
push edi
push 0x2c
push 0x1c
push 0x28
push dword [ebp + 0x10]
push esi
call fcn.00431d84
add esp, 0x18
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x411e2c
cmp eax, edi
je 0x411e2c
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x108]
push str.Cursor
push eax
call fcn.0043312f
test eax, eax
jne 0x411e7b
lea eax, [ebp - 0x108]
push 0x105
push eax
call fcn.00433597
test eax, eax
je 0x411e2c
lea eax, [ebp - 0x108]
push 1
push eax
call fcn.00433b6e
push edi
push 0x2c
push 0x1c
push 0x28
push dword [ebp + 0x10]
push esi
call fcn.00431d84
add esp, 0x18
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x411e2c
cmp eax, edi
je 0x411e2c
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp + 8]
push eax
push 0x1c
push dword [ebp + 0x10]
push esi
call fcn.00431c76
mov ebx, eax
add esp, 0x10
cmp ebx, edi
je 0x411e2c
lea eax, [ebp - 0x108]
push 0x1000
push eax
call fcn.004335d8
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
push edi
jne 0x411e33
push 0x28
push ebx
push esi
call fcn.00431d77
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea ecx, [ebp + 0xc]
push ecx
push dword [ebp + 8]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
mov dword [ebp + 0x10], eax
lea eax, [ebp - 0x108]
push 0x200
push eax
call fcn.004335d8
push edi
push 0x28
push ebx
push esi
call fcn.00431d77
add esp, 0x10
jmp 0x411e8b
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_LoadCursorFromFileA]
mov dword [ebp + 0x10], eax
mov eax, dword [ebp + 0x10]
jmp 0x411e2e
Function at 0x421b42
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
lea eax, [ebp + 8]
push ebx
mov ebx, dword [ebp + 8]
push eax
lea eax, [ebp - 0x208]
push eax
push 0x17
push dword [ebx + 4]
call fcn.0040c26d
cmp byte [ebp - 0x208], 0
jne 0x421b74
xor eax, eax
jmp 0x421c5f
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x208]
push edi
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x100]
push 0x4000
push eax
call fcn.004335d8
cmp eax, 0xffffffff
jne 0x421bd7
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x100]
push str.File
push eax
call fcn.0043312f
test eax, eax
jne 0x421bd7
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x308]
push eax
push 0x3c
push dword [ebx + 4]
call fcn.0040c26d
cmp byte [ebp - 0x208], 0
je 0x421c22
cmp byte [ebp - 0x308], 0
je 0x421c22
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x100]
push 0x464fc4
push eax
call esi
lea eax, [ebp - 0x308]
push eax
lea eax, [ebp - 0x100]
push eax
call esi
lea eax, [ebp - 0x100]
push eax
call fcn.00421dfd
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
pop ecx
call esi
mov edi, eax
add edi, 0x1388
call esi
cmp eax, edi
jae 0x421c5a
push ebx
call fcn.00421c62
test eax, eax
pop ecx
jne 0x421c5a
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x421c3f
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x421dfd
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push esi
xor esi, esi
push 0x44
lea eax, [ebp - 0x54]
push esi
push eax
call fcn.0044bf00
add esp, 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
mov dword [ebp - 0x28], 0x41
push eax
lea eax, [ebp - 0x54]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
mov word [ebp - 0x24], 0xa
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x421e60
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0xc]
call esi
push 1
pop eax
pop esi
leave
ret