joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e3650
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1df0]
push ecx
push 1
push 4
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c60]
push eax
call fcn.0041dbff
add esp, 0x10
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c60]
mov eax, dword [edx]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jle 0x4e36b5
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1df0]
push edx
mov eax, dword [ebp - 4]
sub eax, 4
push eax
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1c60]
add edx, 4
push edx
call fcn.0041dbff
add esp, 0x10
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4e3860
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1df0]
push ecx
push 1
push 0x20
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x1c60]
push eax
call fcn.0041dbff
add esp, 0x10
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x1df0]
push edx
push 4
push 4
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1c60]
push ecx
call fcn.0041dbff
add esp, 0x10
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
call fcn.004dbe30
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x1df0]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 8]
mov ecx, dword [edx + 0x1c7c]
imul ecx, dword [eax + 0x1c80]
push ecx
push 4
mov edx, dword [ebp - 4]
push edx
call fcn.0041dbff
add esp, 0x10
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x4e3930
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x1df0]
push ecx
push 1
push 0x1bb0
mov edx, dword [ebp - 4]
add edx, 0x68
push edx
call fcn.0041dbff
add esp, 0x10
mov eax, dword [ebp - 4]
add eax, 0x68
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
mov edx, dword [edx]
mov eax, dword [edx + 0x13c]
call eax
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4e3e80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x420], ecx
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1ec8], ecx
call fcn.0045c8b0
mov dword [ebp - 8], eax
call fcn.00401c80
test eax, eax
jne 0x4e3ed8
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x56ef00
lea ecx, [ebp - 0x418]
push ecx
call dword [0x55e2d0]
add esp, 0x10
jmp 0x4e3ef5
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 0x56ef10
lea ecx, [ebp - 0x418]
push ecx
call dword [0x55e2d0]
add esp, 0x10
push 0x56ef20
lea edx, [ebp - 0x418]
push edx
call fcn.004e1e40
add esp, 8
mov ecx, dword [ebp - 0x420]
mov dword [ecx + 0x1df0], eax
mov edx, dword [ebp - 0x420]
cmp dword [edx + 0x1df0], 0
jne 0x4e3f3b
mov eax, dword [ebp - 0x420]
mov dword [eax + 0x1dbc], 0
xor eax, eax
jmp 0x4e408e
mov ecx, dword [ebp - 0x420]
call fcn.004e3650
mov ecx, dword [ebp - 0x420]
mov edx, dword [ecx + 0x1df0]
push edx
push 1
push 0x40
mov eax, dword [ebp - 0x420]
add eax, 0x1c18
push eax
call fcn.0041dbff
add esp, 0x10
mov ecx, dword [ebp - 0x420]
mov edx, dword [ecx + 0x1df0]
push edx
push 1
push 0x1bb0
mov eax, dword [ebp - 0x420]
add eax, 0x68
push eax
call fcn.0041dbff
add esp, 0x10
mov ecx, dword [ebp - 0x420]
call fcn.004e3650
mov ecx, dword [ebp - 0x420]
mov ecx, dword [ecx + 8]
call fcn.004dbe30
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x420]
mov eax, dword [edx + 0x1c60]
add eax, 0x30
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x420]
mov edx, dword [ebp - 0x420]
mov eax, dword [ecx + 0x1c7c]
imul eax, dword [edx + 0x1c80]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x41c], 0
jmp 0x4e3ffc
mov edx, dword [ebp - 0x41c]
add edx, 1
mov dword [ebp - 0x41c], edx
mov eax, dword [ebp - 0x41c]
cmp eax, dword [ebp - 0x10]
jge 0x4e4025
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x14]
add ecx, 4
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0xc]
add edx, 4
mov dword [ebp - 0xc], edx
jmp 0x4e3fed
mov eax, dword [ebp - 0x420]
cmp dword [eax + 0x1c9c], 0
je 0x4e405d
mov ecx, dword [ebp - 0x420]
mov edx, dword [ecx + 0x1df0]
push edx
push 1
push 0x1020
mov eax, dword [ebp - 0x420]
mov ecx, dword [eax + 0x1c58]
push ecx
call fcn.0041dbff
add esp, 0x10
mov edx, dword [ebp - 0x420]
mov eax, dword [edx + 0x1df0]
push eax
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0x420]
mov dword [ecx + 0x1dbc], 1
mov edx, dword [ebp - 0x420]
mov eax, dword [edx + 0x1dbc]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 4
Function at 0x52c270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 8], 0
call fcn.0045c8b0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push str._s_tsuka.dat
lea ecx, [ebp - 0x410]
push ecx
call dword [0x55e2d0]
add esp, 0xc
push 0x574890
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 8]
push eax
call fcn.004132d4
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x52c303
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0x4b8]
push eax
push 1
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x268]
push edx
call fcn.0041d88c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret

Function at 0x52c320
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 8], 0
call fcn.0045c8b0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0x57486c
lea ecx, [ebp - 0x410]
push ecx
call dword [0x55e2d0]
add esp, 0xc
push 0x57487c
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 8]
push eax
call fcn.004132d4
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x52c3b3
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0x4b8]
push eax
push 1
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x268]
push edx
call fcn.0041dbff
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret

Function at 0x52c3d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 8], 0
call fcn.0045c8b0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push str._smita.dat
lea ecx, [ebp - 0x410]
push ecx
call dword [0x55e2d0]
add esp, 0xc
push 0x574868
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 8]
push eax
call fcn.004132d4
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x52c463
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0x4b4]
push eax
push 4
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x264]
push edx
call fcn.0041d88c
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret
Function at 0x52c480
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x414], ecx
mov dword [ebp - 8], 0
call fcn.0045c8b0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
push 0x57484c
lea ecx, [ebp - 0x410]
push ecx
call dword [0x55e2d0]
add esp, 0xc
push 0x574858
lea edx, [ebp - 0x410]
push edx
lea eax, [ebp - 8]
push eax
call fcn.004132d4
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x52c513
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x414]
mov eax, dword [edx + 0x4b4]
push eax
push 4
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x264]
push edx
call fcn.0041dbff
add esp, 0x10
mov eax, dword [ebp - 8]
push eax
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret

Function at 0x53bf40
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
cmp dword [0x5acf20], 0
jne 0x53bf59
xor eax, eax
jmp 0x53c08d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x24], ecx
mov ecx, dword [0x5acf20]
call fcn.00401f10
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xf
jl 0x53bf80
xor eax, eax
jmp 0x53c08d
mov ecx, dword [0x5acf20]
call fcn.0053efe0
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [0x5acf20]
call fcn.0053ef20
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
push edx
mov ecx, dword [0x5acf20]
call fcn.00402830
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x5acf20]
call fcn.0053ef70
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
mov dword [edx + ecx*4], eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [0x5acf20]
call fcn.00546f30
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x5acf20]
call fcn.005516e0
push 0
call fcn.004e1f20
add esp, 4
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x28]
push edx
push 0x53bb90
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.0041d646
add esp, 0x18
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x10]
mov dword [edx + ecx*4 + 0x80], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x20]
mov dword [edx + ecx*4 + 0x40], eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [0x5acf20]
mov eax, dword [edx]
mov ecx, dword [0x5acf20]
mov edx, dword [eax + 0x39c]
call edx
mov eax, dword [ebp - 0x20]
jmp 0x53c08d
mov esp, ebp
pop ebp
ret 8
Function at 0x5445e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x14ac], 0
jne 0x5445f7
jmp 0x544660
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417f40
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x5755b8
push str.wmlog.txt
lea edx, [ebp - 4]
push edx
call fcn.004132d4
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x544660
mov eax, dword [ebp - 4]
push eax
push 2
push 1
push 0x5755c8
call fcn.0041d88c
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.0041d88c
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004133fa
add esp, 4
mov esp, ebp
pop ebp
ret 4

Function at 0x544670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x58605c]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x414], ecx
mov eax, dword [ebp - 0x414]
cmp dword [eax + 0x14ac], 0
jne 0x54469d
jmp 0x544774
cmp dword [ebp + 8], 3
jne 0x5446d1
mov ecx, dword [ebp + 0x10]
sar ecx, 0x10
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x10]
and edx, 0xffff
push edx
push str._r_nMOVE:_d__d
lea eax, [ebp - 0x410]
push eax
call dword [0x55e2d0]
add esp, 0x10
jmp 0x54471a
cmp dword [ebp + 8], 5
jne 0x544705
mov ecx, dword [ebp + 0x10]
sar ecx, 0x10
and ecx, 0xffff
push ecx
mov edx, dword [ebp + 0x10]
and edx, 0xffff
push edx
push str._r_nSIZE__d__d
lea eax, [ebp - 0x410]
push eax
call dword [0x55e2d0]
add esp, 0x10
jmp 0x54471a
push 0x5755a4
lea ecx, [ebp - 0x410]
push ecx
call dword [0x55e2d0]
add esp, 8
lea edx, [ebp - 0x410]
push edx
call fcn.00417f40
add esp, 4
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
push 0x5755a8
push 0x5755ac
lea eax, [ebp - 4]
push eax
call fcn.004132d4
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x544774
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
push 1
lea eax, [ebp - 0x410]
push eax
call fcn.0041d88c
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.004133fa
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00413201
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4176ec
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00408524
mov ebx, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x417723
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00417742
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x43258c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test esi, esi
jne 0x4325a4
call fcn.00408524
mov esi, dword [eax + 0xc]
push 0x548e98
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x4325fa
push edi
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4325f9
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x4325da
xor esi, esi
jmp 0x4325f0
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push dword [ebp + 0xc]
call fcn.00432600
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4f94cf
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
test byte [esi + 4], 1
push edi
mov dword [ebp - 4], ebx
je 0x4f94e9
mov edi, dword [esi + 0xc]
jmp 0x4f9529
push 5
push dword [esi + 0xc]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
jne 0x4f9502
call fcn.004151e7
push edi
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
jne 0x4f9517
call fcn.004151e7
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
jne 0x4f9529
call fcn.004151e7
call fcn.00408524
cmp dword [eax + 0x3c], 0
je 0x4f953e
push edi
mov ecx, ebx
call fcn.004f8d63
mov edi, eax
push dword [ebp + 0xc]
push edi
call fcn.004f9701
mov ebx, eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x7c]
test ecx, ecx
je 0x4f9561
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, dword [ebp - 4]
and dword [eax + 0x7c], 0
test ebx, ebx
je 0x4f956a
mov edi, ebx
mov dword [eax + 0x7c], ebx
or dword [esi + 4], 1
mov dword [esi + 0xc], edi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x402f9f
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4ffa54]
mov ecx, dword [0x4ff8ec]
sub esp, 0x808
push esi
shr eax, 3
xor esi, esi
cmp eax, esi
jbe 0x403045
push ebx
push edi
mov ebx, ecx
mov edi, eax
cmp dword [0x4ffa54], 0x5d
jne 0x403038
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WriteProfileSectionA]
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x408]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteConsoleW]
push 0x402420
push 0x40244c
call dword [sym.imp.KERNEL32.dll_MoveFileA]
push 0x402458
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push esi
lea eax, [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x808]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleTitleA]
call fcn.0040277f
add ebx, 8
dec edi
jne 0x402fc7
pop edi
pop ebx
pop esi
leave
ret
Function at 0x404e80
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4b70d8]
jne 0x404e8a
repz ret
jmp fcn.0040a89e

