joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46a258
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf0
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405584
xor eax, eax
push ebp
push 0x46a3bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x40c]
xor ecx, ecx
mov edx, 0x400
call fcn.004039f4
lea eax, [ebp - 0x40c]
mov edx, 0x46a3d4
call fcn.0040a5e0
push 0
lea eax, [ebp - 0x40c]
call fcn.0040a4f4
push eax
lea eax, [ebp - 0x40c]
push eax
push ebx
call sub.wsock32.dll_send
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0046a044
mov eax, dword [ebp - 8]
cmp byte [eax], 0x32
je 0x46a2e2
xor esi, esi
jmp 0x46a397
mov dl, 1
mov eax, dword [0x418ac4]
call fcn.004041d4
mov ebx, eax
mov dl, 0x2c
mov eax, ebx
call fcn.0041cec8
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0041ccb0
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 2
jg 0x46a31a
xor esi, esi
mov eax, ebx
call fcn.00404204
jmp 0x46a397
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
dec edx
lea ecx, [ebp - 0xc]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
lea eax, [ebp - 0xc]
push eax
mov edx, dword [ebp - 0xc]
mov eax, 0x46a3e4
call fcn.004056e0
mov ecx, eax
dec ecx
mov edx, 1
mov eax, dword [ebp - 0xc]
call fcn.004055fc
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x14]
mov edx, eax
sub edx, 2
lea ecx, [ebp - 0x410]
mov eax, ebx
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, dword [ebp - 0x410]
call fcn.00409de8
mov esi, eax
shl esi, 8
mov eax, dword [ebp - 0xc]
call fcn.00409de8
add esi, eax
mov eax, esi
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.0046a058
mov esi, eax
mov eax, ebx
call fcn.00404204
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a3c4
lea eax, [ebp - 0x410]
call fcn.00405104
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00405128
ret
Function at 0x46a748
Capabilities:
Print debug messages
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff7e8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x818], ebx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov ebx, eax
mov eax, dword [ebp - 4]
call fcn.00405584
mov eax, dword [ebp + 8]
call fcn.00405584
xor eax, eax
push ebp
push 0x46a971
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp + 8]
call fcn.0040a1ac
test al, al
je 0x46a7a7
push 2
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x418cc4]
call fcn.0041db50
mov dword [ebp - 0x14], eax
jmp 0x46a7be
push 0xffff
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [0x418cc4]
call fcn.0041db50
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46a941
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x46a984
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov esi, eax
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0046a498
mov dword [ebp - 0x10], eax
lea edx, [ebp - 0x818]
mov eax, dword [ebp - 0x10]
call fcn.00409cac
mov eax, dword [ebp - 0x818]
call fcn.00405594
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [ebp - 0x10], 0
jle 0x46a8b0
cmp esi, dword [ebp - 0x10]
jl 0x46a828
mov byte [ebp - 9], 1
call fcn.00404b24
jmp 0x46a948
test esi, esi
jle 0x46a843
push 0
push 0
mov dl, 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, esi
mov eax, ebx
call fcn.0046a5d4
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0046a690
cmp esi, dword [ebp - 0x10]
jge 0x46a8a1
lea eax, [ebp - 0x814]
xor ecx, ecx
mov edx, 0x800
call fcn.004039f4
push 0
push 0x800
lea eax, [ebp - 0x814]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x46a893
lea edx, [ebp - 0x814]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0041d900
add esi, ebx
cmp byte [0x4a596c], 1
je 0x46a8a1
cmp esi, dword [ebp - 0x10]
jl 0x46a852
cmp esi, dword [ebp - 0x10]
jne 0x46a92b
mov byte [ebp - 9], 1
jmp 0x46a92b
cmp dword [ebp - 0x10], 0xfffffffe
jne 0x46a92b
test esi, esi
jle 0x46a8d1
push 0
push 0
mov dl, 2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov edx, esi
mov eax, ebx
call fcn.0046a5d4
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0046a690
lea eax, [ebp - 0x814]
xor ecx, ecx
mov edx, 0x800
call fcn.004039f4
push 0
push 0x800
lea eax, [ebp - 0x814]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wsock32.dll_recv
mov ebx, eax
test ebx, ebx
jle 0x46a91a
lea edx, [ebp - 0x814]
mov ecx, ebx
mov eax, dword [ebp - 0x14]
call fcn.0041d900
cmp byte [0x4a596c], 1
je 0x46a927
test ebx, ebx
jg 0x46a8db
mov byte [ebp - 9], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a948
mov eax, dword [ebp - 0x14]
call fcn.00404204
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a978
lea eax, [ebp - 0x818]
call fcn.00405104
lea eax, [ebp - 4]
call fcn.00405104
lea eax, [ebp + 8]
call fcn.00405104
ret
Function at 0x46b430
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x408178]
call fcn.00405b94
xor eax, eax
push ebp
push 0x46b5d1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4a5970], 0
jne 0x46b48b
mov ecx, dword [0x4a7078]
mov dl, 1
mov eax, dword [0x4087b4]
call fcn.0040e790
call fcn.00404a78
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.004039f4
mov eax, ebx
call fcn.00405a44
mov dword [ebp - 0x24], eax
mov esi, 0x46b5e0
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406c64
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.00405a54
test eax, eax
jle 0x46b574
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x46b560
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405374
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x46b506
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.0040538c
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x46b51c
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.0040538c
mov eax, dword [ebp - 0x54]
call fcn.00405594
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00405374
mov eax, dword [ebp - 0x58]
call fcn.00405594
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x46b562
xor eax, eax
test al, al
je 0x46b56d
mov ebx, 0x15
jmp 0x46b579
mov ebx, 0x10
jmp 0x46b579
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x4a5970]
call fcn.0046b2b0
mov eax, dword [ebp - 4]
call fcn.0046b2b0
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406c7c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b5d8
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00405128
lea eax, [ebp - 0xc]
mov edx, dword [0x408178]
call fcn.00405c64
ret
Function at 0x4717b4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee8
push ebx
xor edx, edx
mov dword [ebp - 0x118], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x471897
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405104
lea eax, [ebp - 8]
push eax
push 0x23
push 0
call sub.shell32.dll_SHGetSpecialFolderLocation
test eax, eax
jne 0x47183e
lea eax, [ebp - 0x10d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
test eax, eax
je 0x47183e
lea edx, [ebp - 0x114]
lea eax, [ebp - 0x10d]
call fcn.0040a760
push dword [ebp - 0x114]
push 0x4718ac
push 0x4718b8
push 0x4718ac
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405498
mov eax, dword [ebp - 4]
call fcn.0040a1d0
test al, al
jne 0x471867
lea edx, [ebp - 0x118]
mov eax, dword [ebp - 4]
call fcn.0040a374
mov eax, dword [ebp - 0x118]
call fcn.0040a1f4
test al, al
je 0x471871
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00405158
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47189e
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00405128
lea eax, [ebp - 4]
call fcn.00405104
ret

Function at 0x4900f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x49014a
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004900e0
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0048d9d0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0048d4e8
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x490151
lea eax, [ebp - 4]
call fcn.00405104
ret
Function at 0x49acb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 4], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49ae4e
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.004718c0
mov esi, eax
test esi, esi
jne 0x49ace3
mov esi, 0x21c
fld qword [ebx + 0xcf8]
fcomp dword [0x49ae5c]
wait
fnstsw ax
sahf
je 0x49ad0a
call fcn.0040c050
fcomp qword [ebx + 0xcf8]
wait
fnstsw ax
sahf
jb 0x49ae2b
call fcn.0040c050
add esp, 0xfffffff8
fstp qword [esp]
wait
push dword [ebx + 0x4c]
push dword [ebx + 0x48]
call fcn.004691c4
push edx
push eax
mov eax, esi
cdq
cmp edx, dword [esp + 4]
jne 0x49ad39
cmp eax, dword [esp]
pop edx
pop eax
jae 0x49ae2b
jmp 0x49ad41
pop edx
pop eax
jge 0x49ae2b
xor eax, eax
mov dword [ebx + 0xcf8], eax
mov dword [ebx + 0xcfc], 0x3ff00000
mov word [ebp - 0x44], 0x507
mov word [ebp - 0x42], 1
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebx + 0x273]
mov dword [ebp - 0x3c], eax
lea edx, [ebp - 8]
mov eax, ebx
call fcn.0049a5c0
mov eax, dword [ebp - 8]
call fcn.00405594
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp dword [ebp - 8], 0
je 0x49adc1
push 0x49ae68
push dword [ebp - 8]
push 0x49ae74
lea eax, [ebp - 0x58]
mov edx, 3
call fcn.00405498
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0x54]
call fcn.00409504
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x28]
mov ecx, 0x10
call fcn.00407f7c
mov eax, dword [ebx + 0x8bb]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xada]
mov dword [ebp - 0x34], eax
call fcn.0040c050
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00423dd0
cmp eax, dword [ebx + 0xcf4]
jle 0x49adf2
mov byte [ebp - 0x2f], 1
jmp 0x49adf6
mov byte [ebp - 0x2f], 0
lea edx, [ebp - 4]
mov eax, 0x49ae80
call fcn.0046993c
cmp dword [ebp - 4], 0
je 0x49ae22
mov eax, dword [ebp - 4]
push eax
push 0x19aa
lea edx, [ebp - 0x44]
mov ecx, 0x3c
mov eax, dword [ebx + 0x58]
call fcn.0046904c
call fcn.0040c050
fstp qword [ebx + 0x48]
wait
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ae55
lea eax, [ebp - 0x58]
call fcn.00405104
lea eax, [ebp - 8]
mov edx, 2
call fcn.00405128
ret
Function at 0x49f5c0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x10
add esp, 0xfffff004
push eax
dec eax
jne 0x49f5c9
mov eax, dword [ebp - 4]
add esp, 0xfffffebc
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405584
xor eax, eax
push ebp
push 0x49f69c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4a75c4]
mov byte [eax], 0
or ebx, 0xffffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x154]
call fcn.004036f0
mov edx, 1
lea eax, [ebp - 0x154]
call fcn.00403b98
call fcn.00403108
test eax, eax
jne 0x49f679
lea eax, [ebp - 8]
push eax
lea edx, [ebp - 0x10145]
mov ecx, 0xfff1
lea eax, [ebp - 0x154]
call fcn.0040384c
movzx edx, word [ebp - 8]
test dx, dx
jbe 0x49f673
lea eax, [ebp - 0x10145]
movzx ecx, byte [eax]
mov esi, ebx
and esi, 0xff
xor ecx, esi
mov ecx, dword [ecx*4 + 0x4a6c24]
shr ebx, 8
xor ecx, ebx
mov ebx, ecx
inc eax
dec dx
jne 0x49f652
cmp dword [ebp - 8], 0
jne 0x49f629
lea eax, [ebp - 0x154]
call fcn.0040388c
not ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f6a3
lea eax, [ebp - 4]
call fcn.00405104
ret

Function at 0x49f7c4
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
xor edx, edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49f847
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1e]
xor ecx, ecx
mov edx, 0x1e
call fcn.004039f4
xor eax, eax
mov dword [ebp - 0x1e], eax
mov dword [ebp - 0x1a], 3
lea eax, [ebp - 0x24]
mov ecx, 0x49f860
mov edx, ebx
call fcn.0040541c
mov eax, dword [ebp - 0x24]
call fcn.00405594
mov dword [ebp - 0x16], eax
mov eax, 0x49f864
mov dword [ebp - 0x12], eax
mov word [ebp - 0xe], 0x14
lea eax, [ebp - 0x1e]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49f84e
lea eax, [ebp - 0x24]
call fcn.00405104
ret
Function at 0x405494
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4054fa
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404760
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004033a8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4054e4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405501
lea eax, [ebp - 0x10]
call fcn.0040450c
ret

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

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040498c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x406975
test al, 0x10
jne 0x406979
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x406ac0
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.0040498c
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x406ae2
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x407a60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407a99
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045fc
jmp 0x407aa2
mov eax, ebx
mov edx, esi
call fcn.00404560
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x407aac
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x407acd
mov al, byte [esp]
jmp 0x407acf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x408164
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x407fcc
mov eax, dword [0x40c454]
cmp byte [eax], 0
je 0x4081e0
mov eax, dword [0x40c3a8]
call fcn.0040302c
call fcn.004029a8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00406e94
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x408228
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x408216
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x40c388]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40d660]
call fcn.00404e64
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x408df0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x408e54
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404760
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040692c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408e5b
lea eax, [ebp - 0xc]
call fcn.0040450c
ret

Function at 0x409c48
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
xor edx, edx
mov dword [ebp - 0x10c], edx
mov dword [ebp - 0x114], edx
mov dword [ebp - 0x110], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409cff
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x105]
push eax
push 0x105
call sub.kernel32.dll_GetTempPathA
lea eax, [ebp - 0x110]
lea edx, [ebp - 0x105]
mov ecx, 0x105
call fcn.00404760
mov eax, dword [ebp - 0x110]
lea edx, [ebp - 0x10c]
call fcn.00408bec
push dword [ebp - 0x10c]
push 0x409d14
lea eax, [ebp - 0x114]
mov edx, dword [0x40c484]
call fcn.00404754
push dword [ebp - 0x114]
push 0x409d24
mov eax, ebx
mov edx, 4
call fcn.0040484c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409d06
lea eax, [ebp - 0x114]
mov edx, 3
call fcn.00404530
ret
Function at 0x409d28
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
xor eax, eax
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x15c], eax
lea eax, [ebp - 0x158]
mov edx, dword [0x405d58]
call fcn.00404bb8
xor eax, eax
push ebp
push 0x409f39
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x15c]
mov ecx, 0x409f50
call fcn.004047d8
mov eax, dword [ebp - 0x15c]
lea ecx, [ebp - 0x158]
mov edx, 0x10
call fcn.00406b54
mov ebx, eax
test ebx, ebx
jne 0x409ebd
xor eax, eax
push ebp
push 0x409eb6
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x409e9d
mov eax, dword [ebp - 0x14c]
mov edx, 0x409f5c
call fcn.004048d8
je 0x409e88
mov eax, dword [ebp - 0x14c]
mov edx, 0x409f68
call fcn.004048d8
je 0x409e88
test byte [ebp - 0x150], 0x10
je 0x409e88
mov eax, dword [ebp + 8]
mov edx, dword [eax - 4]
lea eax, [ebp - 0x160]
mov ecx, dword [ebp - 0x14c]
call fcn.004047d8
mov eax, dword [ebp - 0x160]
xor edx, edx
call fcn.00406ac0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040478c
inc eax
push eax
lea eax, [ebp - 0x164]
mov ecx, 0x409f74
mov edx, dword [ebp - 0x14c]
call fcn.004047d8
mov eax, dword [ebp - 0x164]
mov edx, dword [ebp + 8]
add edx, 0xfffffffc
pop ecx
call fcn.00404a74
mov eax, dword [ebp + 8]
push eax
call fcn.00409d28
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040478c
mov ebx, eax
mov eax, dword [ebp - 0x14c]
call fcn.0040478c
sub ebx, eax
inc ebx
push ebx
mov eax, dword [ebp - 0x14c]
call fcn.0040478c
mov ecx, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
pop edx
call fcn.00404a2c
lea eax, [ebp - 0x158]
call fcn.00406ba4
mov ebx, eax
test ebx, ebx
je 0x409db7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ebd
lea eax, [ebp - 0x158]
call fcn.00406bc8
ret
lea edx, [ebp - 0x168]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00408c2c
mov edx, dword [ebp - 0x168]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.004045a4
push 4
push 0
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0040498c
push eax
call sub.kernel32.dll_MoveFileExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409f40
lea eax, [ebp - 0x168]
call fcn.0040450c
lea eax, [ebp - 0x164]
call fcn.0040450c
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00404530
lea eax, [ebp - 0x158]
mov edx, dword [0x405d58]
call fcn.00404c7c
ret
Function at 0x409ff0
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
mov esi, 0x40c2f0
xor eax, eax
push ebp
push 0x40a177
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x40a0b7
lea edx, [ebp - 4]
mov eax, edi
call fcn.00407a14
mov edx, dword [ebp - 4]
mov eax, 0x40a190
call fcn.00404ad0
test eax, eax
jne 0x40a053
push ebx
push 0x40a19c
push 0x40a19c
push dword [ebp - 4]
lea eax, [ebp - 4]
mov edx, 4
call fcn.0040484c
jmp 0x40a077
mov al, byte [0x40a1a0]
push eax
lea eax, [ebp - 8]
push eax
mov edx, 0x40a190
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.004093cc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.004045a4
push 0x10
push 0
mov eax, dword [ebp - 4]
call fcn.0040498c
push eax
push 0
call sub.user32.dll_MessageBoxA_1
mov eax, dword [0x50da7c]
push eax
call sub.user32.dll_DestroyWindow
mov eax, dword [0x50da80]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [0x50da84]
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [0x40c340]
mov dword [eax], 0xffffffff
mov edi, 1
jmp 0x40a135
mov ebx, edi
jmp 0x40a0c3
inc ebx
mov eax, dword [esi]
call fcn.0040478c
cmp ebx, eax
jg 0x40a0dd
mov eax, dword [esi]
mov al, byte [eax + ebx - 1]
mov edx, 0x40a19c
cmp al, byte [edx]
jne 0x40a0c2
mov eax, dword [esi]
call fcn.0040478c
cmp ebx, eax
jg 0x40a11a
push 0x50da70
mov ecx, ebx
sub ecx, edi
mov edx, edi
mov eax, dword [esi]
call fcn.004049ec
xor edx, edx
mov eax, dword [0x50da70]
call fcn.00406ac0
push 4
push 0
mov eax, dword [0x50da70]
call fcn.0040498c
push eax
call sub.kernel32.dll_MoveFileExA
lea eax, [ebp - 0xc]
mov edx, 0x40a19c
mov dl, byte [edx]
call fcn.004046d8
mov eax, dword [ebp - 0xc]
call fcn.0040478c
mov edi, eax
add edi, ebx
mov eax, dword [esi]
call fcn.0040478c
cmp edi, eax
jle 0x40a0be
cmp dword [0x40c2e4], 0
je 0x40a157
mov eax, dword [0x40c2e4]
call fcn.00409f78
call fcn.00404414
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a17e
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404530
ret