joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
movzx eax, word [esp + 0xc]
push 0x63
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push ebx
push edi
mov dword [esi + 4], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
pop edi
mov dword [esi], eax
mov eax, esi
pop ebx
ret 4

Function at 0x4010eb
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.VerifyVersionInfoA
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
xor ebx, ebx
cmp eax, ebx
mov dword [ebp - 8], eax
jne 0x401155
push 0x24
push str.Windows_98_ME_Support
push str.This_version_of_the_application_requires_Windows_XP_2003_or_later._r_nDo_you_want_to_go_the_website_and_download_the_Windows_98_ME_version_if_one_is_available_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
xor edi, edi
inc edi
cmp eax, 6
jne 0x401145
push edi
push ebx
push ebx
push str.http:__www.nch.com.au_software_win98_index.html
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
mov eax, 0x9c
mov edx, eax
lea ecx, [ebp - 0xa8]
mov byte [ecx], bl
inc ecx
dec edx
jne 0x401162
mov esi, dword [sym.imp.KERNEL32.dll_VerSetConditionMask]
push 3
push 2
xor edi, edi
push ebx
inc edi
push ebx
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], 5
mov dword [ebp - 0xa0], edi
call esi
push 3
push edi
push edx
push eax
call esi
push edx
push eax
push 3
lea eax, [ebp - 0xa8]
push eax
call dword [ebp - 8]
test eax, eax
jne 0x4011cd
push 0x24
push str.Windows_2000_Support
push str.This_version_of_the_application_requires_Windows_XP_2003_or_later._r_nDo_you_want_to_go_the_website_and_download_the_Windows_2000_version_if_one_is_available_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
jne 0x401145
push edi
push ebx
push ebx
push str.http:__www.nch.com.au_software_win2000_index.html
jmp 0x40113d
xor edi, edi
jmp 0x401145
Function at 0x401350
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x58
xor eax, eax
push 0x44
push eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xc], 0
call fcn.00401ae0
add esp, 0xc
push 1
push 0x401330
mov dword [esp + 0x1c], 0x44
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x18]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4013d5
push str.failed_to_create_process._n
call fcn.004018e1
add eax, 0x40
push eax
call fcn.004017c5
add esp, 8
xor eax, eax
add esp, 0x58
ret
mov edx, dword [esp + 4]
mov ecx, dword [esp + 0xc]
push 0xffffffffffffffff
push edx
mov dword [0x412000], ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [esp + 4]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x401406
push str.failed_to_get_exit_code_from_process._n
jmp 0x4013be
mov eax, dword [esp]
add esp, 0x58
ret

Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404369
Function at 0x405414
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x5128b1a2
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004050bc
push eax
push esi
push dword [ebp + 8]
call fcn.00405071
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004050bc
push eax
push esi
push dword [ebp + 8]
call fcn.00405071
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
pop ebp
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004050bc
push eax
push esi
push dword [ebp + 8]
call fcn.00405071
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004050ac
xor al, 0xf6
cmp esi, dword [edx - 0x78]
popfd
jl 0x405531
invalid
invalid
Function at 0x4054cc
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
call 0x5128b1a2
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
mov byte [ebp - 0xb], 0xda
mov byte [ebp - 0xa], 0xda
mov byte [ebp - 9], 0xbf
call fcn.004050bc
push eax
push esi
push dword [ebp + 8]
call fcn.00405071
mov dword [ebp - 8], eax
lea eax, [ebp - 0x6c]
push eax
mov byte [ebp - 0x6c], bl
mov byte [ebp - 0x6b], bl
mov byte [ebp - 0x6a], 0xbe
mov byte [ebp - 0x69], bl
mov byte [ebp - 0x68], 0x17
mov byte [ebp - 0x67], 0x28
mov byte [ebp - 0x66], 0x33
mov byte [ebp - 0x65], 0x35
mov byte [ebp - 0x64], 0x34
mov byte [ebp - 0x63], 0x20
mov byte [ebp - 0x62], 0x2d
mov byte [ebp - 0x61], 0x11
mov byte [ebp - 0x60], 0x33
mov byte [ebp - 0x5f], 0x2e
mov byte [ebp - 0x5e], 0x35
mov byte [ebp - 0x5d], 0x24
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.004050bc
push eax
push esi
push dword [ebp + 8]
call fcn.00405071
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
pop ebp
aam 0x50
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.004050bc
push eax
push esi
push dword [ebp + 8]
call fcn.00405071
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.004050ac
xor al, 0xf6
cmp esi, dword [edx - 0x78]
popfd
jl 0x405531
invalid
invalid
Function at 0x4057db
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x405783
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4057a1
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x4057ff
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x4057e6
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x4057ef
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x4057f9
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe fcn.004057db
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x405765
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x40584c
dec eax
je 0x405843
sub eax, 3
je 0x40583a
mov dword [ebp - 4], 0x40
jmp 0x405869
mov dword [ebp - 4], 4
jmp 0x40584f
mov dword [ebp - 4], 0x20
jmp 0x40584f
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x40589b
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x40581b
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.004050ac
xchg dword [esi], esp
enter 0xffffffffffffff26, 0x75
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x4058a7
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x406a32
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00405071
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
push 1
pop eax
test eax, eax
je 0x407152
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x406c27
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
invalid
invalid
xchg edi, eax
clc
invalid
Function at 0x40d5e3
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x40d614
call fcn.00403737
mov dword [eax], esi
call fcn.00403724
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.004036bc
add esp, 0x14
push 0x16
pop eax
jmp 0x40d669
test dword [ebp + 0xc], 0xfffffff9
jne 0x40d5f0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x40d641
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0040374a
pop ecx
call fcn.00403724
mov eax, dword [eax]
jmp 0x40d669
test al, 0x10
jne 0x40d667
test al, 1
je 0x40d667
test byte [ebp + 0xc], 2
je 0x40d667
call fcn.00403737
mov dword [eax], 5
call fcn.00403724
mov dword [eax], 0xd
jmp 0x40d638
xor eax, eax
pop esi
pop ebp
ret
Function at 0x3000bcd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x3017f97c]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
test ebx, ebx
push edi
jne 0x3000bceb
mov eax, dword [0x3017f7c4]
mov eax, dword [eax + 4]
mov esi, dword [ebp + 0xc]
cmp esi, eax
jge 0x30033a01
mov eax, dword [0x3017f97c]
test ebx, ebx
jne 0x3000bd07
mov eax, dword [0x3017f7c4]
mov edi, dword [ebp + 8]
push edi
push eax
call fcn.30015a72
cmp edi, esi
mov ecx, edi
jg 0x3000bd3d
mov eax, dword [0x3017f958]
mov edx, dword [ebp + 0x10]
mov eax, dword [eax + 4]
xor edx, eax
and edx, 1
xor edx, eax
mov eax, dword [0x3017f958]
mov dword [eax + 4], edx
add dword [0x3017f958], 0xc
inc ecx
cmp ecx, esi
jle 0x3000bd17
push ebx
push dword [ebp + 0x10]
push esi
push edi
call fcn.30007f42
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
cmp dword [ebp + 0x10], 0
jne 0x30033a0f
lea esi, [eax - 1]
jmp 0x3000bcf9
xor eax, eax
test ebx, ebx
sete al
push eax
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
call fcn.30007b63
jmp 0x3000bcf9

