joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423520
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x423537
add esp, 0xfffffff0
call fcn.00444c30
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043bbd4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x43590c]
call fcn.00444918
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x43590c]
call fcn.00444918
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x4127f4]
call fcn.004182d4
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x4236ac
mov eax, dword [0x4571f4]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004186a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x425020
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4571f4]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
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.00441188
test eax, eax
je 0x42362a
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043f810
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.004411b0
test eax, eax
je 0x42363e
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.004455d0
mov eax, dword [0x4571f8]
cmp byte [eax], 0
jne 0x42366f
mov eax, ebx
call fcn.00423798
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4236a1
call fcn.00444c88
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423a08
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4572f8]
cmp dword [eax + 0x24], 0
je 0x423aab
cmp dword [ebx + 0x84], 0
jne 0x423aa5
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x423998
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x423aa5
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 0x423a6e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x423aa5
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.00436fc0
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x423a7d
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x4244b8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x4244ed
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00445488
jmp 0x4244f7
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.004453f4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x425394
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x4253cc
mov eax, esi
call fcn.004309cc
test al, al
je 0x4253cc
mov eax, dword [ebx + 0x74]
call fcn.004306d0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4253cc
push 0
mov eax, dword [ebx + 0x74]
call fcn.004306d0
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x4283c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
cmp dword [0x457354], 0
sete dl
or al, dl
jne 0x428500
mov eax, dword [0x457358]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x457354]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x4284cf
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x457354]
call fcn.00436fc0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x4284c7
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x4284c7
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x4284c7
mov eax, dword [ebp - 0x14]
call fcn.004306d0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x4284c7
push ebp
call fcn.0042837c
pop ecx
test al, al
jne 0x4284c7
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x428483
mov eax, dword [ebp - 0x14]
call fcn.0042f05c
dec eax
jle 0x4284c7
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00444b24
cmp byte [ebp - 1], 0
je 0x4284c7
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x4284c7
mov edx, dword [ebp - 0x14]
mov eax, dword [0x457358]
call fcn.00427bc8
inc edi
dec esi
jne 0x428416
mov eax, dword [0x457358]
cmp dword [eax + 8], 0
jle 0x4284e7
mov eax, dword [0x457358]
call fcn.00427c58
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x428500
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004281e4
pop ecx
test al, al
jne 0x428500
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x42e099
je 0x42e0f3
sub eax, 7
je 0x42e0ba
dec eax
je 0x42e0e4
sub eax, 0x17
je 0x42e198
jmp 0x42e1d6
add eax, 0xffffff00
sub eax, 9
jb 0x42e184
add eax, 0xffffff09
sub eax, 0xb
jb 0x42e14c
jmp 0x42e1d6
mov eax, ebx
call fcn.0041c104
mov edi, eax
test edi, edi
je 0x42e236
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x42e23f
jmp 0x42e236
test byte [ebx + 0x44], 0x20
jne 0x42e23f
jmp 0x42e236
mov edx, esi
mov eax, ebx
call fcn.0042b668
cmp dword [esi + 0xc], 0xffffffff
jne 0x42e23f
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.0043d7ec
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.0042a19c
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.0042df40
test eax, eax
je 0x42e23f
mov dword [esi + 0xc], 1
jmp 0x42e23f
mov edx, esi
mov eax, ebx
call fcn.0042dfd4
test al, al
je 0x42e236
cmp dword [esi + 0xc], 0
jne 0x42e23f
mov eax, dword [esi + 8]
push eax
mov eax, dword [esi + 4]
push eax
mov eax, dword [esi]
push eax
mov eax, ebx
call fcn.004306d0
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x42e23f
mov eax, ebx
call fcn.0042ad04
test al, al
jne 0x42e23f
jmp 0x42e236
mov eax, ebx
call fcn.004306d0
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x42e236
cmp dword [0x453944], 0
je 0x42e236
mov eax, dword [0x453944]
cmp ebx, dword [eax + 0x24]
jne 0x42e236
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x453944]
call fcn.0042b59c
jmp 0x42e236
mov eax, dword [0x45731c]
cmp byte [eax + 0x20], 0
je 0x42e236
mov eax, dword [0x45731c]
cmp dword [eax + 0x1c], 0
je 0x42e236
mov eax, dword [esi]
mov edx, dword [0x45731c]
cmp eax, dword [edx + 0x1c]
jne 0x42e236
lea eax, [ebp - 0x110]
push eax
call sub.USER32.DLL_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.0041c048
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb7
call fcn.00444b24
jmp 0x42e23f
mov edx, esi
mov eax, ebx
call fcn.0042b668
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42e700
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x42e71c
cmp dword [esi + 4], 0
je 0x42e749
test byte [ebx + 0x45], 1
jne 0x42e73b
mov eax, ebx
call fcn.0042d638
test eax, eax
jne 0x42e73b
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42e859
mov edx, esi
mov eax, ebx
call fcn.0042e378
jmp 0x42e859
push 0
call sub.USER32.DLL_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.GDI32.DLL_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.USER32.DLL_ReleaseDC
push 0
call sub.GDI32.DLL_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42e852
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004306d0
push eax
call sub.USER32.DLL_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0042b59c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042e700
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.GDI32.DLL_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.004306d0
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e859
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.GDI32.DLL_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.GDI32.DLL_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43ffec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x440025
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00445488
jmp 0x44002e
mov eax, ebx
mov edx, esi
call fcn.004453f4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x440038
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x440059
mov al, byte [esp]
jmp 0x44005b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4447c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x453c40]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x444858
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x444838
xor eax, eax
push ebp
push 0x444831
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x444874
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444838
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x453c40]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x453c40], ax
mov esp, ebp
pop ebp
ret
Function at 0x4468ac
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x446a68
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x44690d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x446a84
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x44697f
xor eax, eax
push ebp
push 0x446978
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00446704
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x446961
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x446aa4
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44697f
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.KERNEL32.DLL_GetThreadLocale
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x446a60
cmp byte [ebp - 0xd], 0
jne 0x4469c1
cmp byte [ebp - 0x12], 0
je 0x446a60
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4469da
dec ebx
cmp byte [ebx], 0x2e
je 0x4469e9
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4469d9
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x446a60
inc ebx
cmp byte [ebp - 0x12], 0
je 0x446a16
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x446a60
cmp byte [ebp - 0xd], 0
je 0x446a60
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x446a60
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.KERNEL32.DLL_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x446e54
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x446f3c
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x4579b4], 1
jae 0x446f2e
xor eax, eax
mov dword [0x4575c0], eax
xor eax, eax
mov dword [0x4575c8], eax
xor eax, eax
mov dword [0x4575cc], eax
mov byte [0x4575d2], 2
mov byte [0x4575d3], 2
mov byte [0x4575d4], 3
mov word [0x45797c], 0
mov word [0x45798c], 1
mov word [0x45799c], 0xa
mov dword [0x4579a4], 0x80020004
mov dword [0x457970], 0x446040
mov dword [0x457974], 0x446038
mov dword [0x457978], 0x446040
call fcn.00444790
test al, al
je 0x446eed
call fcn.004447c0
call fcn.00444884
mov eax, 0x4575d8
mov edx, 0x446f48
call fcn.004420a6
mov eax, 0x4577a4
mov edx, 0x446f48
call fcn.004420a6
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x4575b8], eax
call fcn.0044300c
mov dword [0x4575b4], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x4575ac], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x446f43
ret

Function at 0x44b688
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp + 8]
push eax
call sub.KERNEL32.DLL_CreateFileA
mov ebx, eax
test eax, eax
je 0x44b6ea
call fcn.0044b638
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00447a14
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push edi
call fcn.00447a14
pop ecx
push eax
push edi
push ebx
call sub.KERNEL32.DLL_WriteFile
push ebx
call sub.KERNEL32.DLL_CloseHandle
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44b768
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x455824], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44b842
cmp dword [0x455820], 0
jne 0x44b842
cmp dword [0x455a04], 0
je 0x44b7fc
push 0x80
lea eax, [ebp - 0x84]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0x5c
lea edx, [ebp - 0x84]
push edx
call fcn.0044b538
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44b7e2
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0044b538
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44b7e2
lea ebx, [ebp - 0x84]
jmp 0x44b7e3
inc ebx
call fcn.0044b724
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44b87d
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x455828
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00447a14
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45582b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44b87d
cmp dword [0x455820], 0
je 0x44b85c
cmp dword [0x455820], 0xffffffff
je 0x44b87d
push esi
call dword [0x455820]
pop ecx
mov eax, dword [0x455824]
test eax, eax
je 0x44b87d
cmp dword [0x455824], 0xffffffff
je 0x44b87d
cmp byte [eax], 0
je 0x44b87d
push esi
push eax
call fcn.0044b688
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44c014
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4582b8], 0
jne 0x44c095
cmp dword [0x4582d8], 0
jne 0x44c044
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4582d8], eax
test eax, eax
jne 0x44c044
push str.GetEnvironmentStrings_failed
call fcn.0044b894
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4582d8]
jmp 0x44c058
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00447a14
pop ecx
mov edi, eax
test eax, eax
jne 0x44c050
lea edi, [ebp + 1]
push edi
call fcn.00447474
pop ecx
mov ebx, eax
mov dword [0x4582bc], ebx
test ebx, ebx
jne 0x44c082
xor eax, eax
jmp 0x44c158
push edi
mov edx, dword [0x4582d8]
push edx
push ebx
call fcn.004478c4
add esp, 0xc
jmp 0x44c0b5
xor esi, esi
mov ebx, dword [0x4582b8]
jmp 0x44c0af
push eax
call fcn.00447a14
pop ecx
test eax, eax
jne 0x44c0ab
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44c09f
lea ebx, [esi + 4]
push 4
mov dword [0x4582c0], ebx
inc ebx
push ebx
call fcn.00446f4c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x44c0d8
xor eax, eax
jmp 0x44c158
cmp dword [0x4582b8], 0
jne 0x44c109
xor esi, esi
mov ebx, dword [0x4582bc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x44c0fa
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00447a14
pop ecx
mov edi, eax
test eax, eax
jne 0x44c0f0
jmp 0x44c13a
xor esi, esi
mov ebx, dword [0x4582b8]
mov eax, dword [esp]
mov edi, eax
jmp 0x44c134
push eax
call fcn.00447a14
pop ecx
test eax, eax
je 0x44c129
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x44c12d
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x44c118
mov eax, dword [0x4582b8]
test eax, eax
je 0x44c14a
push eax
call fcn.00447484
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4582b8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x401cd0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x1000
mov eax, dword [ebp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop ebp
ret

Function at 0x401cf0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
mov eax, dword [ebp + 8]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x414ddf
Capabilities:
Encode data using xor

Disassembly:
xor dword [ecx], edi
sub ebx, esi
or ebx, ebx
sub edx, 0x8a2d0d9e
add ecx, 4
cmp ecx, eax
jne fcn.00414ddf
and esi, ebx
or ebx, esi
inc esi
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

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

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
jmp fcn.00401219
Function at 0x30017978
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x300033f4]
jne 0x30017eb3
ret
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x3001fea0], eax
mov dword [0x3001fe9c], ecx
mov dword [0x3001fe98], edx
mov dword [0x3001fe94], ebx
mov dword [0x3001fe90], esi
mov dword [0x3001fe8c], edi
mov word [0x3001feb8], ss
mov word [0x3001feac], cs
mov word [0x3001fe88], ds
mov word [0x3001fe84], es
mov word [0x3001fe80], fs
mov word [0x3001fe7c], gs
pushfd
pop dword [0x3001feb0]
mov eax, dword [ebp]
mov dword [0x3001fea4], eax
mov eax, dword [ebp + 4]
mov dword [0x3001fea8], eax
lea eax, [ebp + 8]
mov dword [0x3001feb4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x3001fdf0], 0x10001
mov eax, dword [0x3001fea8]
mov dword [0x3001fda4], eax
mov dword [0x3001fd98], 0xc0000409
mov dword [0x3001fd9c], 1
mov eax, dword [0x300033f4]
mov dword [ebp - 0x328], eax
mov eax, dword [0x3001edf8]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x3001fde8], eax
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x30003430
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x3001fde8], 0
jne 0x30017fa3
push 1
call sub.MSVCR80.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret