joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44596c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x4459b8
mov eax, esi
call fcn.0042d9f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4459b8
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x4459b8
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x445af7
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x4459f8
cmp eax, 0x108
ja 0x4459f8
mov eax, esi
call fcn.0042d9f0
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x445aee
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x445af7
jmp 0x445aee
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x445ad7
cmp eax, 0x20a
ja 0x445ad7
test byte [esi + 0x50], 0x80
jne 0x445a2a
sub eax, 0x203
je 0x445a27
sub eax, 3
je 0x445a27
sub eax, 3
jne 0x445a2a
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x445a3e
dec eax
je 0x445a53
dec eax
je 0x445a70
dec eax
je 0x445a53
jmp 0x445a77
mov ecx, ebx
mov eax, dword [0x45301c]
mov eax, dword [eax]
mov edx, esi
call fcn.00437018
jmp 0x445aee
cmp byte [esi + 0x5d], 1
jne 0x445a69
mov eax, esi
mov si, 0xffed
call fcn.004032f8
jmp 0x445af7
or word [esi + 0x54], 1
jmp 0x445aee
and word [esi + 0x54], 0xfffe
jmp 0x445aee
mov eax, dword [0x454b68]
cmp byte [eax + 0x20], 0
je 0x445aee
mov eax, dword [0x454b68]
cmp dword [eax + 0x1c], 0
je 0x445aee
mov eax, dword [ebx]
mov edx, dword [0x454b68]
cmp eax, dword [edx + 0x1c]
jne 0x445aee
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.0042d934
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004032f8
jmp 0x445af7
cmp eax, 0xb00b
jne 0x445aee
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.004442d4
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x448f78
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 + 0x1f8], 0
je 0x448f94
cmp dword [esi + 4], 0
je 0x448fc1
test byte [ebx + 0x55], 1
jne 0x448fb3
mov eax, ebx
call fcn.00447b84
test eax, eax
jne 0x448fb3
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4490d1
mov edx, esi
mov eax, ebx
call fcn.00448a9c
jmp 0x4490d1
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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 0x4490ca
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0044ade8
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.004458a0
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00448f78
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 + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
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.0044ade8
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4490d1
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 0x44f4e0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x453190]
cmp byte [eax + 0xc], 0
je 0x44f64d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44f646
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x454bbc], 0
jne 0x44f534
push 0x44f654
call sub.kernel32.dll_GetModuleHandleA_1
mov ebx, eax
push 0x44f65c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bbc], eax
cmp dword [0x452d44], 0
jne 0x44f62f
push 0x44f66c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x452d44], eax
cmp dword [0x452d44], 0
je 0x44f62f
push 0x44f678
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bc0], eax
push 0x44f688
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bc4], eax
push 0x44f69c
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bc8], eax
push 0x44f6b4
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bcc], eax
push 0x44f6cc
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bd0], eax
push 0x44f6e0
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bd4], eax
push 0x44f6f8
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bd8], eax
push 0x44f710
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454bdc], eax
push 0x44f72c
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454be0], eax
push 0x44f738
mov eax, dword [0x452d44]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x454be4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f64d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x416ead
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.00416f2c
jae 0x416eb9
xor ecx, ecx
call fcn.00416f2c
jae 0x416ee3
xor eax, eax
call fcn.00416f2c
jae 0x416ef4
mov al, 0x10
call fcn.00416f2c
adc al, al
jae 0x416ed5
jne 0x416f21
stosb byte es:[edi], al
jmp 0x416eba
call fcn.00416f38
dec ecx
loop 0x416f00
mov eax, ebp
call fcn.00416f36
jmp 0x416f22
lodsb al, byte [esi]
shr eax, 1
je 0x416f48
adc ecx, 2
mov ebp, eax
jmp 0x416f22
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.00416f36
cmp eax, 0x7d00
jae 0x416f20
cmp eax, 0x500
jae 0x416f21
cmp eax, 0x7f
ja 0x416f22
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x416eba
pop ebp
ret 8
Function at 0x401939
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0xc]
push edi
xor edi, edi
mov edx, dword [edx]
and edx, 7
cmp eax, 5
jae 0x401956
xor eax, eax
jmp 0x401a73
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [eax - 4]
add ecx, ebx
push esi
mov dword [ebp + 0xc], ecx
lea esi, [edi + ebx]
jmp 0x401971
mov al, byte [esi]
and al, 0xfe
cmp al, 0xe8
je 0x401975
inc esi
cmp esi, ecx
jb 0x401968
mov ecx, esi
sub ecx, edi
mov edi, esi
sub ecx, ebx
sub edi, ebx
cmp esi, dword [ebp + 0xc]
jae 0x401a60
cmp ecx, 2
jbe 0x4019cb
xor edx, edx
movzx ebx, byte [esi + 4]
lea eax, [ebx + 1]
test al, 0xfe
jne 0x401a51
movzx eax, byte [esi + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [esi + 1]
shl ebx, 8
or ebx, eax
mov eax, dword [ebp + 0x10]
add eax, 5
add eax, edi
cmp dword [ebp + 0x18], 0
je 0x4019f7
add ebx, eax
jmp 0x4019f9
shr edx, cl
test edx, edx
je 0x40198f
cmp edx, 4
ja 0x4019e9
cmp edx, 3
je 0x4019e9
mov eax, edx
shr eax, 1
movzx eax, byte [eax + esi + 1]
inc eax
test al, 0xfe
jne 0x40198f
or edx, 8
shr edx, 1
inc edi
mov ecx, dword [ebp + 0xc]
jmp 0x401963
sub ebx, eax
test edx, edx
je 0x401a2e
and edx, 6
mov eax, ebx
shl edx, 2
mov ecx, edx
shr eax, cl
inc eax
test al, 0xfe
jne 0x401a2c
mov eax, 0x100
shl eax, cl
dec eax
xor ebx, eax
mov eax, dword [ebp + 0x10]
add eax, 5
add eax, edi
cmp dword [ebp + 0x18], 0
je 0x401a2a
add ebx, eax
jmp 0x401a2c
sub ebx, eax
xor edx, edx
mov eax, ebx
mov byte [esi + 1], bl
shr eax, 8
mov byte [esi + 2], al
mov eax, ebx
shr ebx, 0x18
shr eax, 0x10
and bl, 1
neg bl
mov byte [esi + 3], al
push 5
mov byte [esi + 4], bl
pop eax
jmp 0x401a59
or edx, 8
xor eax, eax
shr edx, 1
inc eax
mov ebx, dword [ebp + 8]
add edi, eax
jmp 0x4019ef
xor eax, eax
shr edx, cl
cmp ecx, 2
pop esi
cmova edx, eax
mov eax, dword [ebp + 0x14]
pop ebx
mov dword [eax], edx
mov eax, edi
pop edi
pop ebp
ret 0x14
Function at 0x402035
Capabilities:
Check os version
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x368
mov eax, dword [0x470074]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x368]
mov dword [ebp - 0x368], 0x94
push eax
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
test eax, eax
je 0x402075
cmp dword [ebp - 0x364], 6
jne 0x402075
cmp dword [ebp - 0x360], 0
je 0x40209f
push str.SetDefaultDllDirectories
push 0x45f470
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x40209f
push 0xc00
call eax
test eax, eax
jne 0x402139
push 0x106
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.DLL_GetSystemDirectoryW]
test eax, eax
je 0x402139
cmp eax, 0x104
ja 0x402139
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrlenW]
push 0x5c
pop ecx
cmp word [ebp + eax*2 - 0x2d6], cx
je 0x4020e3
mov word [ebp + eax*2 - 0x2d4], cx
inc eax
cmp byte [str.UXTHEME], 0
push esi
mov esi, str.UXTHEME
je 0x402138
push edi
lea edi, [ebp - 0x2d4]
lea edi, [edi + eax*2]
mov edx, edi
mov cl, byte [esi]
inc esi
movsx ax, cl
mov word [edx], ax
lea edx, [edx + 2]
test cl, cl
jne 0x4020fe
push str..dll
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcatW]
push 8
push 0
lea eax, [ebp - 0x2d4]
push eax
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
cmp byte [esi], 0
jne 0x4020fc
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041fd1f
mov esp, ebp
pop ebp
ret
Function at 0x404b57
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push eax
push eax
call fcn.0042dd1e
mov ecx, dword [ebp + 8]
add esp, 0x18
push eax
mov dword [ecx], eax
call fcn.00404ab8
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4099e8
Capabilities:
Create directory

Disassembly:
push 0x44
mov eax, 0x45c8c1
call fcn.0041ff5f
cmp byte [0x4716e8], 0
mov edi, dword [ebp + 8]
jne 0x409a28
push edi
lea eax, [ebp - 0x18]
push eax
call fcn.00406f94
xor ebx, ebx
push ebx
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push dword [ebp - 0x18]
mov esi, eax
call fcn.0041ff15
pop ecx
test esi, esi
je 0x409a36
mov al, 1
jmp 0x409a7b
xor ebx, ebx
push ebx
push edi
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jmp 0x409a22
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0xb7
je 0x409a47
xor al, al
jmp 0x409a7b
lea ecx, [ebp - 0x50]
call fcn.0040a588
lea ecx, [ebp - 0x28]
call fcn.004058b4
push edi
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], ebx
call fcn.0040a7ba
test al, al
je 0x409a70
mov ebx, dword [ebp - 0x30]
shr ebx, 4
and bl, 1
push dword [ebp - 0x28]
call fcn.0041ff15
pop ecx
mov al, bl
call fcn.0041ff28
ret 4

Function at 0x409a83
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4716e8], 0
jne 0x409abd
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406f94
push 0
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041ff15
pop ecx
test esi, esi
pop esi
je 0x409acc
mov al, 1
jmp 0x409ace
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateDirectoryW]
test eax, eax
jmp 0x409ab7
xor al, al
mov esp, ebp
pop ebp
ret 4

