joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4681cb
Capabilities:
Inspect section memory permissions

Disassembly:
mov esi, dword [ebp - 0x88]
mov ax, word [ebp - 8]
cmp ax, word [esi + 6]
jne 0x468144
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov esi, 0x60000000
jmp 0x46816c
call fcn.00467a61
retf 0x9d6f
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp + 8], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp + 8]
ja 0x4681c2
mov edx, esi
mov edi, esi
and edx, 0x20000000
and edi, 0x40000000
and esi, 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4681ab
or byte [eax + ecx], 1
cmp edi, ebx
je 0x4681b3
or byte [eax + ecx], 2
cmp esi, ebx
je 0x4681bc
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp + 8]
jbe 0x4681a0
inc dword [ebp - 8]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp - 8]
cmp cx, word [eax + 6]
jbe 0x468125
mov esi, dword [ebp + 0xc]
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x46820f
dec eax
je 0x468206
sub eax, 3
je 0x4681fd
mov dword [ebp - 4], 0x40
jmp 0x468212
mov dword [ebp - 4], 4
jmp 0x468212
mov dword [ebp - 4], 0x20
jmp 0x468212
mov dword [ebp - 4], ecx
call fcn.00467a61
out dx, al
jp 0x46824d
rol byte [ebx + 0x7440fc7d], 1
sbb byte [ebp - 0xaf03bb], cl
jne 0x468224
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push esi
call dword [ebp - 0xc4]
test eax, eax
je 0x46826c
add esi, dword [ebp - 0xac]
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x4681de
mov eax, dword [ebp - 0x88]
mov esi, dword [eax + 0x28]
add esi, dword [ebp + 0xc]
call fcn.00467a61
aam 0x50
sub eax, dword [esi - 1]
jne 0x468274
dec dword [ebx + 0x75032870]
or al, 0xe8
or al, bh
invalid
push 1
push dword [ebp + 0xc]
call esi
mov eax, dword [ebp + 0xc]
jmp 0x46827a
push 0x8000
push ebx
push dword [ebp + 0xc]
call dword [ebp - 0xc]
xor eax, eax
or al, 0xff
push ebp
hlt
pop edi
pop esi
pop ebx
leave
ret

Function at 0x46b215
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push esi
mov esi, ecx
push edi
xor edi, edi
mov ecx, edi
cmp dword [esi + 4], edi
jbe 0x46b23a
mov edx, edi
mov eax, dword [esi + 8]
lea edx, [edx + 0x5c]
inc ecx
mov dword [eax + edx - 0x48], edi
mov dword [eax + edx - 0x54], edi
cmp ecx, dword [esi + 4]
jb 0x46b226
push dword [esi + 8]
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ecx, dword [esi + 0xc]
mov dword [esi + 8], edi
test ecx, ecx
je 0x46b25e
push 1
call fcn.0046b215
push esi
push edi
mov dword [esi + 0xc], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x46d385
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x46d3cf
mov dword [edi + 4], eax
mov dword [edi], 3
xor eax, eax
jmp 0x46d499
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x47d838]
mov ecx, dword [ebp - 4]
jmp 0x46d484
cmp ecx, 0x61
jb 0x46d3ec
cmp ecx, 0x7a
jbe 0x46d46a
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x46d46a
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x46d46a
cmp ecx, 0x2f
ja 0x46d432
cmp ecx, 0x28
jae 0x46d470
cmp ecx, 0xa
je 0x46d470
cmp ecx, 0xd
je 0x46d470
cmp ecx, 0x1f
jbe 0x46d450
cmp ecx, 0x21
jbe 0x46d470
cmp ecx, 0x22
jbe 0x46d450
cmp ecx, 0x25
jbe 0x46d470
cmp ecx, 0x27
jne 0x46d450
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x46d46c
cmp ecx, 0x3a
jb 0x46d450
cmp ecx, 0x3b
jbe 0x46d470
cmp ecx, 0x3d
je 0x46d470
cmp ecx, 0x3e
jbe 0x46d450
cmp ecx, 0x40
jbe 0x46d470
cmp ecx, 0x5f
je 0x46d470
mov eax, dword [ebp - 4]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
jmp 0x46d3c8
mov al, 1
test al, al
je 0x46d450
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 8]
mov dword [ebp - 4], edx
call dword [0x47d838]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call esi
mov ecx, eax
mov dword [ebp - 0x10], edx
cmp ecx, 0xffffffff
jne 0x46d3e2
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x47218a
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, edx
push edi
mov edi, ebx
shr edi, 2
lea edx, [ecx + edi*4]
neg edi
je 0x4721c6
imul eax, dword [edx + edi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, esi
rol eax, 0xd
imul esi, eax, 5
sub esi, 0x19ab949c
add edi, 1
jne 0x4721a3
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x4721ec
sub eax, 1
je 0x4721e3
sub eax, 1
jne 0x472202
movzx ecx, byte [edx + 2]
shl ecx, 0x10
movzx eax, byte [edx + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edx]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor esi, eax
xor esi, ebx
mov eax, esi
shr eax, 0x10
xor eax, esi
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret 4

Function at 0x472f54
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x478ac0
call fcn.00473208
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x472fb4
cmp eax, 0xffffffff
je 0x472fb4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x472fad
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x472fad
cmp edx, 0x10000000
jae 0x472fad
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x472faa
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x473010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x47304e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x473046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x473050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x473036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x473120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x473151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x473151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x473151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4039c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
jmp loc.0055cac0

Function at 0x406d47
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x406d6b
cmp dword [edi + 0x54], 0
jne 0x406d6b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040d2b7
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00406d08
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40846e
Capabilities:
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
call fcn.0040d2ea
mov esi, eax
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x408499
mov eax, dword [eax + 0x20]
test eax, eax
je 0x408499
push 0
push 0
jmp loc.00552e80
cmp dword [ebp + 8], 0
mov esi, dword [esi + 0x50]
je 0x4084bf
test esi, esi
je 0x4084bf
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x4084bf
mov eax, dword [esi]
push 0xffffffffffffffff
mov ecx, esi
call dword [eax + 0x178]
pop esi
pop ebp
ret 4

Function at 0x40c571
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40c5b8
call fcn.0040d2b7
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x40c5b8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40c5d4
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040c0e9
mov esi, eax
test edi, edi
je 0x40c5d2
test ebx, ebx
je 0x40c5d2
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x414810
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x466cc0]
jne 0x41481a
repz ret
jmp fcn.00419b32

