joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446498
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x464b12
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
mov dword [ebp - 0x48], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
push 0x47c168
push 0x47c16c
push 0x47c17c
mov ecx, dword [ebp - 0x48]
add ecx, 0x61c
push ecx
lea edx, [ebp - 0x28]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x50]
push ecx
lea edx, [ebp - 0x2c]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x58]
push ecx
lea edx, [ebp - 0x30]
push edx
call sub.MFC42.DLL_operator_2
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_operator_1
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x30]
call fcn.0045dfd8
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x2c]
call fcn.0045dfd8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0045dfd8
push ecx
mov eax, esp
mov dword [ebp - 0x34], esp
lea ecx, [ebp - 0x10]
push ecx
push str.Checkout__strRNPath:
push eax
call sub.MFC42.DLL_operator
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x48]
add ecx, 0xc4
call fcn.0045ce61
lea ecx, [ebp - 0x24]
call fcn.00407dc0
lea edx, [ebp - 0x40]
push edx
call sub.MFC42.DLL_COleDateTime::GetTickCount
push eax
lea ecx, [ebp - 0x24]
call fcn.00407df0
push str.DT_Y_m_d_H_M_S
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_COleDateTime::Format
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator_1
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x18]
call fcn.00412270
push eax
lea ecx, [ebp - 0x10]
call fcn.00412270
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov dword [ebp - 0x44], 1
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x18]
call fcn.0045dfd8
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call fcn.0045dfd8
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0045dfd8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.0045dfd8
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x456a37
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push 0x47d61c
mov eax, dword [ebp - 0xc]
add eax, 0x634
push eax
call fcn.00405cf0
and eax, 0xff
test eax, eax
je 0x456aa3
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x43a095
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x456a99
push 0
push 0
push 0x47d620
call sub.MFC42.DLL_AfxMessageBox
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret

Function at 0x4588a7
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
push str.PANASONIC
mov eax, dword [ebp - 0xc]
add eax, 0x634
push eax
call fcn.00405cf0
and eax, 0xff
test eax, eax
je 0x458913
mov dword [ebp - 8], 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x439d07
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x458909
push 0
push 0
push 0x47d7fc
call sub.MFC42.DLL_AfxMessageBox
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x10005480
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 8]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.1000481a
add esp, 0x14
call fcn.1000463e
in eax, 0xfe
loope 0x100054f9
push dword [ebp - 0x698]
push 1
push dword [ebp - 0x674]
call dword [ebp - 0x39c]
mov eax, dword [ebp - 0x33c]
mov esp, dword [ebp + 0x1c]
mov dword [esp - 4], eax
popal
add esp, 0x14
jmp dword [esp - 0x38]
pop ss
aam 0xb2
and byte [ebp - 0x230], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x504], 0
push 0x40
pop ecx
xor eax, eax
invalid
invalid
std

Function at 0x10005ab0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc edx
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b

Function at 0x10005ac0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
invalid
invalid
Function at 0x42c430
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x24]
mov dword [ebp - 4], eax
mov dword [ebp - 8], edx
mov byte [ebp - 0xc], cl
push 4
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
push dword [ebp - 4]
call sub.kernel32.dll_GetLocaleInfoW
mov dword [ebp - 0x1c], eax
cmp eax, 2
jle 0x42c4da
mov eax, dword [ebp - 0x1c]
sub eax, 2
test eax, eax
jl 0x42c4f6
mov dword [ebp - 0x20], 0xffffffff
lea esi, [esi]
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov dx, word [ebp + edx*2 - 0x18]
mov word [ebp - 0x24], dx
mov edx, dword [ebp - 0x20]
mov dx, word [ebp + edx*2 - 0x18]
cmp dx, 0x20
jb 0x42c4f6
sub dx, 0x20
je 0x42c4d0
sub dx, 0x80
je 0x42c4d0
sub dx, 0x1f62
jb 0x42c4f6
sub dx, 1
jbe 0x42c4d0
sub dx, 6
je 0x42c4d0
sub dx, 0x26
jne 0x42c4f6
nop
jmp 0x42c4d0
cmp eax, dword [ebp - 0x20]
jg 0x42c478
lea esi, [esi]
jmp 0x42c4f6
cmp dword [ebp - 0x1c], 2
jne 0x42c4ea
mov ax, word [ebp - 0x18]
mov word [ebp - 0x24], ax
jmp 0x42c4f6
mov al, byte [ebp - 0xc]
call fcn.0040b230
mov word [ebp - 0x24], ax
mov ax, word [ebp - 0x24]
sub ax, 0x7f
jbe 0x42c574
sub ax, 0x21
je 0x42c588
sub ax, 0x17
je 0x42c594
sub ax, 0x222
je 0x42c5a0
sub ax, 0x392
je 0x42c5a8
sub ax, 1
je 0x42c5b0
sub ax, 0x1996
je 0x42c5b8
sub ax, 1
je 0x42c5c0
sub ax, 6
je 0x42c5c8
sub ax, 0xb
je 0x42c5d8
sub ax, 0x1b
je 0x42c5d0
sub ax, 0x367
je 0x42c5e0
jmp 0x42c5e8
mov ax, word [ebp - 0x24]
call fcn.0040b2d0
mov byte [ebp - 0x10], al
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x20
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x2e
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x27
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x2c
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x27
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x20
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x20
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x20
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x20
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x2d
jmp 0x42c5f0
mov byte [ebp - 0x10], 0x27
jmp 0x42c5f0
mov al, byte [ebp - 0xc]
mov byte [ebp - 0x10], al
mov esi, esi
mov al, byte [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x438dd0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x118]
push ebx
push esi
push edi
mov esi, eax
mov edi, edx
mov dword [ebp - 0x118], ecx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov al, byte [ebp + 8]
mov byte [ebp - 0x110], al
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00438dc0
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0x114]
push dword [ebp - 0x118]
push edi
call sub.kernel32.dll_FindResourceA
mov dword [esi + 0x10], eax
test eax, eax
jne 0x438ee0
mov al, byte [ebp - 0x110]
test al, al
je 0x438ea9
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404df0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409260
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a030
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58b878
call fcn.00451f40
mov edx, 0x438e3a
mov ecx, ebp
call fcn.004145d0
jmp 0x438ee0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58b878
call fcn.00451f40
mov edx, 0x438ea9
mov ecx, ebp
call fcn.004145d0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_LoadResource
mov dword [esi + 0x14], eax
test eax, eax
jne 0x438fa4
mov al, byte [ebp - 0x110]
test al, al
je 0x438f6d
push 0xff
mov eax, dword [ebp - 0x118]
lea ecx, [ebp - 0x10c]
mov edx, 0xffffffff
call fcn.00404df0
lea ecx, [ebp - 0xc]
xor dx, dx
lea eax, [ebp - 0x10c]
call fcn.00409260
xor cl, cl
xor dx, dx
lea eax, [ebp - 0xc]
call fcn.0040a030
mov eax, dword [ebp - 0xc]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0xb
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58b878
call fcn.00451f40
mov edx, 0x438efe
mov ecx, ebp
call fcn.004145d0
jmp 0x438fa4
mov eax, dword [ebp - 0x118]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 6
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [str.Resource___s__not_found]
mov edx, 1
mov eax, 0x58b878
call fcn.00451f40
mov edx, 0x438f6d
mov ecx, ebp
call fcn.004145d0
push dword [esi + 0x10]
push edi
call sub.kernel32.dll_SizeofResource
mov ebx, eax
push dword [esi + 0x14]
call sub.kernel32.dll_LockResource
mov edx, eax
mov eax, esi
mov ecx, ebx
call fcn.00438760
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00438dc0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x43c060
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov eax, 0x58c504
call fcn.0040ce00
test al, al
je 0x43c146
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
call fcn.0043c160
xor eax, eax
push fcn.0043c050
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0xc4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x18]
mov byte [edx + 0x18], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1a]
mov byte [edx + 0x1a], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1b]
mov byte [edx + 0x1b], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x1c]
mov byte [edx + 0x1c], al
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 8]
add eax, 0x30
call fcn.004089e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x2c]
mov dword [edx + 0x2c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
call fcn.0043b270
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 8]
call fcn.0043adc0
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
call dword [ecx + 0xb0]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.0043c050
jmp 0x43c151
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0043e5f0
mov esp, ebp
pop ebp
ret
Function at 0x4485a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc20]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc10], 0
xor eax, eax
push fcn.00448590
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xfffffff
mov edx, dword [ebp - 4]
lea eax, [ebp - 0xc10]
call fcn.004089e0
lea eax, [ebp - 0xc10]
call fcn.00403a90
lea eax, [ebp - 0xc1c]
push eax
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x448600
mov eax, 0x5e02f0
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0xc18], eax
cmp eax, 0xc00
jbe 0x4486aa
mov edx, dword [ebp - 0xc18]
lea eax, [ebp - 0xc0c]
call fcn.0040f840
xor eax, eax
push fcn.00448580
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
push dword [ebp - 0xc0c]
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x44865c
mov eax, 0x5e02f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x448698
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x59101c
push eax
push dword [ebp - 0xc0c]
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x448698
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea esi, [esi]
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448580
jmp 0x448708
lea eax, [ebp - 0xc08]
push eax
push dword [ebp - 0xc18]
push dword [ebp - 0xc1c]
mov eax, dword [ebp - 0xc10]
test eax, eax
jne 0x4486cc
mov eax, 0x5e02f0
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x448708
lea eax, [ebp - 0xc14]
push eax
lea eax, [ebp - 0xc20]
push eax
mov eax, 0x59101c
push eax
lea eax, [ebp - 0xc08]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x448708
mov eax, dword [ebp - 0xc20]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
mov esi, esi
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00448590
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x453450
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x26c]
push ebx
push esi
mov dword [ebp - 4], eax
mov byte [ebp - 8], dl
mov bl, cl
mov edx, 0x591f00
lea eax, [ebp - 0x268]
call fcn.0040e5f0
xor eax, eax
push fcn.00453430
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
test eax, eax
jne 0x453493
mov eax, 0x5e02f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esi, eax
cmp esi, 0xffffffff
jne 0x4534db
call sub.kernel32.dll_GetLastError
cmp eax, 0xa1
jbe 0x4534af
clc
jmp 0x4534b6
bt dword [0x5914d0], eax
jb 0x4534cf
mov eax, ebp
call fcn.00453580
test al, al
je 0x4534cf
mov byte [ebp - 0x26c], 1
jmp 0x453560
mov byte [ebp - 0x26c], 0
jmp 0x453560
mov eax, esi
and eax, 0x10
movzx edx, byte [ebp - 8]
cmp eax, dword [edx*4 + 0x565e60]
sete byte [ebp - 0x26c]
mov al, bl
and al, byte [ebp - 0x26c]
je 0x453560
and esi, 0x400
je 0x453560
lea ebx, [ebp - 0x268]
mov edx, 0x591f00
mov eax, ebx
call fcn.0040e6b0
mov edx, ebx
mov eax, dword [ebp - 4]
xor cl, cl
call fcn.004530f0
test eax, eax
je 0x453534
sub eax, 1
je 0x45354c
jmp 0x453558
mov dl, byte [ebp - 8]
mov eax, dword [ebp - 0x268]
xor cl, cl
call fcn.00453450
mov byte [ebp - 0x26c], al
jmp 0x453560
mov byte [ebp - 0x26c], 1
jmp 0x453560
mov byte [ebp - 0x26c], 0
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00453430
mov al, byte [ebp - 0x26c]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x453770
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
test eax, eax
jne 0x45377c
mov eax, 0x5e02f0
push eax
call sub.kernel32.dll_GetFileAttributesW
mov esp, ebp
pop ebp
ret

Function at 0x453840
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov edi, eax
mov esi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
xor eax, eax
push fcn.00453830
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
test ebx, ebx
jle 0x4538b0
lea edx, [ebx - 1]
lea eax, [ebp - 4]
call fcn.0040b5d0
cmp ebx, 1
jle 0x4538a0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoW
mov ebx, eax
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
xor dx, dx
call fcn.0040ad80
jmp 0x4538bb
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.004089e0
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
mov eax, ebp
call fcn.00453830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x453cc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x10]
push ebx
push esi
mov dword [ebp - 0x10], 0
xor eax, eax
push fcn.00453cb0
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea esi, [esi]
add ebx, 1
lea eax, [ebx*4 + 0x5e3acc]
xor edx, edx
call fcn.004089e0
mov dword [ebx*4 + 0x5e3aec], 0xffffffff
cmp ebx, 7
jl 0x453ce8
call sub.kernel32.dll_GetThreadLocale
mov esi, eax
push 0xb
lea eax, [ebp - 0xc]
push eax
push 0x100b
push esi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x453d74
lea esi, [esi]
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
xor cx, cx
mov edx, 0xa
call fcn.004093d0
mov eax, dword [ebp - 0x10]
mov edx, 1
call fcn.0044a520
mov ebx, eax
sub eax, 3
cmp eax, 3
jae 0x453d74
push 4
push ebx
push esi
mov eax, 0x453b90
push eax
call sub.kernel32.dll_EnumCalendarInfoA
push 3
push ebx
push esi
mov eax, 0x453c20
push eax
call sub.kernel32.dll_EnumCalendarInfoA
nop
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00453cb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4543c0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x14]
push ebx
push esi
push edi
mov ebx, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
xor eax, eax
push fcn.00454390
push ebp
push 0x414710
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
xor edx, edx
call fcn.0040af30
call sub.kernel32.dll_GetEnvironmentStringsW
mov edi, eax
mov esi, edi
lea edx, [ebp - 8]
mov eax, ebx
call fcn.00450090
jmp 0x454498
lea edx, [ebp - 4]
mov eax, esi
call fcn.0040aee0
mov edx, dword [ebp - 4]
mov ecx, 1
mov al, 0x3d
call fcn.0040b9b0
mov ebx, eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebx - 1]
mov eax, dword [ebp - 4]
mov edx, 1
call fcn.0040b750
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00450090
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0040b590
test eax, eax
jne 0x454488
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
test eax, eax
je 0x454476
mov eax, dword [eax - 4]
sub eax, ebx
mov ecx, eax
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
call fcn.0040b750
jmp 0x45449f
mov eax, esi
call fcn.004046f0
shl eax, 1
add eax, esi
add eax, 2
mov esi, eax
cmp word [esi], 0
jne 0x454420
push edi
call sub.kernel32.dll_FreeEnvironmentStringsW
xor eax, eax
pop edx
add esp, 0xc
mov dword fs:[eax], edx
mov eax, ebp
call fcn.00454390
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4544d0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x94]
mov dword [0x5e3b30], 0
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
mov eax, dword [ebp - 0x84]
mov dword [0x5e3990], eax
mov eax, dword [ebp - 0x90]
mov dword [0x5e39a0], eax
mov eax, dword [ebp - 0x8c]
mov dword [0x5e39b0], eax
mov eax, dword [ebp - 0x88]
mov dword [0x5e39c0], eax
mov edx, 0x5e39d1
lea eax, [ebp - 0x80]
mov ecx, pe_nt_image_headers32
call fcn.00403570
lea eax, [ebp - 0x80]
call fcn.004046d0
mov byte [0x5e39d0], al
mov eax, 0x5915a0
push eax
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x5e3b40], eax
test eax, eax
je 0x454570
mov eax, 0x5915ac
push eax
push dword [0x5e3b40]
call sub.kernel32.dll_GetProcAddress
mov dword [0x5e3b30], eax
nop
cmp dword [0x5e39a0], 6
jae 0x454584
mov dword [0x565720], 0
nop
cmp dword [0x5e39a0], 6
jb 0x4545a0
cmp dword [0x5e39b0], 1
jb 0x4545a0
mov dword [0x565730], 2
mov esp, ebp
pop ebp
ret
Function at 0x48f9b0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
lea esi, [ecx - 1]
test esi, esi
jl 0x48f9e4
mov edi, 0xffffffff
nop
add edi, 1
mov cl, al
xor cl, byte [edx]
and ecx, 0xff
mov ebx, ecx
mov ecx, eax
shr ecx, 8
xor ecx, dword [ebx*4 + 0x5e4140]
mov eax, ecx
add edx, 1
cmp esi, edi
jg 0x48f9c0
pop edi
pop esi
pop ebx
ret