Function at 0x409cbe
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.0040ade3
cmp eax, 0xffffffff
je 0x409ceb
mov ecx, eax
and cl, 0x11
cmp cl, 1
jne 0x409ceb
and eax, 0xfffffffe
push eax
push esi
call fcn.0040a494
test al, al
je 0x409d23
cmp byte [0x4716e8], 0
push esi
jne 0x409d19
lea eax, [ebp - 0xc]
push eax
call fcn.00406f94
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_DeleteFileA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041ff15
pop ecx
test esi, esi
je 0x409d23
mov al, 1
jmp 0x409d25
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jmp 0x409d13
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x40a213
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4716e8], 0
jne 0x40a24b
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406f94
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041ff15
pop ecx
test esi, esi
pop esi
je 0x40a258
mov al, 1
jmp 0x40a25a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_RemoveDirectoryW]
test eax, eax
jmp 0x40a245
xor al, al
mov esp, ebp
pop ebp
ret 4
Function at 0x40a3e8
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4716e8], 0
jne 0x40a41f
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406f94
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041ff15
test esi, esi
pop ecx
setne al
pop esi
jmp 0x40a42e
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret 4

Function at 0x40a494
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4716e8], 0
jne 0x40a4cf
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406f94
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041ff15
pop ecx
test esi, esi
pop esi
je 0x40a4df
mov al, 1
jmp 0x40a4e1
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
jmp 0x40a4c9
xor al, al
mov esp, ebp
pop ebp
ret 8

Function at 0x40ade3
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp byte [0x4716e8], 0
jne 0x40ae17
push esi
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00406f94
push dword [eax]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
push dword [ebp - 0xc]
mov esi, eax
call fcn.0041ff15
pop ecx
mov eax, esi
pop esi
jmp 0x40ae2a
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, eax
mov eax, ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b1e0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.DLL_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x40b206
call dword [sym.imp.KERNEL32.DLL_GetLastError]
test eax, eax
je 0x40b206
xor al, al
jmp 0x40b21a
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x418f90
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45d9ab
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x470074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push section..data
lea eax, [esi + 0x30]
mov dword [esi], vtable.NCompress::NLzma::CDecoder.0
push eax
mov dword [esi + 4], vtable.NCompress::NLzma::CDecoder.1.0
mov dword [esi + 8], vtable.NCompress::NLzma::CDecoder.2.0
mov dword [esi + 0xc], vtable.NCompress::NLzma::CDecoder.3.0
mov dword [esi + 0x10], vtable.NCompress::NLzma::CDecoder.4.0
mov dword [esi + 0x14], vtable.NCompress::NLzma::CDecoder.5.0
mov dword [esi + 0x18], vtable.NCompress::NLzma::CDecoder.6.0
call fcn.00404240
push dword [esi + 0x24]
call fcn.004013ba
and dword [ebp - 4], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x41900c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41cfbe
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x470074]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push 0x67
push dword [ebx + 4]
call edi
push dword [ebx + 0xc]
mov dword [ebx + 8], eax
push dword [ebx + 4]
call fcn.0040d3f4
mov esi, dword [ebx + 0x18]
push 0x64
push dword [ebx + 4]
call edi
push esi
push eax
call fcn.0040d3f4
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
push 0x64
call fcn.00409010
push 0x400
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x18]
push 0x64
push dword [ebx + 4]
call edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawTextW]
test eax, eax
je 0x41d088
mov ecx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x10]
sub ecx, edx
sub eax, dword [ebp - 0x20]
cmp eax, ecx
jle 0x41d088
mov esi, edx
mov ecx, ebx
sub esi, dword [ebp - 8]
sub esi, dword [ebp - 0x20]
add esi, dword [ebp - 0x18]
push 0
mov eax, esi
sub eax, edx
add eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
push eax
push edx
push dword [ebp - 0x14]
push 0x64
call fcn.004091a9
push esi
sub esp, 0x10
lea esi, [ebp - 0x14]
mov edi, esp
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041ce63
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebx + 0x28], 0
je 0x41d0a1
mov esi, dword [ebx + 0x24]
push 0x65
push dword [ebx + 4]
call edi
push esi
push eax
call fcn.0040d3f4
jmp 0x41d0de
lea eax, [ebp - 0x34]
mov ecx, ebx
push eax
push 0x65
call fcn.00409010
mov eax, dword [ebp - 0x30]
lea esi, [ebp - 0x34]
sub eax, dword [ebp - 0x28]
mov ecx, ebx
push eax
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.0041ce63
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x65
push dword [ebx + 4]
call edi
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x66
push dword [ebx + 4]
call edi
push dword [ebx + 0x30]
push eax
call fcn.0040d3f4
push dword [ebx + 0x3c]
push dword [ebx + 8]
call fcn.0040d3f4
push 1
mov ecx, ebx
call fcn.0040923c
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041fd1f
mov esp, ebp
pop ebp
ret

