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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x41f28f
add esp, 0xfffffff0
call fcn.00443a18
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0043753c
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x43110c]
call fcn.00443700
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x43110c]
call fcn.00443700
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 [0x40e620]
call fcn.00414048
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x41f404
mov eax, dword [0x457778]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00414418
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x420c3c
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x457778]
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.0043fe60
test eax, eax
je 0x41f382
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0043c9b0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0043fe88
test eax, eax
je 0x41f396
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.004443b8
mov eax, dword [0x45777c]
cmp byte [eax], 0
jne 0x41f3c7
mov eax, ebx
call fcn.0041f4f0
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 0x41f3f9
call fcn.00443a70
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41f760
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x457900]
cmp dword [eax + 0x24], 0
je 0x41f803
cmp dword [ebx + 0x84], 0
jne 0x41f7fd
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x41f6f0
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x41f7fd
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 0x41f7c6
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x41f7fd
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.004327c0
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x41f7d5
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x420210
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 0x420245
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.00444270
jmp 0x42024f
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.004441dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x420fb0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x420fe8
mov eax, esi
call fcn.0042c350
test al, al
je 0x420fe8
mov eax, dword [ebx + 0x74]
call fcn.0042c054
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x420fe8
push 0
mov eax, dword [ebx + 0x74]
call fcn.0042c054
push eax
call sub.USER32.DLL_ShowWindow
pop esi
pop ebx
ret

Function at 0x423e28
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 [0x45795c], 0
sete dl
or al, dl
jne 0x423f68
mov eax, dword [0x457960]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x45795c]
mov esi, dword [eax + 8]
dec esi
test esi, esi
jl 0x423f37
inc esi
xor edi, edi
mov edx, edi
mov eax, dword [0x45795c]
call fcn.004327c0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x423f2f
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x423f2f
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x423f2f
mov eax, dword [ebp - 0x14]
call fcn.0042c054
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x423f2f
push ebp
call fcn.00423de4
pop ecx
test al, al
jne 0x423f2f
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x423eeb
mov eax, dword [ebp - 0x14]
call fcn.0042a9e0
dec eax
jle 0x423f2f
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.0044390c
cmp byte [ebp - 1], 0
je 0x423f2f
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x423f2f
mov edx, dword [ebp - 0x14]
mov eax, dword [0x457960]
call fcn.00423630
inc edi
dec esi
jne 0x423e7e
mov eax, dword [0x457960]
cmp dword [eax + 8], 0
jle 0x423f4f
mov eax, dword [0x457960]
call fcn.004236c0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x423f68
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00423c4c
pop ecx
test al, al
jne 0x423f68
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 0x4299ec
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 0x429a1d
je 0x429a77
sub eax, 7
je 0x429a3e
dec eax
je 0x429a68
sub eax, 0x17
je 0x429b1c
jmp 0x429b5a
add eax, 0xffffff00
sub eax, 9
jb 0x429b08
add eax, 0xffffff09
sub eax, 0xb
jb 0x429ad0
jmp 0x429b5a
mov eax, ebx
call fcn.00417e5c
mov edi, eax
test edi, edi
je 0x429bba
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x429bc3
jmp 0x429bba
test byte [ebx + 0x44], 0x20
jne 0x429bc3
jmp 0x429bba
mov edx, esi
mov eax, ebx
call fcn.004270b8
cmp dword [esi + 0xc], 0xffffffff
jne 0x429bc3
push 0
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00439154
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00425c04
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.004298c4
test eax, eax
je 0x429bc3
mov dword [esi + 0xc], 1
jmp 0x429bc3
mov edx, esi
mov eax, ebx
call fcn.00429958
test al, al
je 0x429bba
cmp dword [esi + 0xc], 0
jne 0x429bc3
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.0042c054
push eax
call sub.USER32.DLL_DefWindowProcA
jmp 0x429bc3
mov eax, ebx
call fcn.00426754
test al, al
jne 0x429bc3
jmp 0x429bba
mov eax, ebx
call fcn.0042c054
mov edi, eax
call sub.USER32.DLL_GetCapture
cmp edi, eax
jne 0x429bba
cmp dword [0x45396c], 0
je 0x429bba
mov eax, dword [0x45396c]
cmp ebx, dword [eax + 0x24]
jne 0x429bba
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x45396c]
call fcn.00426fec
jmp 0x429bba
mov eax, dword [0x457924]
cmp byte [eax + 0x20], 0
je 0x429bba
mov eax, dword [0x457924]
cmp dword [eax + 0x1c], 0
je 0x429bba
mov eax, dword [esi]
mov edx, dword [0x457924]
cmp eax, dword [edx + 0x1c]
jne 0x429bba
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.00417da0
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.0044390c
jmp 0x429bc3
mov edx, esi
mov eax, ebx
call fcn.004270b8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42a084
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 0x42a0a0
cmp dword [esi + 4], 0
je 0x42a0cd
test byte [ebx + 0x45], 1
jne 0x42a0bf
mov eax, ebx
call fcn.00429028
test eax, eax
jne 0x42a0bf
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x42a1dd
mov edx, esi
mov eax, ebx
call fcn.00429cfc
jmp 0x42a1dd
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 0x42a1d6
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0042c054
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.00426fec
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042a084
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.0042c054
push eax
call sub.USER32.DLL_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42a1dd
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 0x43eacc
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 0x43eb05
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00444270
jmp 0x43eb0e
mov eax, ebx
mov edx, esi
call fcn.004441dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x43eb18
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 0x43eb39
mov al, byte [esp]
jmp 0x43eb3b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x4432ac
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x4432db
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00444270
jmp 0x4432f9
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.00443234
mov edi, eax
test ebx, ebx
je 0x4432f9
cmp dword [esi], 0
je 0x4432f9
dec ebx
jmp 0x4432e2
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4435a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x453ce0]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x443640
push 0x80000002
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x443620
xor eax, eax
push ebp
push 0x443619
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 0x44365c
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 0x443620
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov ax, word [0x453ce0]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x453ce0], ax
mov esp, ebp
pop ebp
ret
Function at 0x445714
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 0x4458d0
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
je 0x445775
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x4458ec
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4457e7
xor eax, eax
push ebp
push 0x4457e0
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.0044556c
push eax
mov eax, dword [ebp - 8]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4457c9
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x44590c
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 0x4457e7
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 0x4458c8
cmp byte [ebp - 0xd], 0
jne 0x445829
cmp byte [ebp - 0x12], 0
je 0x4458c8
lea eax, [ebp - 0x11d]
push eax
call sub.KERNEL32.DLL_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x445842
dec ebx
cmp byte [ebx], 0x2e
je 0x445851
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x445841
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4458c8
inc ebx
cmp byte [ebp - 0x12], 0
je 0x44587e
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 0x4458c8
cmp byte [ebp - 0xd], 0
je 0x4458c8
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 0x4458c8
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 0x445cbc
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
push ebp
push 0x445da4
push dword fs:[eax]
mov dword fs:[eax], esp
sub dword [0x457fd4], 1
jae 0x445d96
xor eax, eax
mov dword [0x457be0], eax
xor eax, eax
mov dword [0x457be8], eax
xor eax, eax
mov dword [0x457bec], eax
mov byte [0x457bf2], 2
mov byte [0x457bf3], 2
mov byte [0x457bf4], 3
mov word [0x457f9c], 0
mov word [0x457fac], 1
mov word [0x457fbc], 0xa
mov dword [0x457fc4], 0x80020004
mov dword [0x457f90], 0x444ea8
mov dword [0x457f94], 0x444ea0
mov dword [0x457f98], 0x444ea8
call fcn.00443578
test al, al
je 0x445d55
call fcn.004435a8
call fcn.0044366c
mov eax, 0x457bf8
mov edx, 0x445db0
call fcn.00440d7e
mov eax, 0x457dc4
mov edx, 0x445db0
call fcn.00440d7e
call sub.KERNEL32.DLL_GetCommandLineA
mov dword [0x457bd8], eax
call fcn.00441d24
mov dword [0x457bd4], eax
call sub.KERNEL32.DLL_GetCurrentThreadId
mov dword [0x457bcc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445dab
ret

Function at 0x44b89c
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 0x44b8fe
call fcn.0044b84c
mov esi, eax
lea eax, [ebp - 4]
push 0
push eax
push esi
call fcn.00446878
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.00446878
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 0x44b97c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
cmp dword [0x455944], 0
push ebx
push esi
mov esi, dword [ebp + 8]
jne 0x44ba56
cmp dword [0x455940], 0
jne 0x44ba56
cmp dword [0x455b24], 0
je 0x44ba10
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.0044b74c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44b9f6
push 0x3a
lea edx, [ebp - 0x84]
push edx
call fcn.0044b74c
add esp, 8
mov ebx, eax
test eax, eax
jne 0x44b9f6
lea ebx, [ebp - 0x84]
jmp 0x44b9f7
inc ebx
call fcn.0044b938
or eax, 0x10010
push eax
push ebx
push esi
push 0
call sub.USER32.DLL_MessageBoxA
jmp 0x44ba91
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
mov ebx, eax
lea eax, [ebp - 4]
push 0
push eax
push 2
push 0x455948
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea edx, [ebp - 4]
push edx
push esi
call fcn.00446878
pop ecx
push eax
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
push 0
lea ecx, [ebp - 4]
push ecx
push 2
push 0x45594b
push ebx
call sub.KERNEL32.DLL_WriteFile
jmp 0x44ba91
cmp dword [0x455940], 0
je 0x44ba70
cmp dword [0x455940], 0xffffffff
je 0x44ba91
push esi
call dword [0x455940]
pop ecx
mov eax, dword [0x455944]
test eax, eax
je 0x44ba91
cmp dword [0x455944], 0xffffffff
je 0x44ba91
cmp byte [eax], 0
je 0x44ba91
push esi
push eax
call fcn.0044b89c
add esp, 8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x517060
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc0000]
push edi
jmp 0x51707a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x517081
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x517070
mov eax, 1
add ebx, ebx
jne 0x517093
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5170a4
jne 0x5170c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170c3
dec eax
add ebx, ebx
jne 0x5170b0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x517088
add ebx, ebx
jne 0x5170bf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x517115
xor ecx, ecx
sub eax, 3
jb 0x5170db
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x51714a
sar eax, 1
mov ebp, eax
jmp 0x5170e6
add ebx, ebx
jne 0x5170e6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170b4
inc ecx
add ebx, ebx
jne 0x5170f4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5170b4
add ebx, ebx
jne 0x517101
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5170f6
jne 0x517112
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5170f6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x517134
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x517126
jmp 0x517076
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x517134
add edi, ecx
jmp 0x517076
pop esi
mov edi, esi
mov ecx, 0x3ea9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x517152
cmp byte [edi], 0x11
jne 0x517152
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 al, bl
loop 0x517157
lea edi, [esi + 0x110000]
mov eax, dword [edi]
or eax, eax
je 0x5171cf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x154e30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x154fac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x517184
mov ecx, edi
jns 0x5171b3
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 + 0x154fb0]
or eax, eax
je 0x5171c9
mov dword [ebx], eax
add ebx, 4
jmp 0x5171a1
call dword [esi + 0x154fc0]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x517200
cmp al, 0xef
ja 0x5171f3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5171d5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5171e2
mov ebp, dword [esi + 0x154fb4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x517234
sub esp, 0xffffff80
jmp 0x42800a
Function at 0x405080
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4386a0
push eax
mov eax, 0x1038
mov dword fs:[0], esp
call fcn.004372f0
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x4051c7
cmp eax, 4
je 0x4051c7
push edi
mov edi, dword [ebp + 8]
add edi, 0x20
mov dword [ebp + 0xc], edi
je 0x4050cb
mov eax, dword [edi]
mov edx, dword [eax]
mov ecx, edi
call edx
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0
call fcn.00402890
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.00403830
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x28]
xor eax, eax
push edx
mov word [ebp - 0x1044], ax
call fcn.00404e90
add esp, 8
cmp dword [eax + 0x14], 8
jb 0x405107
mov eax, dword [eax]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__d___S
lea eax, [ebp - 0x1044]
push 0x30
push eax
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x14
cmp dword [ebp - 0x14], 8
mov esi, eax
jb 0x40513b
mov ecx, dword [ebp - 0x28]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
lea ecx, [ebp + 0x18]
push ecx
mov word [ebp - 0x28], dx
mov edx, dword [ebp + 0x14]
mov eax, 0x7ff
sub eax, esi
push edx
push eax
lea eax, [ebp + esi*2 - 0x1044]
push eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call dword [sym.imp.MSVCR100.dll_vswprintf_s]
add esi, eax
add esp, 0x10
cmp word [ebp + esi*2 - 0x1044], 0xa
je 0x405188
mov dword [ebp + esi*2 - 0x1044], 0xa
lea eax, [ebp - 0x1044]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0
call fcn.004028c0
mov dword [ebp - 4], 0xffffffff
pop esi
test edi, edi
je 0x4051b6
mov edx, dword [edi]
mov eax, dword [edx + 8]
mov ecx, edi
call eax
mov al, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0xc]
xor al, al
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x410330
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x41033e
pop ebp
ret 8
mov ecx, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 1
push ecx
call dword [sym.imp.MSVCR100.dll_fread]
add esp, 0x10
pop ebp
ret 8