Function at 0x4ad6a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
mov edx, eax
xor eax, eax
lea ebx, [edx + 1]
movzx ecx, byte [edx]
add ecx, 1
and ecx, 0xff
add edx, ecx
jmp 0x4ad6d1
mov ecx, eax
shl ecx, 5
sub ecx, eax
movzx esi, byte [ebx]
xor ecx, esi
mov eax, ecx
add ebx, 1
cmp edx, ebx
ja 0x4ad6c0
pop esi
pop ebx
ret

Function at 0x4aeeb0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
cmp edx, 1
jne 0x4aeed4
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
call dword [edx + 0x34]
mov dword [ebp - 8], eax
lea esi, [esi]
cmp dword [ebp - 8], 0
je 0x4aef9a
mov esi, esi
xor eax, eax
push 0x4aef7b
push ebp
push 0x414a90
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 0xffffffff
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.0040cee0
mov eax, dword [ebp - 8]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0xe], 0
mov edx, 1
mov eax, 0x58c160
call fcn.0043a600
mov edx, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 8]
call fcn.004af130
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 8]
call fcn.004af1a0
mov edx, dword [ebp - 8]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 8]
call fcn.004af210
mov edx, dword [ebp - 8]
mov dword [edx + 0x30], eax
mov dword [ebp - 0xc], 1
cmp dword [ebp - 8], 0
je 0x4aef70
cmp dword [ebp - 4], 0
je 0x4aef70
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov edx, dword [edx]
call dword [edx + 0x44]
nop
xor edx, edx
pop eax
add esp, 0xc
mov dword fs:[edx], eax
jmp 0x4aef9a
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret