joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009c81
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
mov dword [ebp - 4], ebx
push edi
mov edi, edx
test ebx, ebx
je 0x10009d8d
push esi
mov esi, dword [edi + 0x20]
mov edx, esi
rol esi, 0x10
mov ecx, esi
shr edx, 3
mov eax, esi
shr ecx, 8
shl eax, 8
xor ecx, eax
shl esi, 8
and ecx, 0xff00ff
xor ecx, esi
mov dword [ebp - 8], ecx
mov ecx, dword [edi + 0x24]
rol ecx, 0x10
mov esi, ecx
mov eax, ecx
shr esi, 8
shl eax, 8
xor esi, eax
shl ecx, 8
and esi, 0xff00ff
xor esi, ecx
mov dword [ebp - 0xc], esi
push 0x38
and edx, 0x3f
je 0x10009d39
mov byte [edx + edi + 0x28], 0x80
inc edx
pop ebx
cmp edx, ebx
ja 0x10009d05
sub ebx, edx
lea eax, [edi + 0x28]
push ebx
add eax, edx
push 0
push eax
call fcn.10019c70
lea esi, [edi + 0x28]
jmp 0x10009d34
push 0x40
pop eax
cmp edx, eax
jae 0x10009d1f
sub eax, edx
push eax
lea eax, [edi + 0x28]
add eax, edx
push 0
push eax
call fcn.10019c70
add esp, 0xc
lea esi, [edi + 0x28]
mov ecx, edi
mov edx, esi
call fcn.100099b2
push ebx
push 0
push esi
call fcn.10019c70
mov ebx, dword [ebp - 4]
jmp 0x10009d47
lea esi, [edi + 0x28]
push 0
push esi
call fcn.10019c70
mov byte [esi], 0x80
mov eax, dword [ebp - 8]
add esp, 0xc
mov dword [edi + 0x64], eax
mov edx, esi
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov dword [edi + 0x60], eax
call fcn.100099b2
xor esi, esi
mov edx, dword [edi + esi*4]
rol edx, 0x10
mov ecx, edx
mov eax, edx
shr ecx, 8
shl eax, 8
xor ecx, eax
shl edx, 8
and ecx, 0xff00ff
xor ecx, edx
mov dword [edi + esi*4], ecx
inc esi
mov dword [ebx], ecx
lea ebx, [ebx + 4]
cmp esi, 8
jl 0x10009d61
pop esi
and dword [edi], 0
pop edi
pop ebx
leave
ret
Function at 0x1000b8eb
Capabilities:
Hash data using sha1

Disassembly:
push edi
xor eax, eax
lea edi, [ecx + 0x1c]
mov dword [ecx + 0x5c], eax
push 0x10
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
pop ecx
rep stosd dword es:[edi], eax
pop edi
ret
Function at 0x1000dbe1
Capabilities:
Hash data using sha1

Disassembly:
and dword [ecx + 4], 0
and dword [ecx], 0
mov dword [ecx + 8], 0x67452301
mov dword [ecx + 0xc], 0xefcdab89
mov dword [ecx + 0x10], 0x98badcfe
mov dword [ecx + 0x14], 0x10325476
mov dword [ecx + 0x18], 0xc3d2e1f0
ret
Function at 0x1000e750
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002daa8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x1003e030]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
call fcn.10001520
mov ecx, eax
test ecx, ecx
je 0x1000e956
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x20], esi
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x400
or eax, ecx
mov dword [ebp - 4], 0
jge 0x1000e7c6
push 0x400
lea ecx, [ebp - 0x20]
call fcn.10001ef0
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x1000e914
push edi
push 0x400
push esi
call fcn.10001bb0
push dword [esi - 8]
mov edi, eax
push esi
call fcn.1001ec3b
add esp, 0x14
test eax, eax
js 0x1000e960
cmp eax, dword [esi - 8]
jg 0x1000e960
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
test edi, edi
jne 0x1000e919
mov dword [ebp - 0x1c], ecx
call fcn.10001a10
cmp eax, 1
mov ecx, 0x100
lea eax, [ebp - 0x1c]
push eax
cmove edi, ecx
or edi, 0x20019
push edi
push 0
push esi
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test edi, edi
jne 0x1000e919
mov ecx, dword [ebx]
mov edx, 1
mov eax, dword [ecx - 8]
sub edx, dword [ecx - 4]
sub eax, 0x400
or eax, edx
jge 0x1000e864
push 0x400
mov ecx, ebx
call fcn.10001ef0
mov ecx, dword [ebx]
test ecx, ecx
je 0x1000e904
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x800
push eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 0
push str.AMSIPath32
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov eax, dword [ebx]
test eax, eax
jne 0x1000e89f
xor ecx, ecx
jmp 0x1000e8b5
push dword [eax - 8]
push eax
call fcn.1001ec3b
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1000e960
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x1000e960
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
mov eax, dword [ebx]
test eax, eax
jne 0x1000e8d5
xor ecx, ecx
jmp 0x1000e8e7
push dword [eax - 8]
push eax
call fcn.1001ec3b
mov ecx, eax
add esp, 8
test ecx, ecx
js 0x1000e960
mov eax, dword [ebx]
cmp ecx, dword [eax - 8]
jg 0x1000e960
mov dword [eax - 0xc], ecx
xor edx, edx
mov eax, dword [ebx]
mov word [eax + ecx*2], dx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000e919
push dword [ebp - 0x1c]
mov edi, 0xe
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000e919
mov edi, 0x57
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000e938
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10018459
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10001200
push 0x80070057
call fcn.10001200
int3
Function at 0x10010f00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002dca6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x1003e030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x430], 0
push 0x404
lea eax, [ebp - 0x420]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.10019c70
add esp, 0xc
mov dword [ebp - 0x420], 0
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0x60
push 0
push edi
mov byte [ebp - 4], 1
call ebx
mov esi, eax
mov dword [ebp - 0x42c], esi
test esi, esi
jne 0x10010fbc
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x42c], eax
test esi, esi
jne 0x10010fbc
call fcn.100030a0
mov edi, eax
jmp 0x100110d8
push dword [ebp - 0x424]
push dword [ebp - 0x428]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x10010fdf
call fcn.100030a0
jmp 0x100110cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x428], ebx
test ebx, ebx
jne 0x10010ffd
call fcn.100030a0
jmp 0x100110cb
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x424], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1001101e
mov edi, 0x8007000e
jmp 0x100110cd
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x10011111
jb 0x1001103c
cmp eax, 0xffffffff
ja 0x10011111
cmp eax, 0x400
jbe 0x10011051
push eax
lea ecx, [ebp - 0x420]
call fcn.1000fc50
jmp 0x10011077
lea eax, [ebp - 0x41c]
mov dword [ebp - 0x420], eax
jmp 0x10011077
cmp dword [ebp - 0x420], 0
mov dword [ebp - 4], 1
jne 0x1001108e
mov edi, 0x8007000e
jmp 0x100110cd
push edi
push dword [ebp - 0x420]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x100110ae
call fcn.100030a0
jmp 0x100110cb
mov eax, dword [ebp - 0x420]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x420]
call fcn.10010d60
mov edi, eax
test esi, esi
je 0x100110d8
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x100110f1
lea ecx, [ebp - 0x420]
call fcn.100107d0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10018459
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10001200
int3
Function at 0x100150f0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x1003e030]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov eax, ecx
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x210], eax
lea esi, [eax + 0x10]
test edi, edi
je 0x10015157
mov edx, 0x104
mov ecx, esi
sub edi, esi
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x1001513f
movzx eax, word [edi + ecx]
test ax, ax
je 0x1001513f
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10015121
mov edi, dword [ebp - 0x210]
lea eax, [ecx - 2]
test edx, edx
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x10015272
push 0x208
lea eax, [ebp - 0x20c]
mov edi, 1
push 0
push eax
call fcn.10019c70
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x100300e8
push 0x104
lea eax, [ebp - 0x20c]
push eax
call fcn.100017f0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100151d4
push str.SHGetFolderPathW
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100151cd
push esi
push 0
push 0
push 0x8023
push 0
call eax
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test edi, edi
jne 0x10015235
push str.AhnLab
push 0x104
push esi
mov edi, 1
call fcn.100017f0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x10015209
call ebx
cmp eax, 0xb7
jne 0x10015231
push str.AIS
push 0x104
push esi
call fcn.100017f0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1001522f
call ebx
cmp eax, 0xb7
jne 0x10015231
xor edi, edi
test edi, edi
je 0x1001525c
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [ebp - 0x210]
test eax, eax
je 0x10015262
cmp word [edi + eax*2 + 0xe], 0x5c
jne 0x10015262
xor ecx, ecx
mov word [edi + eax*2 + 0xe], cx
jmp 0x10015262
mov edi, dword [ebp - 0x210]
push str._ai.log
push 0x104
push esi
call fcn.100017f0
push 0x2e
push esi
call fcn.1001a5f1
mov ebx, eax
lea esi, [edi + 0x218]
add esp, 8
test ebx, ebx
jne 0x100152c5
mov edx, 0x104
mov ecx, esi
lea eax, [edx + 0x7ffffefa]
test eax, eax
je 0x100152b1
movzx eax, word [ecx - 0x208]
test ax, ax
je 0x100152b1
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x10015290
test edx, edx
lea eax, [ecx - 2]
mov ebx, 0x10030144
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
jmp 0x1001532b
mov eax, ebx
sub eax, edi
sub eax, 0x10
sar eax, 1
cmp eax, 0x7ffffffe
jbe 0x100152dc
xor eax, eax
mov word [esi], ax
jmp 0x1001531b
mov edx, 0x104
lea edi, [eax - 0x104]
mov ecx, esi
nop dword [eax]
lea eax, [edi + edx]
test eax, eax
je 0x1001530e
movzx eax, word [ecx - 0x208]
test ax, ax
je 0x1001530e
mov word [ecx], ax
add ecx, 2
sub edx, 1
jne 0x100152f0
test edx, edx
lea eax, [ecx - 2]
cmovne eax, ecx
xor ecx, ecx
mov word [eax], cx
push 0x10030144
push 0x104
push esi
call fcn.100017f0
push ebx
push 0x104
push esi
call fcn.100017f0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10018459
mov esp, ebp
pop ebp
ret 4
Function at 0x10017c90
Capabilities:
Clear file content

Disassembly:
push dword [ecx + 4]
call fcn.10021a33
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
ret

Function at 0x10017ce0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push dword [ebp + 0x18]
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10017d50
add esp, 0x14
test eax, eax
jne 0x10017d3a
push esi
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x10017d3a
cmp dword [ebp - 8], 4
mov eax, dword [ebp - 0xc]
je 0x10017d3d
mov eax, dword [ebp + 0x14]
mov esp, ebp
pop ebp
ret

Function at 0x1002592f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
pop ebp
xchg ebp, eax
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.1002557d
push eax
push esi
push dword [ebp + 8]
call fcn.10025532
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
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.1002557d
push eax
push esi
push dword [ebp + 8]
call fcn.10025532
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.1002556d
xchg cl, dh
clc
and al, 0x88
popfd
jl 0x100259f2
invalid
invalid
Function at 0x100264f3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov eax, dword [0x11fffffc]
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.1002557d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10025532
add esp, 0xc
or al, 0x89
test dword [esp + edi*8], ebp
invalid
invalid
call fcn.1002556d
cwde
add bh, ah
push ebp
push 0x104
lea eax, [ebp - 0x12c]
push eax
call dword [ebp - 0x3d4]
mov dword [ebp - 0x28], eax
call fcn.1002556d
call 0x90abc72c
loopne 0x1002658b
and byte [ebp - 0x1f], 0
mov byte [ebp - 0x1e], 0x1d
and byte [ebp - 0x1d], 0
mov byte [ebp - 0x1c], 0xa5
mov byte [ebp - 0x1b], 0x87
mov byte [ebp - 0x1a], 0x96
mov byte [ebp - 0x19], 0xb6
mov byte [ebp - 0x18], 0x87
mov byte [ebp - 0x17], 0x8f
mov byte [ebp - 0x16], 0x92
mov byte [ebp - 0x15], 0xb2
mov byte [ebp - 0x14], 0x83
mov byte [ebp - 0x13], 0x96
mov byte [ebp - 0x12], 0x8a
mov byte [ebp - 0x11], 0xa3
mov byte [ebp - 0x10], 0xe2
lea eax, [ebp - 0x20]
push eax
call fcn.1002557d
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10025532
add esp, 0xc
mov dword [ebp - 0x370], eax
lea eax, [ebp - 0x654]
push eax
push 0x104
call dword [ebp - 0x370]
mov dword [ebp - 0x550], eax
mov eax, dword [ebp - 0x28]
movsx eax, byte [ebp + eax - 0x12d]
cmp eax, 0x5c
jne 0x10026619
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x550]
movsx eax, byte [ebp + eax - 0x655]
cmp eax, 0x5c
jne 0x10026639
mov eax, dword [ebp - 0x550]
dec eax
mov dword [ebp - 0x550], eax
and dword [ebp - 0x338], 0
and dword [ebp - 0x3d0], 0
jmp fcn.10026656
Function at 0x100274db
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add esp, 0xc
jmp 0x100274e5
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
and dword [ebp - 0x37c], 0
call fcn.1002556d
dec edi
dec esp
out 0x80, eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x10027550
lea eax, [ebp - 0x714]
push eax
call fcn.1002557d
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.10025532
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x10027550
jmp 0x10026f0f
cmp dword [ebp - 0x37c], 0
je 0x1002755e
jmp 0x10027613
push 0
push 0
push 2
push 0
push 2
push 0x40000000
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x100275b7
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x100275bc
jmp 0x10026f0f
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
cmp dword [ebp - 0x3a4], 0
je 0x10027603
lea eax, [ebp - 0x714]
push eax
call fcn.1002557d
pop ecx
push eax
push dword [ebp - 0x3a4]
push dword [ebp + 0x14]
call fcn.10025532
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
je 0x1002760e
jmp 0x10027613
jmp 0x10026f0f
cmp dword [ebp - 0x37c], 0
jne 0x100276bd
mov eax, dword [ebp - 0x748]
mov dword [ebp - 0x7ec], eax
mov eax, dword [ebp - 0x38c]
mov dword [ebp - 0x7e8], eax
and dword [ebp - 0x7e0], 0
push 0x1000
push 8
push dword [ebp - 0x674]
call dword [ebp - 0x67c]
mov dword [ebp - 0x7e4], eax
push dword [ebp - 0x7e4]
lea eax, [ebp - 0x7ec]
push eax
push dword [ebp - 0x748]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10025749
add esp, 0x14
mov dword [ebp - 0x7e0], eax
cmp dword [ebp - 0x7e0], 0
je 0x100276a9
lea eax, [ebp - 0x714]
push eax
call fcn.1002557d
call [ecx + 0x50]
Function at 0x40333c
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
push 0x14
push 0x410aa0
call fcn.00406024
mov eax, 0x5a4d
cmp word [0x400000], ax
jne 0x40323d
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40323d
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40323d
cmp dword [eax + 0x400074], 0xe
jbe 0x40323d
xor ecx, ecx
cmp dword [eax + 0x4000e8], ecx
setne cl
mov dword [ebp - 0x1c], ecx
jmp 0x403241
and dword [ebp - 0x1c], 0
push 1
call main
pop ecx
test eax, eax
jne 0x403255
push 0x1c
call main
pop ecx
call fcn.00407199
test eax, eax
jne 0x403266
push 0x10
call main
pop ecx
call fcn.00406d3d
and dword [ebp - 4], 0
call fcn.00403bed
test eax, eax
jge 0x403280
push 0x1b
call main
pop ecx
call sub.kernel32.dll_GetCommandLineW
mov dword [0x413d00], eax
call fcn.00406ce0
mov dword [0x412ff8], eax
call main
test eax, eax
jge 0x4032a5
push 8
call main
pop ecx
call fcn.00406a03
test eax, eax
jge 0x4032b6
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x4032c9
push eax
call main
pop ecx
mov eax, dword [0x413340]
mov dword [0x413344], eax
push eax
push dword [0x413334]
push dword [0x41332c]
call main
add esp, 0xc
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x1c], 0
jne 0x4032f7
push eax
call main
call fcn.0040428b
jmp 0x40332c
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x20]
call fcn.00406069
ret
call main
jmp 0x4031eb

Function at 0x409d7a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x409d89
pop dword [ebp - 0x44]
mov eax, 0x648e0694
sub eax, 0x644d690b
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x35258
push 0
mov eax, 0x46f0a44d
sub eax, 0x46afc32d
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x3702
mov edi, eax
mov esi, 0x10647965
add esi, 0xefdcfe9b
add esi, dword [ebp - 0x44]
mov ebx, 0x3006f4ed
xor dword [ebp - 0x20], edx
mov edx, dword [esi]
sub dword [ebp - 0x18], edx
sub edx, ebx
xor dword [ebp - 0x34], ecx
mov dword [edi], edx
sub dword [ebp - 0x30], ecx
add edi, 4
add esi, 0x7972edd0
add esi, 0x868d1234
loop 0x409ddc
add eax, 0xcedb
xor ebx, ebx
add ebx, eax
add eax, 0xa0fab086
add eax, 0x5f054f7f
mov ecx, 0xb3e2625b
sub ecx, 0xb3a2625b
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x43534b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0042708b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x435383
xor eax, eax
jmp 0x4353af
cmp esi, dword [ebp - 4]
je 0x4353ac
cmp dword [ebp + 0xc], 0
je 0x4353ac
push dword [edi + 0x9c]
call fcn.00434f59
push dword [edi + 0x9c]
mov esi, eax
call fcn.00424fcd
pop ecx
pop ecx
cmp esi, eax
je 0x43537f
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x41ad50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x411015
lea edi, [esi - 0x10015]
push edi
or ebp, 0xffffffff
jmp 0x41ad72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41ad79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41ad68
mov eax, 1
add ebx, ebx
jne 0x41ad8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41ad80
jne 0x41ad9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41ad80
xor ecx, ecx
sub eax, 3
jb 0x41adb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41ae22
mov ebp, eax
add ebx, ebx
jne 0x41adbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41adc8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41adec
inc ecx
add ebx, ebx
jne 0x41add8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41adcd
jne 0x41ade9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41adcd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41ae0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41adfd
jmp 0x41ad6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41ae0c
add edi, ecx
jmp 0x41ad6e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41ae2a
cmp byte [edi], 5
jne 0x41ae2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41ae2f
lea edi, [esi + 0x18000]
mov eax, dword [edi]
or eax, eax
je 0x41aea7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1a000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1a094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41ae5c
mov ecx, edi
jns 0x41ae8b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1a09c]
or eax, eax
je 0x41aea1
mov dword [ebx], eax
add ebx, 4
jmp 0x41ae79
call dword [esi + 0x1a098]
mov ebp, dword [esi + 0x1a0a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41aedb
sub esp, 0xffffff80
jmp 0x404c20