joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444750
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
mov esi, dword [0x4f90f0]
push edi
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.004505f0
mov ebx, eax
test ebx, ebx
je 0x444780
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
jmp 0x444785
mov edi, 1
push 1
push 0
lea eax, [edi - 1]
mov ecx, esi
push eax
push 0
call fcn.00495fe0
cmp eax, 1
je 0x4447a3
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
push 0
push 1
mov ecx, esi
call fcn.00401530
test ebx, ebx
je 0x44482d
push edi
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp byte [esi + 0x17], 0
mov ebx, eax
jne 0x4447c8
mov edi, dword [esi + 0xc]
jmp 0x4447ca
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x4447e2
test byte [edi + 0x15], 8
je 0x4447dd
mov ecx, edi
call fcn.00401450
add edi, 0xc
jmp 0x4447e7
mov edi, 0x4fb9c0
lea eax, [ebx + ebx]
mov dword [edi], eax
cmp byte [esi + 0x17], 0
jne 0x4447f7
mov edi, dword [esi + 0xc]
jmp 0x4447f9
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x444811
test byte [edi + 0x15], 8
je 0x44480c
mov ecx, edi
call fcn.00401450
add edi, 0xc
jmp 0x444816
mov edi, 0x4fb9c0
cmp dword [edi], 2
jae 0x444861
push 0
push 1
mov ecx, esi
call fcn.00401530
xor ecx, ecx
mov word [eax], cx
jmp 0x444861
xor ecx, ecx
mov word [eax], cx
cmp byte [esi + 0x17], cl
jne 0x44483c
mov edi, dword [esi + 0xc]
jmp 0x44483e
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x444856
test byte [edi + 0x15], 8
je 0x444851
mov ecx, edi
call fcn.00401450
add edi, 0xc
jmp 0x44485b
mov edi, 0x4fb9c0
mov dword [edi], 0
cmp byte [esi + 0x17], 0
jne 0x44486a
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x44488a
cmp dword [0x4f9a60], 0
je 0x44488a
push ecx
mov ecx, 0x4f9a54
call fcn.00405900
pop edi
pop esi
pop ebx
ret 0x10
and byte [esi + 0x15], 0x86
mov eax, 1
pop edi
pop esi
pop ebx
ret 0x10

Function at 0x4457c0
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x10000
call fcn.004c5460
push esi
mov esi, dword [0x4f90f0]
lea eax, [esp + 4]
push edi
push 0x7fff
push eax
push dword [esp + 0x10014]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov edi, eax
push 1
cmp edi, 0x7fff
jb 0x445886
push 1
lea ecx, [edi - 1]
push ecx
push 0
mov ecx, esi
call fcn.00495fe0
test eax, eax
jne 0x445817
pop edi
pop esi
add esp, 0x10000
ret 4
push edi
push 0
push 1
mov ecx, esi
call fcn.00401530
push eax
push dword [esp + 0x10014]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
jne 0x445844
push eax
push 1
mov ecx, esi
call fcn.00401530
xor ecx, ecx
mov word [eax], cx
cmp byte [esi + 0x17], 0
jne 0x44584d
mov esi, dword [esi + 0xc]
cmp byte [esi + 0x17], 2
jne 0x445872
cmp dword [0x4f9a60], 0
je 0x445872
push ecx
mov ecx, 0x4f9a54
call fcn.00405900
pop edi
pop esi
add esp, 0x10000
ret 4
and byte [esi + 0x15], 0x86
mov eax, 1
pop edi
pop esi
add esp, 0x10000
ret 4
push 0
test edi, edi
lea eax, [esp + 0x10]
mov ecx, 0x4cd2cc
cmove eax, ecx
mov ecx, esi
push edi
push eax
call fcn.00495fe0
pop edi
pop esi
add esp, 0x10000
ret 4
Function at 0x448480
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, ecx
push dword [esp + 0x14]
push str.__s_s
push 0x800
push esi
call fcn.00491dd0
mov edi, eax
add esp, 0x14
lea ecx, [edi + 1]
cmp ecx, 0x800
jg 0x4484c7
lea ecx, [esi + 2]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4484c7
mov dword [esi + edi*2], 0x22
mov al, 1
pop edi
pop esi
ret
pop edi
xor al, al
pop esi
ret

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

Disassembly:
mov eax, 0x2218
call fcn.004c5460
push ebx
push esi
push edi
mov esi, ecx
mov byte [esp + 0x13], dl
push esi
push dword [0x4fa560]
lea edi, [esp + 0x228]
mov ebx, 0x4cd2cc
push str.__s_s
mov eax, edi
push 0x800
push eax
call fcn.00491dd0
add esp, 0x14
mov dword [esp + 0x14], eax
lea ecx, [eax + 1]
cmp ecx, 0x800
jg 0x448543
lea eax, [esp + 0x222]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x448543
mov eax, dword [esp + 0x14]
mov dword [esp + eax*2 + 0x220], 0x22
mov eax, dword [0x4fa560]
jmp 0x448575
lea ecx, [esp + 0x18]
call fcn.00448a20
test eax, eax
je 0x4485fe
lea eax, [esp + 0x18]
push eax
push esi
lea ecx, [esp + 0x228]
call fcn.00448480
add esp, 8
test al, al
je 0x4485fe
lea eax, [esp + 0x18]
cmp byte [esp + 0x13], 0
je 0x4485d5
push 0x4e98d4
push eax
push str.__s_s
lea eax, [esp + 0x122c]
push 0x800
push eax
call fcn.00491dd0
mov esi, eax
add esp, 0x14
lea ecx, [esi + 1]
cmp ecx, 0x800
jg 0x4485d5
lea eax, [esp + 0x1222]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4485d5
mov dword [esp + esi*2 + 0x1220], 0x22
lea edi, [esp + 0x1220]
lea ebx, [esp + 0x220]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push edi
mov ecx, 0x4f9a70
call fcn.0043cd70
test eax, eax
setne al
pop edi
pop esi
pop ebx
add esp, 0x2218
ret
pop edi
pop esi
xor al, al
pop ebx
add esp, 0x2218
ret
Function at 0x44c130
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
push ebx
push esi
push edi
mov edi, dword [0x4f90f0]
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, dword [ebp + 8]
xor edx, edx
push eax
push ecx
push 0
mov ecx, esi
call fcn.004155c0
mov bl, al
add esp, 0xc
test bl, bl
jne 0x44c1ce
push 0
lea edx, [esp + 0x10]
mov ecx, esi
call fcn.004621f0
add esp, 4
test eax, eax
jne 0x44c194
push 1
push eax
push 0xffffffffffffffff
push 0x4cd2cc
mov ecx, edi
call fcn.00495fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x20]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x10]
push 0
push ecx
mov ecx, eax
mov dword [esp + 0x20], 0
call fcn.004624b0
add esp, 8
lea eax, [esp + 0x10]
mov ecx, edi
push eax
call fcn.004958d0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
movzx esi, word [eax]
test esi, 0xffffff80
je 0x44c1e0
xor eax, eax
jmp 0x44c1eb
push 2
push esi
call fcn.004b15e4
add esp, 8
mov ecx, esi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, esi
cmp ecx, 0x50
je 0x44c209
xor eax, eax
mov edx, 2
cmp ecx, 0x54
cmovne edx, eax
jmp 0x44c20e
mov edx, 1
mov cl, bl
call fcn.00462410
push 1
test al, al
mov edx, 0x4e9dcc
push 0
mov ecx, 0x4e9dc8
cmove ecx, edx
push 0xffffffffffffffff
push ecx
mov ecx, edi
call fcn.00495fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x44c240
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x220
push esi
push edi
push 1
push 0
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [0x4f90f0]
push 0
call fcn.00495fe0
mov eax, dword [ebp + 8]
test eax, eax
je 0x44c338
cmp word [eax], 0
je 0x44c338
push 0x103
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004b3100
add esp, 0xc
lea ecx, [esp + 0x20]
xor eax, eax
lea edx, [ecx + 2]
mov word [esp + 0x226], ax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c2a0
sub ecx, edx
sar ecx, 1
cmp word [esp + ecx*2 + 0x1e], 0x5c
je 0x44c2c9
lea eax, [ecx + 1]
cmp eax, 0x104
jae 0x44c338
mov dword [esp + ecx*2 + 0x20], 0x5c
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x44c338
cmp byte [ebp + 0xc], 0
je 0x44c2f7
mov edi, dword [esp + 8]
mov esi, dword [esp + 0xc]
jmp 0x44c2ff
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4cd350
call fcn.00495fe0
mov ecx, dword [0x4f90f0]
shrd edi, esi, 0x14
push 0x18
shr esi, 0x14
push esi
push edi
call fcn.004013d0
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4f48cc]
test byte [eax + 0x100], 1
jne 0x44c364
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e25ec
call fcn.00495fe0
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x4cd2cc
push 0
push 0x4e25ec
mov ecx, esi
call fcn.0043b880
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44c6c0
Capabilities:
Get disk information
Get disk size

Disassembly:
mov eax, 0x1085c
call fcn.004c5460
push ebx
push esi
mov esi, dword [esp + 0x10868]
mov ebx, ecx
mov dword [esp + 0x10], ebx
test esi, esi
je 0x44c8c4
cmp word [esi], 0
je 0x44c8c4
push str.List
push esi
call fcn.004af78f
add esp, 8
test eax, eax
jne 0x44c705
lea esi, [eax + 1]
jmp 0x44c8c6
push str.FileSystem
push esi
call fcn.004af78f
add esp, 8
test eax, eax
je 0x44c8bd
push 0x4e8df8
push esi
call fcn.004af78f
add esp, 8
test eax, eax
je 0x44c8bd
push str.Label
push esi
call fcn.004af78f
add esp, 8
test eax, eax
jne 0x44c74b
lea esi, [eax + 3]
jmp 0x44c8c6
push 9
push str.SetLabel:
push esi
call fcn.004af905
add esp, 0xc
test eax, eax
je 0x44c80e
push str.Serial
push esi
call fcn.004af78f
add esp, 8
test eax, eax
jne 0x44c77d
lea esi, [eax + 5]
jmp 0x44c8c6
push str.Type
push esi
call fcn.004af78f
add esp, 8
test eax, eax
jne 0x44c797
lea esi, [eax + 6]
jmp 0x44c8c6
push str.Status
push esi
call fcn.004af78f
add esp, 8
test eax, eax
jne 0x44c7b1
lea esi, [eax + 7]
jmp 0x44c8c6
push str.StatusCD
push esi
call fcn.004af78f
add esp, 8
test eax, eax
jne 0x44c7cb
lea esi, [eax + 8]
jmp 0x44c8c6
push str.Capacity
push esi
call fcn.004af78f
add esp, 8
test eax, eax
je 0x44c7f3
push 0x4e8e5c
push esi
call fcn.004af78f
add esp, 8
test eax, eax
jne 0x44c8c4
push 0
push dword [esp + 0x10870]
mov ecx, ebx
call fcn.0044c240
pop esi
pop ebx
add esp, 0x1085c
ret 8
push 0x7ffe
push dword [esp + 0x10870]
lea eax, [esp + 0x86c]
push eax
call fcn.004b3100
add esp, 0xc
lea ecx, [esp + 0x864]
xor eax, eax
lea edx, [ecx + 2]
mov word [esp + 0x10860], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44c840
sub ecx, edx
sar ecx, 1
je 0x44c869
cmp word [esp + ecx*2 + 0x862], 0x5c
je 0x44c869
mov eax, 0x5c
mov word [esp + ecx*2 + 0x864], ax
lea eax, [esi + 0x12]
nop dword [eax]
movzx ecx, word [eax]
cmp ecx, 0x20
je 0x44c87d
cmp ecx, 9
jne 0x44c882
add eax, 2
jmp 0x44c870
push eax
lea eax, [esp + 0x868]
push eax
call dword [sym.imp.KERNEL32.dll_SetVolumeLabelW]
push 1
test eax, eax
mov edx, 0x4e25ec
push 0
mov ecx, 0x4cd350
cmove ecx, edx
push 0xffffffffffffffff
push ecx
mov ecx, dword [0x4f78d0]
call fcn.00495fe0
pop esi
pop ebx
add esp, 0x1085c
ret 8
mov esi, 2
jmp 0x44c8c6
xor esi, esi
push ebp
mov ebp, dword [0x4f90f0]
mov ecx, ebp
push edi
push 1
push 0
push 0xffffffffffffffff
push 0
call fcn.00495fe0
jmp dword [esi*4 + 0x44cd58]
Function at 0x44e2e0
Capabilities:
Set current directory

Disassembly:
sub esp, 8
push esi
mov esi, ecx
movzx eax, word [esi]
test ax, ax
je 0x44e314
cmp word [esi + 2], 0x3a
jne 0x44e314
cmp word [esi + 4], 0
jne 0x44e314
mov word [esp + 4], ax
lea esi, [esp + 4]
xor eax, eax
mov dword [esp + 6], 0x5c003a
mov word [esp + 0xa], ax
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x44e36c
cmp byte [0x4fa568], al
je 0x44e392
mov eax, dword [0x4f48cc]
test byte [eax + 0x100], 1
jne 0x44e350
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e25ec
call fcn.00495fe0
pop esi
add esp, 8
ret
mov ecx, dword [0x4fa0bc]
push 0x4cd2cc
push 0
push 0x4e25ec
call fcn.0043b880
pop esi
add esp, 8
ret
cmp byte [0x4fa568], 0
je 0x44e392
mov ecx, esi
call fcn.0044e3a0
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4cd350
call fcn.00495fe0
pop esi
add esp, 8
ret

Function at 0x44e3a0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10000
call fcn.004c5460
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0x8000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x44e3d9
push ecx
lea esi, [esp + 8]
mov ecx, 0x4f62b0
push esi
call fcn.00462d80
pop esi
add esp, 0x10000
ret
test esi, esi
je 0x44e3e9
push ecx
push esi
mov ecx, 0x4f62b0
call fcn.00462d80
pop esi
add esp, 0x10000
ret
Function at 0x44ea70
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 8], esi
test edi, edi
je 0x44eb48
cmp word [edi], 0
je 0x44eb48
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44eabd
push 0xb7
call dword [sym.imp.KERNEL32.dll_SetLastError]
shr ebx, 4
and bl, 1
mov al, bl
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x5c
push edi
call fcn.004ad15a
mov ebx, eax
add esp, 8
cmp ebx, edi
jbe 0x44eb30
cmp word [ebx - 2], 0x3a
je 0x44eb30
test esi, esi
je 0x44eae2
xor ecx, ecx
mov eax, edi
mov word [ebx], cx
jmp 0x44eb10
mov esi, ebx
sub esi, edi
sar esi, 1
lea eax, [esi*2 + 2]
call fcn.004c5380
mov eax, esp
push esi
push edi
push eax
mov dword [ebp - 4], eax
call fcn.004b3100
mov eax, dword [ebp - 4]
add esp, 0xc
xor ecx, ecx
mov word [eax + esi*2], cx
mov esi, dword [ebp - 8]
mov edx, eax
mov ecx, eax
call fcn.0044ea70
test esi, esi
je 0x44eb25
mov ecx, 0x5c
mov word [ebx], cx
cmp word [ebx + 2], 0
je 0x44eb52
test al, al
je 0x44eb52
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44f620
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
push edi
test esi, esi
je 0x44f671
push 0
push 1
mov ecx, esi
call fcn.00401530
cmp byte [esi + 0x17], 0
mov ebx, eax
jne 0x44f64b
mov edi, dword [esi + 0xc]
jmp 0x44f64d
mov edi, esi
cmp byte [edi + 0x17], 1
jne 0x44f668
test byte [edi + 0x15], 8
je 0x44f660
mov ecx, edi
call fcn.00401450
mov ebp, dword [edi + 0xc]
add edi, 0xc
jmp 0x44f6a8
mov edi, 0x4fb9c0
mov ebp, dword [edi]
jmp 0x44f6a8
lea eax, [esp + 0x10]
xor ecx, ecx
push eax
lea edx, [esp + 0x24]
call fcn.00495a10
add esp, 4
test eax, eax
jne 0x44f6a0
mov eax, dword [0x4f48cc]
pop edi
pop esi
pop ebp
mov dword [eax + 0x30], 0
xor eax, eax
pop ebx
add esp, 8
ret 8
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x10]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [esp + 0x34]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [esp + 0x20], 1
cmp edi, 0xffffffff
je 0x44f6f8
xor eax, eax
mov dword [esp + 0x20], eax
test ebx, ebx
je 0x44f6ed
push eax
lea eax, [esp + 0x24]
push eax
push ebp
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [esp + 0x20]
xor ecx, ecx
cmp eax, ebp
setne cl
mov dword [esp + 0x20], ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f48cc]
mov dword [ecx + 0x30], eax
cmp edi, 0xffffffff
je 0x44f713
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x44f720
push ebx
call fcn.004b113e
add esp, 4
push dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
call fcn.0043b920
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 8

Function at 0x44f750
Capabilities:
Delete file

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, ecx
push esi
push edi
mov edi, ebx
test ebx, ebx
je 0x44f7a1
movzx eax, word [ebx]
test ax, ax
je 0x44f7de
mov esi, eax
nop word [eax + eax]
mov eax, 0x4ea378
mov edx, 0x3f
nop word [eax + eax]
cmp si, dx
je 0x44f7de
movzx ecx, word [eax + 2]
add eax, 2
mov edx, ecx
test cx, cx
jne 0x44f780
movzx eax, word [edi + 2]
add edi, 2
mov esi, eax
test ax, ax
jne 0x44f770
cmp word [ebx], 0
je 0x44f7de
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
sete byte [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f48cc]
push dword [esp + 0x14]
mov dword [ecx + 0x30], eax
mov ecx, ebp
call fcn.0043b920
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 0
push 0x44f740
push 0
push 1
push ebx
mov ecx, ebp
call fcn.0044fc60
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x44f800
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x10014
call fcn.004c5460
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, ecx
mov ecx, esi
mov dword [esp + 0x18], edi
call fcn.00410ac0
test al, al
je 0x44f836
push 0x10
push 0
push esi
call fcn.004b2a5a
add esp, 0xc
jmp 0x44f83f
push esi
call fcn.004b2533
add esp, 4
mov esi, dword [ebp + 0xc]
cmp eax, 1
je 0x44f89b
mov ecx, esi
call fcn.00466c10
test al, al
je 0x44f89b
mov eax, dword [0x4f48cc]
test byte [eax + 0x100], 1
jne 0x44f87f
mov ecx, dword [0x4f78d0]
push 1
push 0
push 0xffffffffffffffff
push 0x4e25ec
call fcn.00495fe0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x4cd2cc
push 0
push 0x4e25ec
mov ecx, edi
call fcn.0043b880
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44f852
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44f8c0
sub ecx, esi
mov eax, 0x7fff
sar ecx, 1
cmp ecx, 0x8000
cmovae ecx, eax
lea eax, [ecx*2 + 2]
push eax
push edx
lea eax, [esp + 0x28]
push eax
call fcn.004aef60
add esp, 0xc
lea eax, [esp + 0x20]
push eax
call fcn.004b7711
add esp, 4
lea eax, [esp + 0x20]
push 0xa
push eax
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [esp + 0x10], eax
test eax, eax
je 0x44f9bd
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x44f9bd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x44f9bd
cmp dword [esi], 0x4034b50
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
jne 0x44f99a
push 0
push dword [esp + 0x14]
push 0
call eax
push eax
lea edx, [esp + 0x1c]
mov ecx, esi
call fcn.00495340
add esp, 8
test eax, eax
je 0x44f995
mov edi, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push 0
push ecx
push eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call fcn.004b113e
mov edi, dword [esp + 0x1c]
add esp, 4
test esi, esi
sete al
mov byte [esp + 0x10], al
jmp 0x44f9c2
mov eax, dword [sym.imp.KERNEL32.dll_SizeofResource]
push 0
lea ecx, [esp + 0x20]
push ecx
push dword [esp + 0x18]
push 0
call eax
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
sete al
mov byte [esp + 0x10], al
jmp 0x44f9c2
mov byte [esp + 0x10], 1
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x10]
mov ecx, edi
call fcn.0043b920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44f9e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x100
push esi
push 1
push 0
push 0xffffffffffffffff
mov esi, ecx
mov ecx, dword [0x4f90f0]
push 0
call fcn.00495fe0
mov eax, dword [esp + 0x108]
test eax, eax
je 0x44fa7c
cmp word [eax], 0
je 0x44fa7c
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x44fa3f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f48cc]
push 1
mov dword [ecx + 0x30], eax
mov ecx, esi
call fcn.0043b920
pop edi
pop esi
add esp, 0x100
ret 4
mov eax, dword [0x4f48cc]
mov ecx, esi
push 0
mov dword [eax + 0x30], 0
call fcn.0043b920
mov edx, edi
lea ecx, [esp + 8]
call fcn.00492e70
mov ecx, dword [0x4f90f0]
push 1
push 0
push 0xffffffffffffffff
push eax
call fcn.00495fe0
pop edi
pop esi
add esp, 0x100
ret 4
mov eax, dword [0x4f48cc]
mov ecx, esi
push 1
mov dword [eax + 0x30], 0x57
call fcn.0043b920
pop esi
add esp, 0x100
ret 4

Function at 0x44faa0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
or ebx, 0xffffffff
xor edx, edx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], ebx
movzx eax, word [edi]
mov dword [esp + 0x1c], edx
test ax, ax
je 0x44fb9b
mov ecx, eax
nop word [eax + eax]
movzx esi, cx
test esi, 0xffffff80
je 0x44faef
xor eax, eax
jmp 0x44fb02
push 2
push esi
call fcn.004b15e4
mov edx, dword [esp + 0x24]
add esp, 8
mov ebx, dword [esp + 0x18]
mov ecx, esi
and ecx, 0xffffffdf
test eax, eax
cmove ecx, esi
add ecx, 0xffffffd5
cmp ecx, 0x33
ja case.0x44fb1b.44
movzx eax, byte [ecx + 0x44fbe4]
jmp dword [eax*4 + 0x44fbc0]
movzx eax, word [edi]
mov dword [esp + 0x10], eax
jmp case.0x44fb1b.44
mov ecx, 1
jmp 0x44fb5a
mov ecx, 0x20
jmp 0x44fb5a
mov ecx, 4
jmp 0x44fb5a
mov ecx, 2
jmp 0x44fb5a
mov ecx, 0x80
jmp 0x44fb5a
mov ecx, 0x1000
jmp 0x44fb5a
mov ecx, 0x100
mov eax, dword [esp + 0x10]
sub eax, 0x2b
je 0x44fb79
sub eax, 2
je 0x44fb71
sub eax, 0x31
jne case.0x44fb1b.44
xor edx, ecx
jmp 0x44fb85
not ecx
and ebx, ecx
and edx, ecx
jmp 0x44fb81
mov eax, ecx
not eax
and ebx, eax
or edx, ecx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], edx
movzx eax, word [edi + 2]
add edi, 2
mov ecx, eax
test ax, ax
jne 0x44fae0
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0x44fc20
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0044fc60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4503b0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
push ebx
push esi
push edi
push 1
push 0
mov esi, ecx
mov ecx, dword [0x4f90f0]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x2c], esi
call fcn.00495fe0
mov edi, dword [ebp + 8]
test edi, edi
je 0x4504e8
cmp word [edi], 0
je 0x4504e8
push 0
push 0
push 3
push 0
push 7
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x450427
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
jne 0x450472
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x450459
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [0x4f48cc]
push 1
mov dword [ecx + 0x30], eax
mov ecx, esi
call fcn.0043b920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x3c]
xor eax, eax
or eax, dword [esp + 0x40]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, dword [ebp + 0xc]
mov cx, word [eax]
call fcn.0040ba80
movzx eax, ax
sub eax, 0x4b
je 0x450492
sub eax, 2
jne 0x4504ae
push eax
push 0x100000
jmp 0x450499
push 0
push 0x400
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call fcn.004c53b0
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
mov eax, dword [0x4f48cc]
mov ecx, dword [esp + 0x1c]
push 0
mov dword [eax + 0x30], 0
call fcn.0043b920
mov ecx, dword [0x4f90f0]
push 0x18
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.004013d0
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [0x4f48cc]
mov ecx, esi
push 1
mov dword [eax + 0x30], 0x57
call fcn.0043b920
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8