joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439500
Capabilities:
Enumerate gui resources

Disassembly:
sub esp, 8
push edi
push str.TernimateDeviceopOrScanop
push str.CPanelAction
call fcn.00420ef0
add esp, 8
push str.sendvalue.installer.epson.co.jp
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push eax
push str.RegisterWindowMessage
call fcn.004215e0
add esp, 8
lea eax, [esp + 8]
push eax
push 0x439570
mov dword [esp + 0x10], 0
call dword [sym.imp.USER32.dll_EnumWindows]
mov ecx, dword [esp + 8]
push ecx
mov edi, str.TernimateDeviceopOrScanop
mov ecx, str.CPanelAction
call fcn.004213e0
mov eax, dword [esp + 0xc]
add esp, 4
pop edi
add esp, 8
ret

Function at 0x439b40
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x234
mov eax, dword [0x4a4a28]
xor eax, esp
mov dword [esp + 0x230], eax
push esi
push 0
push 2
mov dword [esp + 0xc], 0
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x439bac
lea eax, [esp + 8]
push eax
push esi
mov dword [esp + 0x10], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x439ba5
lea ecx, [esp + 4]
push ecx
push ebx
lea edx, [esp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x439ba5
lea eax, [esp + 8]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x439b84
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x234]
mov eax, dword [esp + 4]
pop esi
xor ecx, esp
call fcn.00467769
add esp, 0x234
ret
Function at 0x43a5e0
Capabilities:
Query or enumerate registry key

Disassembly:
push ecx
push ebp
mov ebp, dword [esp + 0xc]
xor ecx, ecx
push esi
mov eax, 0x208
mov edx, 2
xor esi, esi
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
add esp, 4
push esi
push esi
push esi
push esi
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push ebx
mov dword [esp + 0x2c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
cmp eax, 0x103
je 0x43a6a3
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
test esi, esi
jne 0x43a68c
test edi, edi
je 0x43a645
push edi
call fcn.00442886
add esp, 4
xor ecx, ecx
mov eax, 0x410
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
add esp, 4
push 0
push 0
push 0
push 0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push ebx
mov dword [esp + 0x2c], 0x410
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
je 0x43a6a3
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
mov dword [ecx], edi
pop edi
mov dword [eax], edx
mov eax, esi
pop esi
pop ebp
pop ecx
ret
test edi, edi
je 0x43a6b0
push edi
call fcn.00442886
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ecx
ret
Function at 0x43abd0
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 4], 0
mov dword [esp], ecx
jne 0x43abe3
mov eax, 6
pop ecx
ret 0x1c
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x18]
push 0
push 0
push ebx
push ebp
push edi
call dword [sym.imp.SETUPAPI.dll_SetupInitDefaultQueueCallbackEx]
push 0x30
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0
call fcn.0044285b
push 0x30
mov esi, eax
push 0
push esi
call fcn.004692d0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esi + 8], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0x14], ebx
xor ebx, ebx
add esp, 0x10
test al, 4
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], ebp
mov dword [esi + 0x18], 0x43b290
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], ebx
je 0x43acd1
mov ebp, dword [esp + 0x30]
cmp ebp, ebx
je 0x43ac7a
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
xor ecx, ecx
cmp eax, ebx
je 0x43ac71
mov ecx, eax
mov dword [edx + 4], ebx
mov dword [esi + 4], 1
jmp 0x43ac81
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x18]
push edx
push ebx
push esi
push 0x43ad20
push ebx
push ebx
mov dword [esi], ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
cmp edi, ebx
je 0x43acc9
cmp ebp, ebx
je 0x43acb4
mov eax, dword [esp + 0x20]
mov dword [ebp], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
push 0xffffffffffffffff
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x2c]
jmp 0x43acfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x43acfb
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 4]
push esi
push 0x43b290
push eax
push edi
call dword [sym.imp.SETUPAPI.dll_SetupCommitFileQueueW]
test eax, eax
jne 0x43acff
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x43acff
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x1c]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupTermDefaultQueueCallback]
push esi
call fcn.00442886
mov eax, dword [esp + 0x24]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x1c
Function at 0x43b0f0
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x270
mov eax, dword [0x4a4a28]
xor eax, esp
mov dword [esp + 0x26c], eax
mov eax, dword [esp + 0x27c]
push ebx
push ebp
mov ebp, dword [esp + 0x27c]
cmp dword [ebp + 4], 0
push esi
mov esi, dword [esp + 0x284]
push edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], 0
jne 0x43b13e
xor eax, eax
jmp 0x43b266
lea eax, [esp + 0x28]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x43b262
mov eax, esi
call fcn.00439bd0
mov ebx, eax
add ebx, 1
xor ecx, ecx
mov eax, ebx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
add esp, 4
cmp ebx, 0x7fffffff
mov edi, eax
ja 0x43b193
mov eax, esi
mov edx, ebx
mov ecx, edi
call fcn.00402c70
call fcn.00425390
jmp 0x43b1a0
mov eax, dword [esp + 0x28]
shr eax, 4
not eax
test al, 1
je 0x43b236
lea eax, [esp + 0x54]
call fcn.00439bd0
lea esi, [eax + ebx + 1]
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0044288b
add esp, 4
cmp ebx, 0x7fffffff
mov esi, eax
ja 0x43b1ee
mov eax, edi
mov edx, ebx
mov ecx, esi
call fcn.00402c70
lea eax, [esp + 0x54]
push eax
mov eax, esi
call fcn.004254d0
mov eax, dword [esp + 0x298]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebp]
mov edx, dword [edx + 4]
add esp, 4
push eax
mov eax, dword [esp + 0x294]
push 0
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push ecx
push eax
push esi
mov ecx, ebp
call edx
add dword [esp + 0x14], eax
push esi
call fcn.00442886
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x43b1a0
push edi
call fcn.00442886
mov edx, dword [esp + 0x1c]
add esp, 4
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x27c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00467769
add esp, 0x270
ret 0x14