Function at 0x41e028
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e4b1
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x470074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0041cbf2
lea ecx, [esi + 0x30]
call fcn.0041a99b
push dword [esi + 0x24]
call fcn.0041ff15
pop ecx
lea ecx, [esi + 0xc]
call fcn.00404c32
mov ecx, esi
call fcn.0041dfee
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41e706
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x45e5cf
call fcn.0041ff5f
mov esi, ecx
push 0
push dword [ebp + 0xc]
lea ecx, [esi + 0x68]
push dword [ebp + 8]
call fcn.0041e285
push 0xce4
lea eax, [ebp - 0x18]
push eax
call fcn.0041cd45
push dword [eax]
and dword [ebp - 4], 0
push dword [esi + 0x6c]
call fcn.0040d3f4
push dword [ebp - 0x18]
call fcn.0041ff15
pop ecx
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
call fcn.0041ff28
ret 8
Function at 0x427979
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x460c6c
push str.FlsAlloc
push 0
call fcn.00427827
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4279ab
push dword [ebp + 8]
mov ecx, esi
call fcn.00420769
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.DLL_TlsAlloc]

Function at 0x4279ed
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x460c90
push str.FlsGetValue
push 2
call fcn.00427827
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x427a1e
mov ecx, esi
call fcn.00420769
call esi
jmp 0x427a24
call dword [sym.imp.KERNEL32.DLL_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x427a27
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x460ca4
push str.FlsSetValue
push 3
call fcn.00427827
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x427a5b
mov ecx, esi
call fcn.00420769
call esi
jmp 0x427a61
call dword [sym.imp.KERNEL32.DLL_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x4474a7
Capabilities:
Create thread
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0044722e

Function at 0x44973b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00448f15

Function at 0x449746
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00449150
Function at 0x20001057
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push edi
nop
nop
mov edi, edi
nop
mov eax, eax
nop
mov ecx, ecx
mov edi, edi
mov edi, edi
and dword [ebp - 4], 0
push 0x20005010
mov dword [ebp - 0x1c], 0x623f7325
mov dword [ebp - 0x18], 0x2673253d
mov dword [ebp - 0x14], 0x73253d63
mov dword [ebp - 0x10], 0x253d6526
mov dword [ebp - 0xc], 0x6b712673
mov dword [ebp - 8], 0x313d
call fcn.20003307
push eax
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 0xc
lea eax, [ebp - 0x21c]
test eax, eax
pop edi
je 0x20001126
lea eax, [ebp - 0x21c]
push eax
call sub.MSVCRT.dll_strlen
test eax, eax
pop ecx
jbe 0x20001126
push 0x200051e4
push 0x20005098
lea eax, [ebp - 0x21c]
push 0x2000506c
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
lea eax, [ebp - 0x21c]
push eax
call fcn.20002b1e
add esp, 0x1c
test eax, eax
je 0x20001126
cmp byte [eax], 0x31
push eax
jne 0x2000111f
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
push 1
pop eax
leave
ret
call dword [sym.imp.MSVCRT.dll_free]
pop ecx
xor eax, eax
leave
ret