joyce8/EMBER2024-capa huggingface dataset:
Function at 0x438150
Capabilities:
Check for time delay via gettickcount
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.004321c0
mov ebx, eax
test ebx, ebx
jne 0x438183
mov ecx, dword [ebp + 8]
push esi
push eax
push str.Parameter_1_invalid.
call fcn.0042ffd0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebx - 1]
cmp eax, 4
ja case.default.0x43818f
jmp dword [eax*4 + 0x438388]
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4381aa
push eax
call fcn.00455f60
add esp, 4
jmp 0x4381b0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x18
push 0
push eax
mov eax, dword [0x4cad68]
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
push eax
call fcn.00455f60
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x438228
push ebx
push 0
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x438228
push 0
push edi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
neg esi
sbb esi, esi
and esi, ebx
mov eax, dword [0x4cad68]
push 0x18
push 0
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a38f0
push ecx
call fcn.00479380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
movzx edx, word [edi]
push edx
call fcn.00491c1d
movzx eax, ax
add eax, 0xffffffbf
add esp, 4
cmp eax, 0x11
ja case.0x438266.67
movzx eax, byte [eax + 0x4383b8]
jmp dword [eax*4 + 0x43839c]
mov esi, 0x40
jmp 0x438295
mov esi, 0x4000
jmp 0x438295
mov esi, 0x20
jmp 0x438295
mov esi, 0x8000
jmp 0x438295
mov esi, 0x80
jmp 0x438295
mov esi, 0x100
mov eax, dword [ebp + 0xc]
cmp word [eax], 0
je 0x4382a9
push eax
call fcn.00455f60
add esp, 4
jmp 0x4382af
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
test ebx, ebx
je 0x438228
push ebx
push 0
push 0x200
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x438228
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
jmp 0x4381fc
mov edx, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a38f0
push edx
call fcn.00479380
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp word [edi], 0
je 0x438329
mov esi, edi
mov byte [esp + 0x13], 0
call fcn.00414be0
fmul qword [0x4c0d18]
call fcn.0049e390
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x14], eax
jmp 0x438330
mov byte [esp + 0x13], 1
xor edi, edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.00455f60
add esp, 4
mov esi, eax
cmp ebx, 4
jne 0x43834d
test esi, esi
jne 0x43820b
jmp 0x438351
test esi, esi
je case.0x438266.67
cmp byte [esp + 0x13], 0
jne 0x43836f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
add ecx, edi
sub ecx, eax
cmp ecx, 5
jle 0x43820b
push 1
push 0x64
call fcn.004013d0
add esp, 8
jmp 0x438330
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438bf0
Capabilities:
Get graphical window text

Disassembly:
push ecx
push ebp
push esi
mov esi, dword [0x4ca4b0]
push edi
push eax
mov eax, dword [esp + 0x18]
call fcn.00444420
mov edi, eax
test edi, edi
je 0x438c16
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebp, [eax + 1]
jmp 0x438c1b
mov ebp, 1
push 1
push 0
lea ecx, [ebp - 1]
push ecx
push 0
push esi
call fcn.00479380
cmp eax, 1
je 0x438c39
xor eax, eax
pop edi
pop esi
pop ebp
pop ecx
ret 4
mov ecx, esi
test edi, edi
je 0x438ccb
push ebp
push 0
push 1
call fcn.00401220
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [esi + 0x17], 0
mov ebp, eax
jne 0x438c62
mov edi, dword [esi + 0xc]
jmp 0x438c64
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x438c7c
test byte [edi + 0x15], 8
je 0x438c77
mov eax, edi
call fcn.00401160
lea eax, [edi + 0xc]
jmp 0x438c81
mov eax, 0x4cc20c
lea edx, [ebp + ebp]
mov dword [eax], edx
cmp byte [esi + 0x17], 0
jne 0x438c92
mov edi, dword [esi + 0xc]
jmp 0x438c94
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x438cac
test byte [edi + 0x15], 8
je 0x438ca7
mov eax, edi
call fcn.00401160
lea eax, [edi + 0xc]
jmp 0x438cb1
mov eax, 0x4cc20c
test dword [eax], 0xfffffffe
jne 0x438d08
push 0
push 1
mov ecx, esi
call fcn.00401220
xor ecx, ecx
mov word [eax], cx
jmp 0x438d08
push 0
push 1
call fcn.00401220
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], dl
jne 0x438ce3
mov edi, dword [esi + 0xc]
jmp 0x438ce5
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x438cfd
test byte [edi + 0x15], 8
je 0x438cf8
mov eax, edi
call fcn.00401160
lea eax, [edi + 0xc]
jmp 0x438d02
mov eax, 0x4cc20c
mov dword [eax], 0
cmp byte [esi + 0x17], 0
jne 0x438d11
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x438d31
cmp dword [0x4cb510], 0
je 0x438d31
mov ecx, 0x4cb504
call fcn.00404570
pop edi
pop esi
pop ebp
pop ecx
ret 4
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
pop ecx
ret 4

Function at 0x439ad0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.0049b260
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push esi
mov esi, dword [0x4ca4b0]
push edi
push 0x7fff
lea eax, [esp + 0x10]
push eax
push ebx
call ebp
mov edi, eax
cmp edi, 0x7fff
jb 0x439b84
push 1
push 1
lea ecx, [edi - 1]
push ecx
push 0
push esi
call fcn.00479380
test eax, eax
jne 0x439b22
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
push edi
push 0
push 1
mov ecx, esi
call fcn.00401220
push eax
push ebx
call ebp
test eax, eax
jne 0x439b45
push eax
push 1
mov ecx, esi
call fcn.00401220
xor edx, edx
mov word [eax], dx
cmp byte [esi + 0x17], 0
jne 0x439b4e
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x439b71
cmp dword [0x4cb510], 0
je 0x439b71
mov ecx, 0x4cb504
call fcn.00404570
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
and byte [esi + 0x15], 0x86
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x10000
ret
lea eax, [esp + 0xc]
test edi, edi
jne 0x439b91
mov eax, 0x4a3860
push 1
push 0
push edi
push eax
push esi
call fcn.00479380
pop edi
pop esi
pop ebp
add esp, 0x10000
ret
Function at 0x43be80
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push esi
push edi
mov edi, eax
mov eax, dword [0x4cbff8]
push ebx
push eax
push str.__s_s
mov esi, 0x800
call fcn.00476310
mov esi, eax
lea ecx, [esi + 1]
add esp, 0xc
cmp ecx, 0x800
jg 0x43bed7
lea edx, [edi + 2]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43bed7
mov edx, dword [esp + 0x14]
mov dword [edi + esi*2], 0x22
mov ecx, dword [0x4cbff8]
pop edi
pop esi
mov dword [edx], ecx
mov al, 1
pop ebp
ret
push ebp
call fcn.0043c4d0
add esp, 4
test eax, eax
je 0x43bf27
push ebx
push ebp
push str.__s_s
mov esi, 0x800
call fcn.00476310
mov esi, eax
lea edx, [esi + 1]
add esp, 0xc
cmp edx, 0x800
jg 0x43bf27
lea eax, [edi + 2]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43bf27
mov eax, dword [esp + 0x14]
mov dword [edi + esi*2], 0x22
pop edi
mov dword [eax], ebp
pop esi
mov al, 1
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebp
ret

Function at 0x43bf30
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x2214
call fcn.0049b260
push ebp
push esi
push edi
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
lea ebp, [esp + 0x1224]
push ecx
mov eax, ebp
mov dword [esp + 0x18], 0x4a3860
call fcn.0043be80
add esp, 8
test al, al
jne 0x43bf6e
pop edi
pop esi
pop ebp
add esp, 0x2214
ret
cmp byte [esp + 0x2224], 0
je 0x43bfde
mov edx, dword [esp + 0x14]
push 0x4ad1ec
push edx
push str.__s_s
mov esi, 0x800
lea edi, [esp + 0x22c]
call fcn.00476310
mov esi, eax
lea eax, [esi + 1]
add esp, 0xc
cmp eax, 0x800
jg 0x43bfde
lea ecx, [esp + 0x222]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43bfde
mov edx, 0x22
xor eax, eax
lea ecx, [esp + 0x1220]
mov word [esp + esi*2 + 0x220], dx
mov word [esp + esi*2 + 0x222], ax
mov ebp, edi
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x10]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push 0x4cb520
mov edx, ebp
call fcn.00431000
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebp
add esp, 0x2214
ret
Function at 0x43c4d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
push edi
xor edi, edi
lea eax, [esp + 0x14]
push eax
mov ecx, edi
or ecx, 1
push ecx
push 0
push str.SOFTWAREAutoHotkey
push reloc.OLEAUT32.dll_SysReAllocString
call ebx
test eax, eax
je 0x43c510
xor edx, edx
mov word [esp + 0x18], dx
xor eax, eax
jmp 0x43c575
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push str.InstallDir
push edx
mov dword [esp + 0x28], 0x208
call ebp
mov esi, eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x43c5a3
mov eax, dword [esp + 0x10]
test eax, eax
je 0x43c5a3
shr eax, 1
dec eax
mov dword [esp + 0x10], eax
cmp word [esp + eax*2 + 0x18], si
jne 0x43c583
test eax, eax
je 0x43c575
lea ecx, [esp + eax*2 + 0x16]
cmp word [ecx], 0
jne 0x43c56d
sub ecx, 2
dec eax
jne 0x43c561
mov dword [esp + 0x10], eax
test eax, eax
jne 0x43c5ac
test edi, edi
jne 0x43c5ac
mov edi, 0x100
jmp 0x43c4e8
inc eax
mov dword [esp + 0x10], eax
cmp eax, 0x104
jb 0x43c59a
xor ecx, ecx
mov word [esp + 0x18], cx
xor eax, eax
jmp 0x43c575
xor edx, edx
mov word [esp + eax*2 + 0x18], dx
jmp 0x43c571
xor eax, eax
mov word [esp + 0x18], ax
jmp 0x43c575
mov esi, dword [esp + 0x224]
test esi, esi
je 0x43c5cf
lea ecx, [esp + 0x18]
mov edx, ecx
sub esi, edx
nop
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x43c5c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x210
ret
Function at 0x43fd90
Capabilities:
Get keyboard layout

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, dword [0x4ca4b0]
push esi
push edi
push 0
mov esi, eax
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
xor ecx, ecx
mov eax, esi
call fcn.00413bb0
mov bl, al
add esp, 8
test bl, bl
jne 0x43fe2f
push 0
lea ebx, [esp + 0x18]
mov eax, esi
call fcn.00451340
mov edi, eax
add esp, 4
test edi, edi
jne 0x43fdf2
push 1
push eax
push 0xffffffffffffffff
push 0x4a3860
push ebp
call fcn.00479380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x28]
mov dword [esp + 0x18], eax
push 0
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x28], 0
call fcn.004515f0
fstp st(0)
add esp, 8
lea eax, [esp + 0x18]
mov ebx, ebp
call fcn.00478ca0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
mov edx, dword [esp + 0x22c]
movzx esi, word [edx]
test esi, 0xffffff80
jne 0x43fe53
push 2
push esi
call fcn.00490d0e
add esp, 8
test eax, eax
je 0x43fe53
and esi, 0xffffffdf
movzx eax, si
cmp eax, 0x50
je 0x43fe6b
xor ecx, ecx
cmp eax, 0x54
setne cl
lea eax, [ecx - 1]
and eax, 2
jmp 0x43fe70
mov eax, 1
push eax
call fcn.00451540
add esp, 4
test al, al
mov eax, 0x4ad6e0
jne 0x43fe87
mov eax, 0x4ad6e4
push 1
push 0
push 0xffffffffffffffff
push eax
push ebp
call fcn.00479380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret 4
Function at 0x43feb0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x230
push esi
mov esi, ecx
mov ecx, dword [0x4ca4b0]
push edi
call fcn.00414c20
test esi, esi
je 0x440029
cmp word [esi], 0
je 0x440029
push 0x103
lea eax, [esp + 0x34]
push esi
push eax
call fcn.00492774
add esp, 0xc
xor ecx, ecx
lea eax, [esp + 0x30]
mov word [esp + 0x236], cx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43ff01
sub eax, edx
sar eax, 1
cmp word [esp + eax*2 + 0x2e], 0x5c
je 0x43ff38
lea edx, [eax + 1]
cmp edx, 0x104
jae 0x440029
mov ecx, 0x5c
xor edx, edx
mov word [esp + eax*2 + 0x30], cx
mov word [esp + eax*2 + 0x32], dx
test byte [0x4ccdc8], 1
jne 0x43ff66
or dword [0x4ccdc8], 1
push str.GetDiskFreeSpaceExW
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4ccdc4], eax
jmp 0x43ff6b
mov eax, dword [0x4ccdc4]
test eax, eax
je 0x43ffb7
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x3c]
push edx
call eax
test eax, eax
je 0x440029
test bl, bl
je 0x43ffa4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43fff7
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
shrd esi, eax, 0x14
shr eax, 0x14
mov edi, eax
jmp 0x43fff7
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x40]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x440029
mov eax, dword [esp + 0x14]
test bl, bl
jne 0x43ffe6
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0xc]
imul eax, dword [esp + 8]
shr eax, 0x14
mov esi, eax
xor edi, edi
mov edx, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a38f0
push edx
call fcn.00479380
mov eax, dword [0x4ca4b0]
push 0x18
push edi
push esi
call fcn.004010e0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x4c6a44]
test byte [eax + 0x100], 1
jne 0x440056
mov ecx, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6244
push ecx
call fcn.00479380
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push 0x4a3860
push 0
push 0x4a6244
call fcn.0042fd60
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x441ee0
Capabilities:
Set current directory

Disassembly:
sub esp, 8
push esi
mov esi, eax
movzx eax, word [esi]
test ax, ax
je 0x441f14
cmp word [esi + 2], 0x3a
jne 0x441f14
cmp word [esi + 4], 0
jne 0x441f14
xor edx, edx
mov word [esp + 4], ax
mov dword [esp + 6], 0x5c003a
mov word [esp + 0xa], dx
lea esi, [esp + 4]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x441f31
cmp byte [0x4cc000], al
je 0x441f57
call fcn.004098d0
pop esi
add esp, 8
ret
cmp byte [0x4cc000], 0
je 0x441f57
mov ecx, esi
call fcn.00441f60
mov eax, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a38f0
push eax
call fcn.00479380
pop esi
add esp, 8
ret

Function at 0x441f60
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10000
call fcn.0049b260
push esi
lea eax, [esp + 4]
push eax
push 0x8000
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x441f87
lea esi, [esp + 4]
jmp 0x441f8b
test esi, esi
je 0x441f98
push edi
push esi
mov edi, 0x4c7b74
call fcn.00451d40
pop edi
pop esi
add esp, 0x10000
ret
Function at 0x442620
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], edi
test ebx, ebx
je 0x44273b
cmp word [ebx], 0
je 0x44273b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x442677
mov ecx, dword [0x4c6a44]
shr eax, 4
not al
and al, 1
movzx edx, al
push edx
push edi
mov dword [ecx + 0x30], 0xb7
call fcn.0042fe00
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x5c
push ebx
call fcn.004918ae
mov esi, eax
add esp, 8
mov dword [ebp + 8], esi
cmp esi, ebx
jbe 0x442705
cmp word [esi - 2], 0x3a
je 0x442705
cmp dword [ebp + 0xc], 0
je 0x4426a1
xor eax, eax
mov edi, ebx
mov word [esi], ax
jmp 0x4426bd
sub esi, ebx
sar esi, 1
lea eax, [esi + esi + 2]
call fcn.00497080
mov edi, esp
lea ecx, [esi + 1]
mov eax, ebx
call fcn.004762f0
mov esi, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push edi
push edi
call fcn.00442620
cmp dword [ebp + 0xc], 0
je 0x4426d5
mov ecx, 0x5c
mov word [esi], cx
cmp word [esi + 2], 0
je 0x4426f1
mov ecx, dword [0x4cad68]
push 0
push 1
call fcn.00401220
cmp word [eax], 0x31
jne 0x442702
mov eax, 1
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edi, dword [ebp - 4]
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
sete dl
mov byte [ebp + 0xc], dl
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 0xc]
mov ecx, dword [0x4c6a44]
push edx
push edi
mov dword [ecx + 0x30], eax
call fcn.0042fe00
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4c6a44]
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x442772
mov eax, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6244
push eax
call fcn.00479380
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x4a3860
push 0
push 0x4a6244
call fcn.0042fd60
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x443380
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
push esi
push edi
xor edi, edi
cmp ebp, edi
je 0x4433d0
push edi
push 1
mov ecx, ebp
call fcn.00401220
cmp byte [ebp + 0x17], 0
mov dword [esp + 0x24], eax
jne 0x4433aa
mov esi, dword [ebp + 0xc]
jmp 0x4433ac
mov esi, ebp
cmp byte [esi + 0x17], 1
jne 0x4433c7
test byte [esi + 0x15], 8
je 0x4433bf
mov eax, esi
call fcn.00401160
mov ebx, dword [esi + 0xc]
add esi, 0xc
jmp 0x4433fe
mov esi, 0x4cc20c
mov ebx, dword [esi]
jmp 0x4433fe
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push edi
call fcn.00478de0
add esp, 0xc
test eax, eax
jne 0x4433fa
mov edx, dword [0x4c6a44]
mov dword [edx + 0x30], edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x443446
mov eax, dword [esp + 0x24]
mov dword [esp + 0x20], edi
test eax, eax
je 0x44343b
push 0
lea ecx, [esp + 0x24]
push ecx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor edx, edx
cmp dword [esp + 0x20], ebx
sete dl
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6a44]
mov dword [ecx + 0x30], eax
cmp esi, 0xffffffff
je 0x443461
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebp, ebp
jne 0x443472
mov edx, dword [esp + 0x24]
push edx
call fcn.004903b1
add esp, 4
mov edx, dword [esp + 0x1c]
test edi, edi
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042fe00
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 0xc

Function at 0x4434a0
Capabilities:
Delete file

Disassembly:
sub esp, 8
push ebx
mov ebx, 0x4adcb8
mov eax, esi
call fcn.004096a0
test eax, eax
jne 0x4434ef
cmp word [esi], ax
je 0x4434ef
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete al
mov byte [esp + 8], al
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 8]
mov ecx, dword [0x4c6a44]
push edx
push edi
mov dword [ecx + 0x30], eax
call fcn.0042fe00
pop ebx
add esp, 8
ret
push 0
push 0x443490
push 0
push 1
push edi
mov ecx, esi
call fcn.00443960
pop ebx
add esp, 8
ret
Function at 0x443510
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
mov eax, 0x1000c
call fcn.0049b260
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, edi
mov esi, edx
call fcn.0040ea00
test al, al
je 0x44353c
push 0x10
push 0
push edi
call fcn.0049120f
add esp, 0xc
jmp 0x443545
push edi
call fcn.00490d56
add esp, 4
mov ebx, 1
cmp eax, ebx
je 0x4435ac
call fcn.00455cf0
test al, al
je 0x4435ac
mov eax, dword [0x4c6a44]
test byte [eax + 0x100], bl
jne 0x443587
mov ecx, dword [0x4cad68]
push ebx
push 0
push 0xffffffffffffffff
push 0x4a6244
push ecx
call fcn.00479380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret 8
mov ecx, dword [esp + 0x10020]
push 0x4a3860
push 0
push 0x4a6244
call fcn.0042fd60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret 8
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
jne 0x4435f8
mov edx, dword [0x4c6a44]
test byte [edx + 0x100], bl
jne 0x443587
push ebx
push 0
push eax
mov eax, dword [0x4cad68]
push 0x4a6244
push eax
call fcn.00479380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret 8
mov esi, dword [esp + 0x10024]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x443604
sub eax, edx
sar eax, 1
cmp eax, 0x8000
jb 0x44361f
mov eax, 0x7fff
lea ecx, [eax + eax + 2]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
call fcn.00497df0
lea eax, [esp + 0x24]
add esp, 0xc
push eax
call fcn.00491df3
add esp, 4
push 0xa
lea ecx, [esp + 0x1c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x44368e
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44368e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x44368e
push 0
lea edx, [esp + 0x18]
push edx
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne bl
jmp 0x443690
xor bl, bl
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x10020]
test bl, bl
sete al
movzx ecx, al
push ecx
push edx
call fcn.0042fe00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1000c
ret 8
Function at 0x4436c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov ecx, dword [0x4ca4b0]
sub esp, 0x100
push esi
mov esi, eax
call fcn.00414c20
test esi, esi
je 0x443776
cmp word [esi], 0
je 0x443776
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x44372d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4c6a44]
test byte [ecx + 0x100], 1
mov dword [ecx + 0x30], eax
jne 0x4437aa
mov eax, dword [0x4cad68]
push 1
push 0
push esi
push 0x4a6244
push eax
call fcn.00479380
pop esi
add esp, 0x100
ret
mov edx, dword [0x4cad68]
mov ecx, dword [0x4c6a44]
push 1
push 0
push 0xffffffffffffffff
push 0x4a38f0
push edx
mov dword [ecx + 0x30], 0
call fcn.00479380
mov edx, esi
lea eax, [esp + 4]
call fcn.00477360
push 1
push 0
push 0xffffffffffffffff
push eax
mov eax, dword [0x4ca4b0]
push eax
call fcn.00479380
pop esi
add esp, 0x100
ret
mov eax, dword [0x4c6a44]
test byte [eax + 0x100], 1
mov dword [eax + 0x30], 0x57
jne 0x4437aa
mov ecx, dword [0x4cad68]
push 1
push 0
push 0xffffffffffffffff
push 0x4a6244
push ecx
call fcn.00479380
pop esi
add esp, 0x100
ret
push 0x4a3860
push 0
push 0x4a6244
mov ecx, edi
call fcn.0042fd60
pop esi
add esp, 0x100
ret

Function at 0x4437d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x10
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x14], ebx
mov edi, eax
cmp word [eax], bx
je 0x443896
nop
movzx esi, word [edi]
test esi, 0xffffff80
jne 0x44380d
push 2
push esi
call fcn.00490d0e
add esp, 8
test eax, eax
je 0x44380d
and esi, 0xffffffdf
movzx eax, si
add eax, 0xffffffd5
cmp eax, 0x33
ja case.0x44381f.44
movzx eax, byte [eax + 0x4438e8]
jmp dword [eax*4 + 0x4438c4]
movzx ebx, word [edi]
jmp case.0x44381f.44
mov eax, 1
jmp 0x44385a
mov eax, 0x20
jmp 0x44385a
mov eax, 4
jmp 0x44385a
mov eax, 2
jmp 0x44385a
mov eax, 0x80
jmp 0x44385a
mov eax, 0x1000
jmp 0x44385a
mov eax, 0x100
mov ecx, ebx
sub ecx, 0x2b
je 0x44387d
sub ecx, 2
je 0x443871
sub ecx, 0x31
jne case.0x44381f.44
xor dword [esp + 0x14], eax
jmp case.0x44381f.44
not eax
and dword [esp + 0x10], eax
and dword [esp + 0x14], eax
jmp case.0x44381f.44
mov ecx, eax
not ecx
and dword [esp + 0x10], ecx
or dword [esp + 0x14], eax
add edi, 2
cmp word [edi], 0
jne 0x4437f0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x24]
push 0x443920
push eax
push ecx
mov ecx, dword [esp + 0x34]
push edx
call fcn.00443960
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x10