joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430ac0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x154
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x12c], 0
push esi
push edi
mov esi, ecx
call fcn.0040ef42
xor edi, edi
mov dword [ebp - 0x118], 0x114
lea eax, [ebp - 0x118]
inc edi
push eax
mov dword [ebp - 0x130], edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x11c], eax
mov dword [ebp - 0x120], ecx
sub eax, 0
je 0x430bac
sub eax, edi
je 0x430b9b
sub eax, edi
jne 0x430bb6
lea eax, [ebp - 0x154]
mov dword [ebp - 0x130], 2
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x154]
push 4
pop ecx
sub eax, edi
je 0x430b85
sub eax, edi
je 0x430b79
sub eax, edi
jne 0x430b8b
mov dword [ebp - 0x130], 5
jmp 0x430b8b
mov dword [ebp - 0x130], 3
jmp 0x430b8b
mov dword [ebp - 0x130], ecx
cmp dword [ebp - 0x114], ecx
jb 0x430bb6
mov dword [ebp - 0x12c], edi
jmp 0x430bb6
movzx eax, cx
mov dword [ebp - 0x12c], edi
mov dword [ebp - 0x120], eax
jmp 0x430bb6
mov dword [ebp - 0x130], 7
lea ecx, [ebp - 0x130]
push ecx
mov ecx, esi
call fcn.0040ef50
mov ecx, eax
call fcn.00439567
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00443e8b
leave
ret

Function at 0x430d25
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
je 0x430d55
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ecx + 0xd8]
mov ecx, dword [ebp + 0x10]
movzx eax, byte [esi]
xor eax, ecx
shr ecx, 8
movzx eax, al
inc esi
xor ecx, dword [edi + eax*4]
sub edx, 1
jne 0x430d3d
pop edi
pop esi
jmp 0x430d58
mov ecx, dword [ebp + 0x10]
mov eax, ecx
pop ebp
ret 0xc

Function at 0x430ef7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
push edi
mov edi, ecx
xor esi, esi
cmp dword [edi + 0xd8], esi
jne 0x430f47
push 0x400
call fcn.00444353
pop ecx
mov dword [edi + 0xd8], eax
push ebx
push 8
mov edx, esi
pop ebx
mov ecx, edx
mov eax, edx
shr ecx, 1
mov edx, ecx
xor edx, 0xedb88320
test al, 1
cmove edx, ecx
dec ebx
test ebx, ebx
jg 0x430f1c
mov eax, dword [edi + 0xd8]
mov dword [eax + esi*4], edx
inc esi
cmp esi, 0xff
jle 0x430f17
pop ebx
pop edi
pop esi
ret
Function at 0x432fb5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x477a49
call fcn.004442f1
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
xor ebx, ebx
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
mov byte [ebp - 4], 1
push 0x60
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x433032
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x433032
call fcn.004325b0
mov esi, eax
jmp 0x433113
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x433055
call fcn.004325b0
jmp 0x433106
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x43304b
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x433088
mov esi, 0x8007000e
jmp 0x433108
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x418]
call fcn.00432473
mov dword [ebp - 4], 1
jmp 0x4330bc
cmp dword [ebp - 0x418], 0
je 0x43307e
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x43304b
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.00432e6b
mov esi, eax
test edi, edi
je 0x433113
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x43312f
lea ecx, [ebp - 0x418]
call fcn.00432822
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00444243
ret 0x10
Function at 0x434597
Capabilities:
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x477b7a
call fcn.00444285
mov esi, ecx
and dword [ebp - 0x98], 0
xor ebx, ebx
mov ecx, dword [esi + 4]
inc ebx
cmp dword [ebp + 0xc], 0xffffffff
mov eax, ebx
mov edx, dword [ebp + 8]
cmovne eax, dword [ebp + 0xc]
test ecx, ecx
je 0x4345da
lea edi, [ebp - 0x98]
push edi
push eax
push edx
call fcn.0044e177
test al, al
je 0x434631
jmp 0x434623
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434623
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434d28
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
push ebx
push eax
lea ecx, [ebp - 0x90]
call fcn.00434b17
push 0x4a3490
lea eax, [ebp - 0x90]
jmp 0x43465d
mov eax, dword [ebp - 0x98]
call fcn.00444234
ret 8
push ebx
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434d28
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push ebx
push eax
lea ecx, [ebp - 0x94]
call fcn.00434cb2
push 0x4a3504
lea eax, [ebp - 0x94]
push eax
call fcn.00452f38
int3

Function at 0x434664
Capabilities:
Read file on windows

Disassembly:
push 0x8c
mov eax, 0x477b7a
call fcn.00444285
mov esi, ecx
and dword [ebp - 0x98], 0
cmp dword [ebp + 0xc], 0xffffffff
mov ecx, dword [esi + 4]
mov edx, dword [ebp + 8]
push 8
pop eax
cmovne eax, dword [ebp + 0xc]
test ecx, ecx
je 0x4346a5
lea edi, [ebp - 0x98]
push edi
push eax
push edx
call fcn.0044e177
test al, al
je 0x4346fe
jmp 0x4346f0
push 0
lea ecx, [ebp - 0x98]
push ecx
push eax
push edx
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4346f0
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434d28
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x90]
call fcn.00434b17
push 0x4a3490
lea eax, [ebp - 0x90]
jmp 0x43472c
mov eax, dword [ebp - 0x98]
call fcn.00444234
ret 8
push 1
lea eax, [esi + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434d28
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x94]
call fcn.00434cb2
push 0x4a3504
lea eax, [ebp - 0x94]
push eax
call fcn.00452f38
int3
Function at 0x4387cb
Capabilities:
Create process on windows

Disassembly:
push 0x8cc
mov eax, 0x4793a0
call fcn.00444285
mov esi, ecx
push 0x800
xor edi, edi
lea eax, [ebp - 0x810]
push edi
push eax
call fcn.004523f0
add esp, 0xc
lea eax, [ebp - 0x810]
lea ecx, [esi + 0x10]
push 0x400
push eax
push 0x48e7d0
push str.ClickOncePackage
push str.Startup
call fcn.00411d83
cmp word [ebp - 0x810], di
jne 0x438826
xor eax, eax
jmp 0x4389a8
lea eax, [ebp - 0x8a0]
mov ecx, esi
push eax
call fcn.004368ee
mov dword [ebp - 4], edi
add eax, 4
cmp dword [eax + 0x14], 8
jb 0x438842
mov eax, dword [eax]
push 1
lea ecx, [ebp - 0x8d1]
push ecx
push eax
lea ecx, [ebp - 0x840]
call fcn.00406bc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8a0]
call fcn.00404d40
push edi
lea eax, [ebp - 0x8d1]
mov dword [ebp - 0x870], 0x48e948
push eax
lea eax, [ebp - 0x810]
mov dword [ebp - 0x848], 0x48e950
push eax
lea ecx, [ebp - 0x870]
call fcn.00407a30
mov byte [ebp - 4], 5
lea eax, [ebp - 0x8d0]
push edi
push edi
push eax
lea ecx, [ebp - 0x840]
call fcn.00406350
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x870]
push ecx
lea ecx, [ebp - 0x8a0]
push ecx
mov ecx, eax
call fcn.00406b40
mov byte [ebp - 4], 7
add eax, 4
push eax
lea ecx, [ebp - 0x83c]
call fcn.00407b10
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x8a0]
call fcn.00404d40
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x8d0]
call fcn.00404d40
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x870]
call fcn.00404d40
cmp dword [ebp - 0x828], 8
lea eax, [ebp - 0x83c]
push 4
cmovae eax, dword [ebp - 0x83c]
lea edx, [ebp - 0x8d1]
sub esp, 0x30
mov ecx, esp
mov dword [ebp - 0x8d8], esp
push 1
push edx
push eax
call fcn.0041085e
mov byte [ebp - 4], 0xb
mov byte [ebp - 4], 2
call fcn.0044652d
add esp, 0x34
test al, al
jne 0x438969
lea eax, [ebp - 0x810]
push eax
call fcn.00454be3
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x83c]
call fcn.00408080
cmp dword [ebp - 0x828], 8
lea eax, [ebp - 0x83c]
push 1
cmovae eax, dword [ebp - 0x83c]
push edi
push edi
push eax
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
sbb esi, esi
neg esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x840]
call fcn.00404d40
mov eax, esi
call fcn.00444234
ret
Function at 0x43a238
Capabilities:
Get file size

Disassembly:
push 0x88
mov eax, 0x479902
call fcn.00444285
mov ebx, ecx
cmp dword [ebx + 4], 0
mov eax, dword [ebp + 8]
je 0x43a276
test eax, eax
je 0x43a259
and dword [eax], 0
mov edi, dword [ebx + 4]
mov eax, dword [edi]
mov esi, dword [eax + 0x18]
mov ecx, esi
call dword [0x4804f8]
mov ecx, edi
call esi
mov esi, eax
cmp esi, 0xffffffff
je 0x43a2d1
jmp 0x43a2c7
push eax
push dword [ebx + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x43a2c7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x43a2c7
push 1
lea ecx, [ebx + 0xc]
push ecx
lea ecx, [ebp - 0x40]
call fcn.00434d28
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
push 1
push edi
push eax
lea ecx, [ebp - 0x90]
call fcn.00434b72
push 0x4a3490
lea eax, [ebp - 0x90]
jmp 0x43a2ff
mov eax, esi
call fcn.00444234
ret 4
push 1
lea eax, [ebx + 0xc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00434d28
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push 1
push eax
lea ecx, [ebp - 0x94]
call fcn.00434cb2
push 0x4a3504
lea eax, [ebp - 0x94]
push eax
call fcn.00452f38
int3
Function at 0x43f6f7
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebp + 8], 0
je 0x43f715
mov ecx, esi
call fcn.0043f564
pop esi
pop ebp
ret 4
Function at 0x440202
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
add esi, 4
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x440216
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x44023d
test al, 0x10
jne 0x44023d
test al, 1
je 0x44023d
cmp dword [esi + 0x14], 8
jb 0x440232
mov esi, dword [esi]
and eax, 0xfffffffe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
pop esi
pop ebp
ret 4

Function at 0x4403e5
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x60
mov eax, 0x47b658
call fcn.00444285
mov esi, ecx
mov edx, dword [ebp + 0xc]
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
add eax, 4
mov ebx, dword [edx + 0x38]
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x68], edx
mov edx, dword [edx + 0x30]
mov dword [ebp - 0x50], ecx
mov ecx, edx
shr ecx, 2
and edx, 6
and ecx, 0xffffff01
mov dword [ebp - 0x6c], ebx
cmp dword [eax + 0x14], 8
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x64], edx
jb 0x440435
mov eax, dword [eax]
push edi
push 0x80
push 2
push edi
push edi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x440462
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x44], eax
xor eax, eax
jmp 0x44055b
mov eax, 0x400
cmp ebx, eax
mov esi, eax
cmovb esi, ebx
push esi
mov dword [ebp - 0x54], esi
call fcn.00444353
pop ecx
push 0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x48], eax
push ecx
push esi
mov dword [ebp - 0x5c], 1
push eax
jmp 0x440533
cmp byte [ebp - 0x60], 0
je 0x4404cd
cmp dword [ebp - 0x64], 0
je 0x4404cd
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x40]
push eax
call fcn.0042914d
and dword [ebp - 4], 0
mov ecx, eax
call fcn.0040f205
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
call fcn.0040effc
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00404d40
push 0
lea eax, [ebp - 0x44]
push eax
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x44]
add ecx, eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x4c], ecx
test edx, edx
je 0x440511
mov eax, dword [edx]
push dword [ebp - 0x6c]
push ecx
mov esi, dword [eax]
mov ecx, esi
call dword [0x4804f8]
mov ecx, dword [ebp - 0x50]
call esi
test al, al
jne 0x440546
mov eax, dword [ebp - 0x44]
mov esi, dword [ebp - 0x54]
sub ebx, eax
je 0x44054a
test eax, eax
je 0x44054a
cmp ebx, 0x400
mov eax, ebx
push 0
cmovae eax, esi
mov esi, eax
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x44]
push eax
push esi
push dword [ebp - 0x48]
push dword [ebp - 0x58]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x44048f
jmp 0x44054a
and dword [ebp - 0x5c], 0
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x5c]
call fcn.00444234
ret 0x10
Function at 0x440717
Capabilities:
Get system information on windows
Read file via mapping