Function at 0x30014495
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
lea eax, [ebp + 8]
push eax
push dword [ebp + 8]
xor esi, esi
call fcn.30028a52
test eax, eax
je 0x300144be
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push dword [ebp + 8]
mov esi, eax
call fcn.30028a81
mov eax, esi
pop esi
pop ebp
ret 4

Function at 0x30019a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
push esi
push edi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 8]
cmp dword [0x3017dbf4], 0
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov esi, Ordinal_4
mov dword [ebp - 4], 0x200
push esi
je 0x30019af1
call edi
test eax, eax
jne 0x30041c8d
cmp dword [0x3017dbf4], eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x204]
push eax
push dword [ebp + 0xc]
mov dword [ebp - 4], 0x200
push esi
je 0x30019af8
call edi
jmp 0x30019afd
call fcn.3001a1eb
jmp 0x30019ac7
call fcn.3001a1eb
test eax, eax
jne 0x30041c8d
mov eax, dword [ebp - 4]
shr eax, 1
dec eax
cmp eax, 0xc
mov dword [ebp - 4], eax
jle 0x30041c8d
push dword [ebp + 0x14]
add eax, 0xfffffff4
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x204]
push eax
call fcn.30001bbf
test eax, eax
je 0x30041c85
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
push eax
lea eax, [ebp - 0x402]
push eax
lea eax, [ebp - 0x204]
push eax
call fcn.30028c12
mov eax, dword [ebp - 4]
add eax, 0xfffffff4
mov word [ebp - 0x404], ax
lea eax, [ebp - 0x404]
push eax
call fcn.300039ce
test eax, eax
je 0x30041c8d
lea eax, [ebp - 0x404]
push eax
call fcn.30003a19
pop edi
pop esi
leave
ret 0x10
push 1
pop eax
jmp 0x30019b7c
xor eax, eax
jmp 0x30019b7c
Function at 0x3001a1eb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
test esi, esi
je 0x30041d8b
mov eax, dword [esi]
mov dword [ebp + 0x14], eax
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.30028a52
test eax, eax
je 0x3001a271
push dword [ebp + 0x14]
lea eax, [ebp + 0xc]
push eax
call fcn.30019d22
test eax, eax
je 0x3001a269
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp - 4]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov edi, eax
test edi, edi
jne 0x3001a261
cmp dword [ebp + 0x10], eax
je 0x3001a256
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call dword [0x3017bd14]
mov dword [ebp + 0x14], eax
test esi, esi
je 0x3001a261
mov eax, dword [ebp + 0x14]
add eax, eax
mov dword [esi], eax
push dword [ebp + 0xc]
call fcn.30028a81
push dword [ebp - 4]
call fcn.30028a81
mov eax, edi
pop edi
pop esi
leave
ret 0x10
and dword [ebp + 0x14], esi
jmp 0x3001a203
Function at 0x3001b94c
Capabilities:
Accept command line arguments

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x3001ba60
push 0x3016b9ea
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [0x3017a9f4], eax
xor eax, eax
mov al, byte [0x3017a9f5]
mov dword [0x3017aa00], eax
mov eax, dword [0x3017a9f4]
shr dword [0x3017a9f4], 0x10
and eax, 0xff
mov dword [0x3017a9fc], eax
shl eax, 8
add eax, dword [0x3017aa00]
mov dword [0x3017a9f8], eax
call fcn.3001ba70
mov dword [ebp - 4], 0
call fcn.3001ba85
call fcn.3001bbc5
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x30180d70], eax
call fcn.3001bc9f
mov dword [0x3017aa1c], eax
test eax, eax
je 0x300426b1
cmp dword [0x30180d70], 0
je 0x300426b1
call fcn.3001bdec
call fcn.3001bfdd
call fcn.3001c0c8
mov esi, dword [0x30180d70]
mov al, byte [esi]
cmp al, 0x22
je 0x300426b8
cmp al, 0x20
jbe 0x3001ba16
inc esi
cmp byte [esi], 0x20
ja 0x3001ba10
cmp byte [esi], 0
je 0x3001ba20
cmp byte [esi], 0x20
jbe 0x3001ba57
mov dword [ebp - 0x44], 0
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x44], 1
mov eax, 0xa
jne 0x300426f1
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
jmp 0x300426fe
inc esi
cmp byte [esi], 0
jne 0x3001ba1b
jmp 0x3001ba20
push 0xffffffffffffffff
call fcn.300281a7
inc esi
cmp byte [esi], 0x22
jne 0x300426c4
inc esi
jmp 0x3001ba16
mov bl, byte [ebp - 0x28]
mov bl, byte [esi]
test bl, bl
je 0x300426e4
xor eax, eax
mov al, bl
push eax
call fcn.3016b99e
add esp, 4
test eax, eax
jne 0x300426ee
inc esi
cmp byte [esi], 0x22
jne 0x300426c7
cmp byte [esi], 0x22
je 0x300426be
jmp 0x3001ba16
inc esi
jmp 0x300426de
mov eax, dword [ebp - 0x40]
and eax, 0xffff
jmp 0x3001ba40
push eax
call fcn.300281a7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x20]
push eax
call fcn.3016b7a2
add esp, 8
ret
Function at 0x3001bc9f
Capabilities:
Query environment variable