Function at 0x40a4c9
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004069b1
and dword [ebp - 4], 0
cmp dword [0x4bf4f4], 0
mov ebx, eax
jne 0x40a57a
push 0x401a04
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40a62b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4019f8
push edi
call esi
test eax, eax
je 0x40a62b
push eax
call fcn.0040693f
mov dword [esp], 0x4019e8
push edi
mov dword [0x4bf4f4], eax
call esi
push eax
call fcn.0040693f
mov dword [esp], 0x4019d4
push edi
mov dword [0x4bf4f8], eax
call esi
push eax
call fcn.0040693f
mov dword [esp], 0x4019b8
push edi
mov dword [0x4bf4fc], eax
call esi
push eax
call fcn.0040693f
pop ecx
mov dword [0x4bf504], eax
test eax, eax
je 0x40a57a
push 0x4019a0
push edi
call esi
push eax
call fcn.0040693f
pop ecx
mov dword [0x4bf500], eax
mov eax, dword [0x4bf500]
cmp eax, ebx
je 0x40a5d2
cmp dword [0x4bf504], ebx
je 0x40a5d2
push eax
call fcn.004069ba
push dword [0x4bf504]
mov esi, eax
call fcn.004069ba
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40a5d2
test edi, edi
je 0x40a5d2
call esi
test eax, eax
je 0x40a5c9
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40a5c9
test byte [ebp - 0xc], 1
jne 0x40a5d2
or dword [ebp + 0x10], 0x200000
jmp 0x40a60b
mov eax, dword [0x4bf4f8]
cmp eax, ebx
je 0x40a60b
push eax
call fcn.004069ba
pop ecx
test eax, eax
je 0x40a60b
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40a60b
mov eax, dword [0x4bf4fc]
cmp eax, ebx
je 0x40a60b
push eax
call fcn.004069ba
pop ecx
test eax, eax
je 0x40a60b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4bf4f4]
call fcn.004069ba
pop ecx
test eax, eax
je 0x40a62b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40a62d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x456a10
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0x403696
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x38
call sub.MSVBVM60.DLL___vbaChkstk
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x14], 0x4017a8
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
lea eax, [ebp - 0x24]
push eax
push 0x40ac98
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 0x80000001
call fcn.00409348
mov dword [ebp - 0x40], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], edx
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
mov dword [ebp - 4], 4
push 0x4090b8
call fcn.00455460
mov edx, eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x38]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
push 1
push 0
mov edx, dword [ebp - 0x58]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
push eax
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToAnsi]
push eax
mov ecx, dword [ebp - 0x24]
push ecx
call fcn.00409390
mov dword [ebp - 0x40], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrToUnicode]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ecx
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x30]
push edx
push 4
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStrList]
add esp, 0x14
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x24]
push eax
call fcn.004093d4
mov dword [ebp - 0x40], eax
call dword [sym.imp.MSVBVM60.DLL___vbaSetSystemError]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 6
mov word [ebp - 0x28], 0xffff
push 0x456b95
jmp 0x456b94
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..pdata
nop
mov ebx, 0x408f6c
nop
mov ecx, 0x6d34607f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..pdata_1
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x270ced
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x1075fd10
Capabilities:
Encode data using xor

Disassembly:
call fcn.106ffec6
push eax
vpsrld xmm0, xmm6, xmm7
push eax
push ds
xor byte [edx], ch
sub cl, byte [ebp - 0x1b]
xor ch, dh
mov esp, 0x2dcf22e2
fdivr st(6), st(0)
adc al, 0x30
loop 0x1075fd49
iretd
sub eax, 0x3014f6dc
mov ecx, 0x30eac0a2
cmp dword [eax - 0xd], esi
xor byte [ecx], bh
jo 0x1075fd28
sub ecx, edi
jae 0x1075fd9a
pushfd
sbb eax, 0x7bcb9230
cld
xor byte [eax + ebx], bh
loopne 0x1075fd31
xor byte [ebp - 0x66], ah
lodsb al, byte [esi]
sbb cl, bh
aas
push ecx
cli
aam 0x30
mov esp, 0xcfe4ec9b
push 0xcf1ff19e
imul ebp, eax, 0xb30d85e
invalid
fbld tbyte [edx - 0x54ed9861]
js 0x1075fd25
mov ecx, 0xa3aae020
cmp eax, 0x2fbd8a31
sar byte [eax], 1
push eax
inc esi
adc si, word [eax]
invalid