joyce8/EMBER2024-capa huggingface dataset:
Function at 0x443380
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x469390]
cmp byte [eax + 0xc], 0
je 0x4434ed
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4434e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46ab94], 0
jne 0x4433d4
push 0x4434f4
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x4434fc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab94], eax
cmp dword [0x468bdc], 0
jne 0x4434cf
push 0x44350c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x468bdc], eax
cmp dword [0x468bdc], 0
je 0x4434cf
push 0x443518
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab98], eax
push 0x443528
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46ab9c], eax
push 0x44353c
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46aba0], eax
push 0x443554
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46aba4], eax
push 0x44356c
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46aba8], eax
push 0x443580
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abac], eax
push 0x443598
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abb0], eax
push 0x4435b0
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abb4], eax
push 0x4435cc
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abb8], eax
push 0x4435d8
mov eax, dword [0x468bdc]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46abbc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4434ed
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4473bc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404034
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x44740b
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44ed6c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44edbc]
test si, 4
je 0x44ed80
or bl, 1
test si, 8
je 0x44ed8a
or bl, 4
test si, 1
je 0x44ed94
or bl, 8
test si, 2
je 0x44ed9e
or bl, 0x10
test si, 0x10
je 0x44eda8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44edb7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x44edc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44edf8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44edd9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44ede8
or bl, 4
test esi, 0x20000000
je 0x44edf3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4554a0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4554b2
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d060
mov eax, dword [0x469024]
mov dword [eax + 4], ebx
mov dword [eax], 0x455844
mov eax, dword [0x469030]
mov dword [eax + 4], ebx
mov dword [eax], 0x455850
mov eax, ebx
call fcn.0045585c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415304]
call fcn.004032b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415304]
call fcn.004032b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415304]
call fcn.004032b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415304]
call fcn.004032b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415304]
call fcn.004032b4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x451c78
push eax
push 0
push 0
mov eax, dword [0x469188]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41eacc]
call fcn.004202e0
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41eacc]
call fcn.004202e0
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41eacc]
call fcn.004202e0
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00455c7c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455b58
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455b58
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x455b58
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4555ef
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45593c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x455ae7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x455ac8
mov dl, 1
mov eax, dword [0x415720]
call fcn.004032b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404034
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x455ab7
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.004436e0
test al, al
je 0x455aaa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x455af8
lea eax, [ebp - 0x254]
call fcn.00408fc8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x455aaa
xor eax, eax
push ebp
push 0x455aa3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x455b30
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x455a8c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x455a8c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455aaa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x4559ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419238
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x455aee
lea eax, [ebp - 0x260]
call fcn.00404034
ret

Function at 0x45641c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x46abe0]
cmp byte [eax + 0xa5], 0
jne 0x45648d
cmp dword [0x46abf8], 0
jne 0x45644e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x4563d8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46abf8], eax
cmp dword [0x46abf4], 0
jne 0x456469
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x46abf4], eax
cmp dword [0x46abfc], 0
jne 0x45648d
push esp
push 0
push 0
push 0x45637c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x46abfc], eax
pop edx
ret
Function at 0x456584
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45659b
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d060
mov eax, dword [0x469174]
cmp word [eax + 2], 0
jne 0x4565c3
mov eax, dword [0x469174]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457cec
mov eax, dword [0x46922c]
cmp word [eax + 2], 0
jne 0x4565dd
mov eax, dword [0x46922c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00457ee4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415304]
call fcn.004032b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415304]
call fcn.004032b4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f64c]
call fcn.00427338
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x456764
mov eax, dword [0x469088]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427708
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x458484
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x469088]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c798
test eax, eax
je 0x4566d2
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004089a8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c7c0
test eax, eax
je 0x4566e6
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
mov eax, dword [0x468f58]
cmp byte [eax], 0
jne 0x45671a
mov eax, ebx
call fcn.0045688c
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00458660
mov eax, ebx
call fcn.00459024
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45675a
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x456b0c
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46abe0]
cmp dword [eax + 0x30], 0
je 0x456bb6
cmp dword [ebx + 0x94], 0
jne 0x456bb0
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456a9c
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456bb0
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x456b76
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456bb0
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041766c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456b85
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x457718
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45774d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404124
jmp 0x45775a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404088
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45883c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45887d
mov eax, esi
call fcn.0043eda0
test al, al
je 0x45887d
mov eax, dword [ebx + 0x84]
call fcn.0043ea9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45887d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ea9c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45953c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x4148b4]
call fcn.004049cc
xor eax, eax
push ebp
push 0x459680
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x468e10], 0
jne 0x45958f
mov ecx, dword [0x468f68]
mov dl, 1
mov eax, dword [0x40729c]
call fcn.0040b9c4
call fcn.00403a70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cf8
mov eax, ebx
call fcn.0040489c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x459690
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405950
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004048ac
test eax, eax
jle 0x459627
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x459620
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004042bc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042a4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408100
test eax, eax
jne 0x459620
mov ebx, 0x15
jmp 0x45962c
mov ebx, 0x10
jmp 0x45962c
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x468e10]
call fcn.00459494
mov eax, dword [ebp - 8]
call fcn.00459494
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459687
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404058
lea eax, [ebp - 0x10]
mov edx, dword [0x4148b4]
call fcn.00404a9c
ret
Function at 0x407170
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x5000]
push edi
or ebp, 0xffffffff
jmp 0x407192
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407188
mov eax, 1
add ebx, ebx
jne 0x4071ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4071a0
jne 0x4071bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4071a0
xor ecx, ecx
sub eax, 3
jb 0x4071d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x407242
mov ebp, eax
add ebx, ebx
jne 0x4071db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4071e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40720c
inc ecx
add ebx, ebx
jne 0x4071f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4071ed
jne 0x407209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4071ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40722c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40721d
jmp 0x40718e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40722c
add edi, ecx
jmp 0x40718e
pop esi
mov edi, esi
mov ecx, 8
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40724a
cmp byte [edi], 1
jne 0x40724a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x40724f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4072c7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x75f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x762c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40727c
mov ecx, edi
jns 0x4072ab
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7630]
or eax, eax
je 0x4072c1
mov dword [ebx], eax
add ebx, 4
jmp 0x407299
call dword [esi + 0x7634]
popal
jmp 0x401354
Function at 0x4853da
Capabilities:
Contain obfuscated stackstrings
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll__lcreat]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x485400
jmp 0x485516
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov dword [ebp - 0x424], eax
cmp dword [ebp - 0x424], 0xffffffff
jne 0x485420
jmp 0x485516
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov al, byte [ebp - 4]
mov byte [ebp - 0x1c], al
mov eax, dword [ebp - 0x1c]
push eax
call fcn.0048994e
add esp, 4
mov dword [0x4a00a0], 0
mov dword [ebp - 0x420], 0x646c6f47
mov dword [ebp - 0x41c], 0x6f736e65
mov byte [ebp - 0x418], 0x66
mov dword [ebp - 0x20], 0
jmp 0x48546d
inc dword [ebp - 0x20]
cmp dword [ebp - 0x20], 9
jge 0x48548d
mov eax, dword [ebp - 0x20]
movsx eax, byte [eax + ebp - 0x420]
xor al, byte [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov byte [ecx + ebp - 0x420], al
jmp 0x48546a
mov al, byte [ebp - 0x1c]
mov byte [ebp - 0x417], al
push 0xa
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
push 0x400
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lread]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4854f5
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004894f1
add esp, 8
mov eax, dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x420]
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lwrite]
jmp 0x4854a9
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp - 0x424]
push eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x48577c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
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_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jne 0x485855
mov dword [ebp - 0x14], 0
jmp 0x4857e0
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1e
jge 0x485855
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0x4a00a4], ecx
jne 0x485853
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx*4 + 0x4a01b2]
cmp dword [eax*4 + 0x4a013a], ecx
jb 0x485842
mov eax, dword [ebp - 0xc]
cmp dword [0x4a00a0], eax
je 0x485830
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x4a011c]
push eax
call fcn.0048994e
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x4a00a0], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004894a5
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
add dword [ecx*4 + 0x4a013a], eax
jmp 0x485855
jmp 0x4857dd
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
leave
ret 0x14

Function at 0x485866
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x14], 0
jmp 0x4858ae
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0x1e
jge 0x485903
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
cmp dword [eax*4 + 0x4a00a4], ecx
jne 0x485901
mov eax, dword [ebp - 8]
cmp dword [0x4a00a0], eax
je 0x4858e8
mov eax, dword [ebp - 0x14]
mov al, byte [eax + 0x4a011c]
push eax
call fcn.0048994e
add esp, 4
mov eax, dword [ebp - 8]
mov dword [0x4a00a0], eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004894f1
add esp, 8
mov dword [ebp - 0xc], 1
jmp 0x485903
jmp 0x4858ab
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_WriteFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0
je 0x485931
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004894a5
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x10]
leave
ret 0x14