Disassembly:
sub esp, 4
cmp dword [0x3017acec], 0
push ebx
push esi
push edi
push ebp
jne 0x300429ea
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
call esi
mov edi, eax
test edi, edi
jne 0x3001bd70
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
je 0x300429e0
mov dword [0x3017acec], 2
cmp dword [0x3017acec], 1
jne 0x3001bd83
test edi, edi
je 0x300429fd
cmp word [edi], 0
mov esi, edi
je 0x3001bd0e
add esi, 2
cmp word [esi], 0
jne 0x3001bcfc
add esi, 2
cmp word [esi], 0
jne 0x3001bcfc
sub esi, edi
push 0
sar esi, 1
push 0
inc esi
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebp, eax
test ebp, ebp
je 0x30042a23
push ebp
call fcn.3001bb6d
add esp, 4
mov ebx, eax
test ebx, ebx
je 0x30042a23
push 0
push 0
push ebp
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
je 0x30042a13
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov dword [0x3017acec], 1
mov ebx, dword [esp + 0x10]
jmp 0x3001bcdf
cmp dword [0x3017acec], 2
jne 0x30042a5f
test ebx, ebx
je 0x30042a34
mov ebp, ebx
cmp byte [ebx], 0
je 0x3001bdad
inc ebp
cmp byte [ebp], 0
jne 0x3001bd9f
inc ebp
cmp byte [ebp], 0
jne 0x3001bd9f
sub ebp, ebx
inc ebp
push ebp
call fcn.3001bb6d
mov dword [esp + 0x14], eax
add esp, 4
test eax, eax
je 0x30042a4e
mov edi, dword [esp + 0x10]
mov esi, ebx
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [esp + 0x10]
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
mov edi, dword [esp + 0x10]
mov ebx, dword [esp + 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
jmp 0x3001bcdf
call esi
mov edi, eax
test edi, edi
jne 0x3001bcf4
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push ebx
call fcn.3001c0b0
add esp, 4
xor ebx, ebx
jmp 0x3001bd5f
push edi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test ebx, ebx
jne 0x3001bd98
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 4
ret
Function at 0x3001fd02
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
push esi
push edi
mov edi, dword [ebp + 8]
test edi, 0xfffffc00
je 0x3001fd4d
or byte [ebp + 0xf], 0x80
mov esi, dword [ebp + 0x14]
push esi
lea eax, [ebp - 0x200]
push eax
push 0
call fcn.30028c51
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x200]
push eax
push dword [ebp + 0xc]
cmp dword [0x3017dbf4], 0
push edi
jne 0x3001fd55
call fcn.30019cbe
jmp 0x3001fd5b
mov edi, dword [0x3017d608]
jmp 0x3001fd1c
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jle 0x3001fd84
cmp dword [ebp + 0x18], 0
je 0x3001fd74
mov ecx, dword [ebp + 0x10]
add dword [ebp + 0x10], 2
lea eax, [edi - 1]
mov word [ecx], ax
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0x200]
push eax
call fcn.30028c12
lea eax, [edi - 1]
pop edi
pop esi
leave
ret 0x14
Function at 0x30023438
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2dc
push ebx
push esi
push edi
push 0x98
lea eax, [ebp - 0x98]
push eax
xor esi, esi
push esi
call fcn.30001448
mov eax, dword [0x3017dd10]
mov dword [ebp - 0x94], eax
mov eax, dword [0x3017d5b0]
mov dword [ebp - 0x90], eax
mov eax, dword [0x3017d20c]
mov dword [ebp - 0x8c], eax
mov eax, dword [0x3017d988]
mov eax, dword [eax + 0xd0]
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x1dc]
push eax
push dword [ebp + 0xc]
call dword [0x3017bee0]
lea eax, [ebp - 0x1dc]
mov dword [ebp - 0x98], eax
mov eax, dword [0x3017d99c]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x2dc]
push eax
push dword [ebp + 8]
mov dword [ebp - 0x70], 0x3006331c
mov dword [ebp - 0x6c], esi
call dword [0x3017bee0]
lea eax, [ebp - 0x2dc]
mov dword [ebp - 0x64], eax
xor eax, eax
cmp dword [0x3017cbfc], 2
push 5
setg al
push eax
push 0x3002361c
mov dword [ebp - 0x1c], eax
push 0x3017a01c
call fcn.3001eea1
mov ecx, dword [0x30179460]
mov dword [ebp - 0x1c], eax
and eax, 1
shl eax, 3
and ecx, 0xfffffff7
push 0x30023630
or ecx, eax
lea eax, [ebp - 0xdc]
mov dword [0x30179460], ecx
xor edi, edi
push eax
call fcn.3001f8b4
mov al, byte [0x3017d164]
cmp al, 0x80
jae 0x3004429f
movzx ebx, al
lea eax, [ebp - 0xbc]
push eax
push ebx
push 2
push esi
push esi
push 0x190
push edi
mov edi, 0xa0
push edi
lea eax, [ebp - 0xdc]
push eax
call fcn.3001ad82
mov dword [0x3017e798], eax
lea eax, [ebp - 0xbc]
push eax
push ebx
push 2
push esi
push esi
push 0x2bc
xor eax, eax
push eax
push edi
lea eax, [ebp - 0xdc]
push eax
call fcn.3001ad82
mov dword [0x3017dc10], eax
mov eax, dword [0x3017e798]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x58], eax
mov eax, dword [0x3017cd5c]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xbc]
mov dword [0x3017f36c], eax
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xb0]
mov dword [0x3017fa14], eax
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x98]
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x68], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x3c], 0x300975eb
mov dword [ebp - 0x38], fcn.30092b59
mov dword [ebp - 0x34], 0x30092b67
mov dword [ebp - 0x30], 0x30092b79
mov dword [ebp - 0x2c], 0x30092b87
mov dword [ebp - 0x28], 0x3009183f
mov dword [ebp - 0x24], 0x3006140b
push eax
call dword [0x3017be04]
pop edi
pop esi
pop ebx
leave
ret 8
cmp al, 0x81
ja 0x300442aa
xor ebx, ebx
jmp 0x3002352f
cmp al, 0x86
je 0x300442a3
cmp al, 0x88
je 0x300442a3
jmp 0x3002352c