Function at 0x41d2d0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
je 0x41d2e6
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
jmp loc.005518a0
Function at 0x420040
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00419496
and dword [ebp - 4], 0
cmp dword [0x46ae40], 0
mov ebx, eax
jne 0x4200f1
push 0x4549f4
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4201a2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4549e8
push edi
call esi
test eax, eax
je 0x4201a2
push eax
call fcn.00419424
mov dword [esp], 0x4549d8
push edi
mov dword [0x46ae40], eax
call esi
push eax
call fcn.00419424
mov dword [esp], 0x4549c4
push edi
mov dword [0x46ae44], eax
call esi
push eax
call fcn.00419424
mov dword [esp], 0x4549a8
push edi
mov dword [0x46ae48], eax
call esi
push eax
call fcn.00419424
pop ecx
mov dword [0x46ae50], eax
test eax, eax
je 0x4200f1
push 0x454990
push edi
call esi
push eax
call fcn.00419424
pop ecx
mov dword [0x46ae4c], eax
mov eax, dword [0x46ae4c]
cmp eax, ebx
je 0x420149
cmp dword [0x46ae50], ebx
je 0x420149
push eax
call fcn.0041949f
push dword [0x46ae50]
mov esi, eax
call fcn.0041949f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x420149
test edi, edi
je 0x420149
call esi
test eax, eax
je 0x420140
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x420140
test byte [ebp - 0xc], 1
jne 0x420149
or dword [ebp + 0x10], 0x200000
jmp 0x420182
mov eax, dword [0x46ae44]
cmp eax, ebx
je 0x420182
push eax
call fcn.0041949f
pop ecx
test eax, eax
je 0x420182
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x420182
mov eax, dword [0x46ae48]
cmp eax, ebx
je 0x420182
push eax
call fcn.0041949f
pop ecx
test eax, eax
je 0x420182
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ae40]
call fcn.0041949f
pop ecx
test eax, eax
je 0x4201a2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4201a4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4267c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], str.WaitForSingleObjectAndPostMessage
mov eax, dword [ebp - 8]
push eax
push 0x456a0c
call fcn.0044c950
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.hObj
call fcn.0044cb40
add esp, 8
mov edx, dword [ebp + 0xc]
push edx
push str.hWnd
call fcn.0044cb40
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
je 0x426894
cmp dword [ebp - 0xc], 0
jne 0x42688a
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 4]
cmp eax, 0x7d0
jbe 0x426858
mov ecx, dword [ebp - 0x10]
push ecx
push str.Status
call fcn.0044cbd0
add esp, 8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0x102
jne 0x426881
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x426888
mov dword [ebp - 0xc], 1
jmp 0x426819
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
push str.CPrintUIFunc
call fcn.0044ce80
add esp, 0xc
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4268b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
mov dword [ebp - 8], str.PrintUIEntry
mov eax, dword [ebp - 8]
push eax
push 0x456894
call fcn.0044c950
add esp, 8
mov ecx, dword [ebp + 8]
push ecx
push str.Command
call fcn.0044c810
add esp, 8
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x38]
cmp dword [edx + 8], 0
je 0x426a39
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
push ecx
push str.pfnPrintUIEntryW
call fcn.0044cb40
add esp, 8
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0x10]
push edx
push 0x7fffffff
mov eax, dword [ebp + 8]
push eax
call fcn.00401a60
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x4269b0
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x10]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004056cd
add esp, 4
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4269b0
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp - 0xc]
push edx
call fcn.00414d80
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.004018f0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 4], 0
je 0x426a39
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
push 0x426750
push 0
push 0
call fcn.00417218
add esp, 0x18
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
push edx
push str.PrintUIEntryThread
call fcn.0044cb40
add esp, 8
cmp dword [ebp - 0x2c], 0
je 0x426a27
push 0
push 0
push 0
call fcn.004018b0
mov ecx, dword [eax + 0x20]
call fcn.004023a0
push eax
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004267c0
mov ecx, dword [ebp - 0x2c]
push ecx
push str.WaitingObject
call fcn.0044cb40
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x34]
push eax
call fcn.004056d8
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 0x456928
call fcn.0044ce80
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x427280
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jge fcn.0042729c
mov ecx, dword [ebp - 4]
jmp loc.00550770

Function at 0x4283e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
jmp loc.0055f428
Function at 0x4288a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44e825
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x466cc0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
call fcn.00401210
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 2
push 0x457904
push 0x457920
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401280
push eax
lea ecx, [ebp - 0x10]
push ecx
push 2
push str.PrintQueue
push str.SOFTWAREEpsonNetEpsonNet_Easy_Network_Setup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHRegGetValueW]
mov dword [ebp - 0x1c], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00404ac0
cmp dword [ebp - 0x1c], 0
jne 0x42896f
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401270
push eax
call fcn.004287e0
add esp, 0xc
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00401230
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x42a4f0
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov dword [ebp - 0x4c], str.ChangePortConnectionForPreviousModel
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x45726c
call fcn.0044c9e0
add esp, 0xc
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x40], 0
push 0x38
push 0
lea edx, [ebp - 0x3c]
push edx
call fcn.00414d80
add esp, 0xc
mov dword [ebp - 4], 0x26
mov dword [ebp - 0x48], 0
push 0x7fffffff
push 0x4572e0
call fcn.00428520
add esp, 8
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
ja 0x42a580
push str.StringLength_worked_with_unexpectly__
mov eax, dword [ebp - 0x4c]
push eax
push 0x45737c
call fcn.0044c8b0
add esp, 0xc
mov eax, 2
jmp 0x42a783
mov ecx, dword [ebp - 0x48]
add ecx, 0x104
mov dword [ebp - 0x48], ecx
xor ecx, ecx
mov eax, dword [ebp - 0x48]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004056cd
add esp, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jne 0x42a5d7
push str.Insufficient_local_heap__
mov ecx, dword [ebp - 0x4c]
push ecx
push 0x4573d4
call fcn.0044c8b0
add esp, 0xc
mov eax, 0x7a
jmp 0x42a783
mov edx, dword [ebp - 0x48]
shl edx, 1
push edx
push 0
jmp 0x55ef78
mov esp, ebp
pop ebp
ret
Function at 0x42b900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x466cc0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x230], ecx
mov dword [ebp - 0x11c], 0
cmp dword [ebp + 0x14], 0
ja 0x42b93d
cmp dword [ebp + 0x10], 0x8000
ja 0x42b93d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x234], eax
jmp 0x42b947
mov dword [ebp - 0x234], 0x8000
mov ecx, dword [ebp - 0x234]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x42b989
lea eax, [ebp - 0x228]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x110], 0x100
jmp 0x42b995
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x128], ecx
mov edx, dword [ebp - 0x110]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42b9c5
lea eax, [ebp - 0x108]
mov dword [ebp - 0x10c], eax
mov dword [ebp - 0x110], 0x100
jmp 0x42b9ce
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10c], ecx
push 0
lea edx, [ebp - 0x118]
push edx
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x128]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x120], eax
push 0
lea eax, [ebp - 0x124]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
mov edx, dword [ebp - 0x10c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x120], 0
je 0x42ba2e
cmp dword [ebp - 0x118], 0
jne 0x42ba6c
cmp dword [ebp - 0x22c], 0
je 0x42ba4c
cmp dword [ebp - 0x124], 0
je 0x42ba4c
mov dword [ebp - 0x238], 1
jmp 0x42ba56
mov dword [ebp - 0x238], 0
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x11c], ecx
jmp 0x42bb0c
cmp dword [ebp - 0x22c], 0
je 0x42ba83
mov edx, dword [ebp - 0x118]
cmp edx, dword [ebp - 0x124]
je 0x42ba8f
mov dword [ebp - 0x11c], 1
jmp 0x42baef
mov eax, dword [ebp - 0x118]
push eax
mov ecx, dword [ebp - 0x10c]
push ecx
mov edx, dword [ebp - 0x128]
push edx
call fcn.004158cc
add esp, 0xc
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x118]
cmp eax, dword [ebp + 0x10]
jbe 0x42bae3
cmp dword [ebp + 0x14], 0
jbe 0x42bada
mov ecx, dword [ebp + 0x14]
sub ecx, 1
mov dword [ebp + 0x14], ecx
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x118]
mov dword [ebp + 0x10], edx
jmp 0x42bae1
mov dword [ebp + 0x10], 0
jmp 0x42baef
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x118]
mov dword [ebp + 0x10], eax
cmp dword [ebp - 0x11c], 0
jne 0x42bb0c
cmp dword [ebp + 0x14], 0
ja 0x42b9ce
cmp dword [ebp + 0x10], 0
ja 0x42b9ce
cmp dword [ebp - 4], 0
je 0x42bb1c
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x114], 0
je 0x42bb32
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00414810
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42bd60
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x466cc0]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x26c], ecx
mov dword [ebp - 8], 2
push str.prn.inf
mov eax, dword [ebp - 0x26c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x18]
call eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x42be8c
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
je 0x42be7d
mov dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x260]
and eax, 0x10
jne 0x42be41
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x26c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x26c]
mov edx, dword [eax + 0x18]
call edx
mov dword [ebp - 0x268], eax
cmp dword [ebp - 0x268], 0
je 0x42be41
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x268]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x26c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x26c]
mov eax, dword [edx + 0x38]
call eax
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x268]
push ecx
mov ecx, dword [ebp - 0x26c]
call fcn.0042bbd0
cmp dword [ebp - 0x264], 0
jne 0x42be63
lea edx, [ebp - 0x260]
push edx
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x42bdcd
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x5526b0
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [ebp - 0x26c]
call fcn.0042bbd0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414810
mov esp, ebp
pop ebp
ret 0x10