Disassembly:
push 0x54
mov eax, 0x47b6c8
call fcn.00444252
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
mov edi, dword [ebp + 0x10]
mov ebx, dword [edi + 0xa8]
mov dword [ebp - 0x18], ebx
test ebx, ebx
je 0x440846
push 0x1c
pop eax
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
mov ecx, esi
push edi
cmovne ecx, dword [ebp - 0x30]
push str..debug
mov dword [ebp - 0x20], ecx
call fcn.004409b4
pop ecx
pop ecx
test eax, eax
je 0x44077f
cmp dword [eax + 0xc], ebx
jne 0x44077f
mov ebx, dword [edi + 0xac]
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x10], ebx
jmp 0x4407dc
push edi
push 0x487d60
call fcn.004409b4
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
jne 0x4407a9
push edi
push str..text
call fcn.004409b4
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x440846
mov eax, dword [edi + 0xac]
xor edx, edx
push 0x1c
pop ecx
mov dword [ebp - 0x10], eax
div ecx
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x440846
mov ecx, dword [ebx + 0x10]
add ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
cmp eax, ecx
ja 0x440846
sub eax, dword [ebx + 0xc]
mov edi, dword [ebx + 0x14]
mov ebx, dword [ebp - 0x1c]
add edi, eax
mov eax, dword [ebp + 0xc]
add eax, edi
cmp edi, dword [ebp - 0x20]
jbe 0x440823
cmp dword [ebp + 8], 0
je 0x440823
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
xor edx, edx
mov eax, edi
div dword [ebp - 0x44]
mov eax, dword [ebp - 0x10]
mov ecx, edi
add eax, edx
sub ecx, edx
push eax
push ecx
push esi
push 4
push dword [ebp + 8]
mov dword [ebp - 0x20], ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x440846
mov dword [ebp - 0x14], eax
sub eax, dword [ebp - 0x20]
add eax, edi
test ebx, ebx
je 0x440846
lea edi, [eax + 0x10]
mov eax, dword [edi]
mov edx, esi
mov ecx, dword [edi + 8]
add ecx, eax
cmp ecx, dword [ebp + 0x14]
lea esi, [eax + edx]
push 0x1c
cmovbe esi, edx
pop eax
add edi, eax
sub ebx, 1
jne 0x44082a
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.0041d1d8
mov eax, esi
call fcn.00444220
ret
Function at 0x4411e0
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x704
mov eax, 0x47b93c
call fcn.00444285
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x420]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
push 0x208
push 0
push eax
call fcn.004523f0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x4affe8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x70c]
call fcn.0043fd2d
and dword [ebp - 4], 0
mov eax, 0x4ab6b0
cmp dword [0x4ab6c4], 8
cmovae eax, dword [0x4ab6b0]
push eax
lea eax, [ebp - 0x70c]
push eax
call fcn.00442212
pop ecx
pop ecx
test eax, eax
je 0x44138a
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.004523f0
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.004523f0
add esp, 0x18
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push 0
push 0x488004
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0
lea eax, [ebp - 0x70d]
mov dword [ebp - 0x678], 0x48e948
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x650], 0x48e950
push eax
lea ecx, [ebp - 0x678]
call fcn.004105ca
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6a8]
push eax
mov ecx, 0x4ab6ac
call fcn.0041999a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x678]
push 0
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.00440563
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a8]
call fcn.00404d40
lea ecx, [ebp - 0x648]
call fcn.00410423
mov byte [ebp - 4], 6
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x648]
call fcn.0041211c
push dword [ebp + 0x14]
lea ecx, [ebp - 0x648]
push ebx
push 0x48e7d0
push edi
push esi
call fcn.00411d83
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x648]
call fcn.00410e97
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00404d40
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.004400bb
call fcn.00444234
ret
Function at 0x44139f
Capabilities:
Delete file
Get common file path

Disassembly:
push 0x70c
mov eax, 0x47b9ce
call fcn.00444285
mov eax, dword [ebp + 0xc]
mov esi, 0x208
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x718], eax
mov eax, dword [ebp + 0x10]
push esi
mov dword [ebp - 0x714], eax
lea eax, [ebp - 0x420]
push ebx
push eax
call fcn.004523f0
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push dword [0x4affe8]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x70c]
call fcn.0043fd2d
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x218]
push esi
push ebx
push eax
call fcn.004523f0
cmp dword [0x4ab5a4], 8
mov esi, 0x4ab590
mov eax, esi
cmovae eax, dword [0x4ab590]
push eax
lea eax, [ebp - 0x70c]
push eax
call fcn.00442212
add esp, 0x14
test eax, eax
je 0x441503
push 0x208
xor esi, esi
lea eax, [ebp - 0x628]
push esi
push eax
mov bl, 1
call fcn.004523f0
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x218]
push eax
push esi
push 0x488004
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push esi
lea eax, [ebp - 0x70d]
mov dword [ebp - 0x678], 0x48e948
push eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x650], 0x48e950
push eax
lea ecx, [ebp - 0x678]
call fcn.004105ca
mov byte [ebp - 4], 2
lea eax, [ebp - 0x6a8]
push eax
mov ecx, 0x4ab58c
call fcn.0041999a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x678]
push esi
push ecx
push eax
lea ecx, [ebp - 0x70c]
call fcn.00440563
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x6a8]
call fcn.00404d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x678]
call fcn.00404d40
jmp 0x441557
cmp word [0x4af7e0], 0
je 0x441521
push 0x4af7e0
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x441557
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.004422a2
cmp dword [0x4ab5a4], 8
lea eax, [ebp - 0x218]
cmovae esi, dword [0x4ab590]
push esi
push eax
push eax
call fcn.00441f44
lea ecx, [ebp - 0x648]
call fcn.00410423
mov byte [ebp - 4], 7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x648]
call fcn.0041211c
push dword [ebp + 0x14]
lea ecx, [ebp - 0x648]
push dword [ebp - 0x714]
push 0x48e7d0
push dword [ebp - 0x718]
push edi
call fcn.00411d83
test bl, bl
je 0x4415a9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x648]
call fcn.00410e97
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70c]
call fcn.004400bb
call fcn.00444234
ret
Function at 0x44207d
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
mov dword [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push 2
pop edx
xor ecx, ecx
add eax, edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00444353
pop ecx
push dword [ebp + 8]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x481c30
push edi
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
mov dword [ebp - 8], eax
test eax, eax
je 0x442113
push 0x5c
pop ecx
cmp word [esi], cx
jne 0x442105
xor eax, eax
push eax
push edi
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4420fc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x44210f
mov eax, dword [ebp - 8]
push 0x5c
pop ecx
mov word [esi], cx
add esi, 2
inc ebx
cmp ebx, eax
jb 0x4420d9
jmp 0x442113
and dword [ebp - 4], 0
push edi
call fcn.00443fbc
mov eax, dword [ebp - 4]
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44216c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push dword [0x4ab748]
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x804]
push eax
call fcn.00441f44
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0xc0000000
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x4421bc
xor eax, eax
jmp 0x4421d3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00443e8b
leave
ret

Function at 0x442517
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x4ab7b4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [0x4b0800], esi
jne 0x44253d
mov eax, dword [0x4ab74c]
cmp eax, 0xffffffff
jne 0x44258f
push 0x14
lea eax, [ebp - 0x2c]
push eax
push 0x1004
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jle 0x44258a
lea eax, [ebp - 0x2c]
push eax
call fcn.00457ea4
pop ecx
push 2
lea ecx, [ebp - 0x4c]
push ecx
push eax
call dword [sym.imp.GDI32.dll_TranslateCharsetInfo]
test eax, eax
je 0x442579
movsx eax, word [ebp - 0x4c]
mov dword [0x4ab74c], eax
jmp 0x44258f
push 1
push esi
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x44258a
xor eax, eax
jmp 0x44258f
mov eax, dword [0x4ab74c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00443e8b
leave
ret