Function at 0x43b370
Capabilities:
Get disk size

Disassembly:
sub esp, 0x220
mov eax, dword [0x4a4a28]
xor eax, esp
mov dword [esp + 0x21c], eax
mov eax, dword [esp + 0x224]
cmp word [eax + 2], 0x3a
mov ecx, eax
jne 0x43b3b5
cmp word [eax + 4], 0x5c
jne 0x43b3b5
mov ecx, dword [eax]
mov dx, word [eax + 4]
mov dword [esp + 0x10], ecx
mov word [esp + 0x14], dx
mov word [esp + 0x16], 0
lea ecx, [esp + 0x10]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0xc]
push eax
lea edx, [esp + 0xc]
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x43b403
test esi, esi
je 0x43b403
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov dword [esi], ecx
mov ecx, dword [esp + 8]
mov dword [esi + 4], edx
mov edx, dword [esp + 0xc]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.00467769
add esp, 0x220
ret
Function at 0x43b820
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
test eax, eax
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], vtable.CRemainingTime.0
je 0x43b846
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x1c]
push eax
call edi
mov eax, dword [esi + 0x20]
test eax, eax
je 0x43b850
push eax
call edi
mov eax, dword [esi + 0x24]
test eax, eax
je 0x43b85a
push eax
call edi
lea ecx, [esi + 8]
call fcn.00448a62
test byte [esp + 0xc], 1
je 0x43b872
push esi
call fcn.00442886
add esp, 4
pop edi
mov eax, esi
pop esi
ret 4
Function at 0x43cfb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47ef90
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebp
push esi
mov eax, dword [0x4a4a28]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
xor esi, esi
call fcn.00422ac0
mov dword [esp + 0x38], esi
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 4]
push esi
push esi
push ecx
lea ecx, [esp + 0x18]
call eax
test eax, eax
je 0x43d154
call fcn.00442c05
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x43d01b
push 0x80004005
call fcn.00402720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x40], eax
mov byte [esp + 0x38], 1
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x14]
push str.Class
push str.Version
lea ecx, [esp + 0x14]
call eax
test eax, eax
je 0x43d09c
lea ecx, [esp + 0x40]
push ecx
push 1
lea ecx, [esp + 0x14]
call fcn.00423ca0
test eax, eax
je 0x43d09c
mov ebp, dword [esp + 0x40]
push str.Printer
push ebp
mov esi, 1
call fcn.0046765d
add esp, 8
test eax, eax
jne 0x43d07e
mov dword [edi], esi
jmp 0x43d0df
push str.Image
push ebp
call fcn.0046765d
add esp, 8
test eax, eax
jne 0x43d098
mov dword [edi], 2
jmp 0x43d0df
xor esi, esi
jmp 0x43d116
mov edx, dword [esp + 0xc]
mov eax, dword [edx + 0x14]
push str.PackageType
push str.Version
lea ecx, [esp + 0x14]
call eax
test eax, eax
je 0x43d116
lea ecx, [esp + 0x40]
push ecx
push 1
lea ecx, [esp + 0x14]
call fcn.00423ca0
test eax, eax
je 0x43d116
mov edx, dword [esp + 0x40]
push edx
call fcn.004256a0
add esp, 4
mov dword [edi], eax
mov esi, 1
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 0x14]
push str.DriverVer
push str.Version
lea ecx, [esp + 0x14]
call edx
test eax, eax
je 0x43d116
mov eax, dword [edi + 8]
push 0
push 0x104
push eax
mov eax, dword [esp + 0x18]
mov edx, dword [eax + 0x70]
push 2
lea ecx, [esp + 0x1c]
call edx
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43d12f
push eax
call fcn.00442886
add esp, 4
mov dword [esp + 0x10], 0
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43d154
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x38], 0xffffffff
call fcn.00424490
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
add esp, 0x30
ret 4
Function at 0x43d7c0
Capabilities:
Create directory
Delete file
Move file

Disassembly:
mov eax, dword [esi + 0x44]
sub esp, 0x20
test eax, eax
je 0x43d87f
mov eax, dword [eax + 4]
test eax, eax
je 0x43d87f
push eax
call fcn.004280b0
add esp, 4
test eax, eax
je 0x43d870
xor eax, eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x10], eax
mov dword [esp], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov word [esp + 0x1c], ax
mov eax, dword [esi + 0x44]
mov dword [esp + 4], 3
mov ecx, dword [eax + 4]
lea edx, [esp]
push edx
mov dword [esp + 0xc], ecx
mov word [esp + 0x14], 0x14
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
push esi
push 0x43d890
mov dword [esi + 0x48], eax
call fcn.0044abf8
test eax, eax
je 0x43d866
mov eax, dword [esi + 0x48]
push 0x7530
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esi + 0x48]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esi + 0x44]
mov eax, dword [edx + 4]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0x20
ret
Function at 0x440020
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
mov esi, edi
shr esi, 2
test esi, esi
jle 0x440063
movzx eax, byte [ecx]
xor edx, edx
mov dh, byte [ecx + 1]
add ecx, 1
add ecx, 1
add ecx, 1
sub esi, 1
add ecx, 1
or eax, edx
movzx edx, byte [ecx - 2]
shl edx, 0x10
or eax, edx
movzx edx, byte [ecx - 1]
shl edx, 0x18
or eax, edx
xor ebp, eax
test esi, esi
jg 0x440032
and edi, 3
xor eax, eax
sub edi, 1
je 0x440089
sub edi, 1
je 0x440080
sub edi, 1
jne 0x44008e
movzx eax, byte [ecx]
shl eax, 0x10
add ecx, 1
xor edx, edx
mov dh, byte [ecx]
or eax, edx
add ecx, 1
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, ebp
pop ebp
ret

Function at 0x440130
Capabilities:
Get disk size

Disassembly:
sub esp, 0x21c
mov eax, dword [0x4a4a28]
xor eax, esp
mov dword [esp + 0x218], eax
mov eax, dword [esp + 0x220]
push esi
xor esi, esi
cmp word [eax + 2], 0x3a
jne 0x440174
cmp word [eax + 4], 0x5c
jne 0x440174
mov ecx, dword [eax]
mov dx, word [eax + 4]
mov dword [esp + 0x14], ecx
mov word [esp + 0x18], dx
mov word [esp + 0x1a], si
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x4401b2
mov eax, dword [esp + 4]
imul eax, dword [esp + 8]
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.00467769
add esp, 0x21c
ret
mov ecx, dword [esp + 0x21c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00467769
add esp, 0x21c
ret

Function at 0x441e50
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
push edi
push 0x208
xor edi, edi
mov ebx, 0x104
call fcn.0044285b
mov esi, eax
add esp, 4
test esi, esi
je 0x441efd
push 0x208
push edi
push esi
call fcn.004692d0
add esp, 0xc
test esi, esi
je 0x441efd
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, 0x208
push esi
push ebx
call ebp
cmp ebx, eax
ja 0x441ed7
test esi, esi
je 0x441ea5
push esi
call fcn.00442886
add esp, 4
add edi, 0x208
push edi
add ebx, 0x104
call fcn.0044285b
mov esi, eax
add esp, 4
test esi, esi
je 0x441ed0
push edi
push 0
push esi
call fcn.004692d0
add esp, 0xc
test esi, esi
jne 0x441e90
pop ebp
pop edi
pop esi
xor eax, eax
pop ebx
ret
test esi, esi
je 0x441ed0
mov eax, dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push eax
call edi
push esi
mov ebx, eax
call edi
push esi
call fcn.00442886
add esp, 4
pop ebp
pop edi
pop esi
mov eax, ebx
pop ebx
ret
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x442220
Capabilities:
Create directory
Get file attributes
Set file attributes

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, dword [ebp + 4]
push esi
push edi
mov edi, dword [ebp + 0x10]
call fcn.00441b60
mov ebx, eax
mov eax, dword [edi + 4]
shr eax, 1
not eax
test al, 1
mov dword [esp + 0x14], ebx
je 0x442264
mov eax, dword [edi + 8]
test eax, eax
jne 0x442318
mov ecx, dword [edi + 0xc]
push ecx
push ebx
call fcn.0046765d
add esp, 8
test eax, eax
jne 0x442337
mov eax, dword [edi + 0x10]
xor esi, esi
test eax, eax
je 0x4422dc
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442270
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, ebx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442286
sub eax, esi
sar eax, 1
lea ebx, [eax + edx]
lea ebx, [ebx + ebx + 0x200]
push ebx
call fcn.0044285b
mov esi, eax
add esp, 4
test esi, esi
je 0x4422ba
push ebx
push 0
push esi
call fcn.004692d0
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov edx, esi
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4422c0
mov eax, dword [esp + 0x14]
mov ebx, esi
call fcn.00441d00
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4422f9
mov edx, dword [edi + 0x2c]
push 0
push esi
push ebp
push 2
push edx
call eax
mov ebx, eax
test ebx, ebx
jle 0x44240a
mov ecx, dword [edi + 0x14]
mov eax, dword [ebp]
xor ebx, ebx
cmp ecx, ebx
jbe 0x44234b
xor edx, edx
lea eax, [ecx + eax - 1]
div ecx
imul eax, ecx
add dword [edi + 0x20], eax
adc dword [edi + 0x24], ebx
jmp 0x442352
cmp eax, 1
jne 0x442264
mov ebx, dword [edi + 0xc]
mov esi, dword [esp + 0x14]
call fcn.004421b0
test eax, eax
mov ebx, esi
jne 0x442264
test ebx, ebx
je 0x442344
push ebx
call fcn.00442886
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
cdq
add dword [edi + 0x20], eax
adc dword [edi + 0x24], edx
test byte [edi + 4], 4
je 0x442361
add dword [edi + 0x18], 1
jmp 0x44240a
cmp esi, ebx
jne 0x44236d
or ebx, 0xffffffff
jmp 0x442417
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x442372
sub eax, edx
sar eax, 1
lea ecx, [eax + eax + 2]
push ecx
call fcn.00441980
mov edi, eax
mov edx, edi
add esp, 4
mov eax, esi
sub edx, esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x442396
call fcn.00441c00
push edi
call fcn.00441e50
add esp, 4
test eax, eax
jne 0x4423cc
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4423cc
push edi
call fcn.00441f10
add esp, 4
cmp edi, ebx
je 0x4423d9
push edi
call fcn.00442886
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffff8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
push 0x80
push 2
push ebx
push 3
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x442417
push esi
call fcn.00442886
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
je 0x442428
push eax
call fcn.00442886
add esp, 4
pop edi
pop esi
pop ebp
mov eax, ebx
pop ebx
ret
Function at 0x442430
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, 1
push eax
mov dword [esp + 0x18], esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp + 0x24], 0
jne 0x44245a
add dword [edi + 0x18], esi
mov ebx, dword [ebp + 4]
call fcn.00441b60
mov esi, eax
mov eax, dword [edi + 0x10]
mov dword [esp + 0x24], esi
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442470
sub eax, edx
sar eax, 1
mov edx, eax
mov eax, esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x442486
sub eax, esi
sar eax, 1
lea esi, [eax + edx]
lea esi, [esi + esi + 0x200]
push esi
call fcn.0044285b
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4424ba
push esi
push 0
push ebx
call fcn.004692d0
add esp, 0xc
mov ecx, dword [edi + 0x10]
mov edx, ebx
nop
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
test ax, ax
jne 0x4424c0
mov eax, dword [esp + 0x24]
call fcn.00441d00
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
and eax, 0xfffffff8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0xffffffff
je 0x442575
movzx edx, word [ebp + 0x1a]
movzx eax, word [ebp + 0x18]
lea ecx, [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x44254e
lea ecx, [esp + 0x18]
push ecx
mov edx, ecx
push edx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x44254e
lea eax, [esp + 0x18]
push eax
push 0
mov ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, byte [ebp + 0x1c]
mov eax, dword [edi + 4]
and ecx, 0x27
test al, 0x10
je 0x442566
and ecx, 0xfffffffe
test al, 0x20
je 0x44256d
and ecx, 0xfffffffd
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov eax, dword [edi + 0x28]
test eax, eax
je 0x44258c
mov edx, dword [edi + 0x2c]
push 0
push ebx
push ebp
push 3
push edx
call eax
mov esi, eax
jmp 0x442590
mov esi, dword [esp + 0x14]
test ebx, ebx
je 0x44259d
push ebx
call fcn.00442886
add esp, 4
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4425ae
push eax
call fcn.00442886
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x446d9b
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x446dd4
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00446d5e
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0040aaf0
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]
Function at 0x4489e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x448a23
call fcn.0044bc48
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x448a23
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x448a3e
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0044859a
test ebx, ebx
mov esi, eax
je 0x448a3c
test edi, edi
je 0x448a3c
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x449949
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x4a4a28]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0x800
push ebx
push esi
mov esi, ecx
mov ebx, edx
lea eax, [ebp - 0xc]
jne 0x449986
push 0x484980
push 4
push eax
call fcn.00468bc1
push eax
call fcn.00404d00
add esp, 0x10
jmp 0x449998
push 4
push eax
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x449a03
push edi
call fcn.00469287
mov edi, dword [eax]
call fcn.00469287
and dword [eax], 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push 0x111
mov esi, 0x112
lea eax, [ebp - 0x230]
push esi
push eax
call fcn.0046922d
add esp, 0x18
mov ebx, eax
call fcn.00469287
cmp dword [eax], 0
je 0x4499e3
call fcn.00469287
push dword [eax]
call fcn.004429b6
pop ecx
jmp 0x4499ea
call fcn.00469287
mov dword [eax], edi
cmp ebx, 0xffffffff
pop edi
je 0x449a03
cmp ebx, esi
jae 0x449a03
lea eax, [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
jmp 0x449a05
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00467769
leave
ret