joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4493b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46749b
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4db4
call fcn.0045e940
mov eax, dword [0x4846a0]
xor eax, esp
mov dword [esp + 0x4db0], eax
push ebx
push esi
push edi
mov eax, dword [0x4846a0]
xor eax, esp
push eax
lea eax, [esp + 0x4dc8]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
test edi, edi
jne 0x449425
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
test edi, edi
je 0x449425
push edi
call dword [sym.imp.USER32.dll_GetLastActivePopup]
mov edi, eax
test bl, 0x10
je 0x449445
test ebx, 0x1000
je 0x449445
mov edx, dword [esp + 0x10]
push ebx
push esi
push edx
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x44953b
test esi, esi
jne 0x449451
mov dword [esp + 0x14], str.Error
lea esi, [esp + 0x1eb4]
call fcn.00404e50
mov eax, dword [esp + 0x18]
test eax, eax
je 0x449476
push 0x2f08
push eax
mov eax, esi
push eax
call fcn.00453330
add esp, 0xc
mov eax, 0x3e8
mov ecx, 0xa
cmp dword [esp + 0x1eb8], eax
jl 0x449490
mov dword [esp + 0x1eb8], ecx
cmp dword [esp + 0x1ebc], eax
jl 0x4494a0
mov dword [esp + 0x1ebc], ecx
push 0x110
lea ecx, [esp + 0x24]
push 0
push ecx
call fcn.00453220
add esp, 0xc
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4494da
cmp dword [esp + 0x20], 6
jb 0x4494da
or dword [esp + 0x1ec8], 2
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1eb4]
push eax
push ebx
push ecx
mov ecx, dword [esp + 0x20]
push edi
lea edx, [esp + 0x144]
call fcn.00449670
mov dword [esp + 0x4dd0], 0
test ebx, 0x40000000
jne 0x449519
and ebx, 0xf0
push ebx
call dword [sym.imp.USER32.dll_MessageBeep]
lea edi, [esp + 0x134]
call fcn.0044c800
mov ecx, edi
mov esi, eax
mov dword [esp + 0x4dd0], 0xffffffff
call fcn.0044b060
mov eax, esi
mov ecx, dword [esp + 0x4dc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4db0]
xor ecx, esp
call fcn.0044ebd7
mov esp, ebp
pop ebp
ret
Function at 0x44c4c0
Capabilities:
Write clipboard data

Disassembly:
push ebx
push esi
xor ebx, ebx
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, edi
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x44c4d0
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x44c527
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x44c527
mov edx, eax
mov ecx, edi
sub edx, edi
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x44c503
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
mov ebx, 1
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x44ebd7
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4846a0]
jne 0x44ebe1
repz ret
jmp fcn.00456cf4

Function at 0x44f845
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x44f86d
call fcn.0045233b
and dword [eax], 0
call fcn.00452328
mov dword [eax], 0x16
call fcn.00457085
or eax, 0xffffffff
pop ebp
ret
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x44f88a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0045234e
pop ecx
jmp 0x44f868
test byte [ebp + 0xc], 0x80
je 0x44f895
and eax, 0xfffffffe
jmp 0x44f898
or eax, 1
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x44f87b
xor eax, eax
pop ebp
ret

Function at 0x4629eb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4846a0]
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.00456764
and dword [ebp - 0x14], 0
cmp dword [0x487668], 0
mov dword [ebp - 0x18], eax
jne 0x462a9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x462b46
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x471200
push ebx
call edi
test eax, eax
je 0x462b46
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x4711f0
push ebx
mov dword [0x487668], eax
call edi
push eax
call esi
push 0x4711dc
push ebx
mov dword [0x48766c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x487670], eax
call edi
push eax
call esi
mov dword [0x487678], eax
test eax, eax
je 0x462a9e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x487674], eax
mov eax, dword [0x487674]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x462af7
cmp dword [0x487678], ecx
je 0x462af7
push eax
call esi
push dword [0x487678]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x462af7
test ebx, ebx
je 0x462af7
call edi
test eax, eax
je 0x462aee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x462aee
test byte [ebp - 8], 1
jne 0x462af7
or dword [ebp + 0x10], 0x200000
jmp 0x462b2a
mov eax, dword [0x48766c]
cmp eax, dword [ebp - 0x18]
je 0x462b2a
push eax
call esi
test eax, eax
je 0x462b2a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x462b2a
mov eax, dword [0x487670]
cmp eax, dword [ebp - 0x18]
je 0x462b2a
push eax
call esi
test eax, eax
je 0x462b2a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x487668]
call esi
test eax, eax
je 0x462b46
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x462b48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0044ebd7
leave
ret
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x582a6258
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x32012482
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x40d8ee
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2723ee7
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x433060
nop
nop
nop
mov eax, section..data
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x736d019c
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4330c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4039cf
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
push esi
push edi
push str.StartServiceCtrlDispatcherA
push str.ADVAPI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, str.Serpiei
mov edi, eax
push esi
call fcn.00403061
test eax, eax
pop ecx
je 0x403a23
and dword [ebp - 8], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
mov dword [ebp - 0xc], 0x403756
call edi
pop edi
xor eax, eax
pop esi
leave
ret 0x10
and byte [ebp - 0x114], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x114]
push eax
call fcn.00402ca7
lea eax, [ebp - 0x114]
push 1
push eax
push str.Microsoft_.NET_COM_Integration_with_SOAP
push str.Microsoft_.Net_Frameworek_COMi_Suppoot
push esi
call fcn.004031c0
add esp, 0x18
call fcn.00402217
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x432072
mov ebx, 0x40c7d0
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
mov esi, 0x7b7056b4
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x432060
nop
nop
mov eax, section..data_1
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x2b5f6577
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x4320c0
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x4010c0
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov ebx, dword [eax]
call sym.___p___argv
mov esi, dword [eax]
call sym.__get_initial_narrow_environment
mov edi, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov edx, dword [eax + 8]
mov eax, dword [edx + 0x3c]
cmp word [edx + eax + 0x5c], 2
sete dl
movzx edx, dl
add edx, 1
mov dword [esp], edx
call sym.__set_app_type
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call dbg.main
mov dword [esp], eax
call sym._exit

Function at 0x401180
Capabilities:
Accept command line arguments

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x68
call dbg.__main
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov ebx, eax
movzx eax, byte [eax]
test al, al
je 0x4011fe
cmp al, 9
je 0x4011f0
cmp al, 0x20
je 0x4011f0
xor edi, edi
xor esi, esi
cmp al, 0x5c
je 0x401265
cmp al, 0x22
je 0x401254
xor esi, esi
add ebx, 1
movzx eax, byte [ebx]
test al, al
je 0x4011fe
cmp al, 9
sete cl
cmp al, 0x20
sete dl
or cl, dl
je 0x4011b4
test edi, 1
jne 0x4011b4
lea esi, [esi]
lea edi, [edi]
add ebx, 1
movzx eax, byte [ebx]
cmp al, 9
je 0x4011f0
cmp al, 0x20
je 0x4011f0
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetStartupInfoA]
sub esp, 4
test byte [ebp - 0x30], 1
jne 0x401219
mov word [ebp - 0x2c], 1
movzx esi, word [ebp - 0x2c]
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
sub esp, 4
mov dword [esp + 8], ebx
mov dword [esp + 4], 0
mov dword [esp + 0xc], esi
mov dword [esp], eax
call dbg.WinMain@16
sub esp, 0x10
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret
and esi, 1
jne 0x4011c4
xor edi, 1
jmp 0x4011c6
add esi, 1
jmp 0x4011c6
Function at 0x44a3b0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push 0x402e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
mov dword [ebp - 0xc], esp
mov dword [ebp - 8], 0x402a20
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x20], ebx
mov eax, dword [edi]
mov dword [ebp - 0x30], ebx
push eax
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x90], ebx
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
mov ecx, eax
sub ecx, 1
jo 0x44a5b5
call dword [sym.imp.MSVBVM60.DLL___vbaI2I4]
mov ecx, dword [edi]
mov esi, eax
push ecx
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x70], 0x4008
call dword [sym.imp.MSVBVM60.DLL___vbaLenBstr]
sub eax, 1
lea edx, [ebp - 0x70]
jo 0x44a5b5
push eax
lea eax, [ebp - 0x30]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL_rtcLeftCharVar]
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
mov ecx, edi
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVar]
cmp si, bx
jle 0x44a563
movsx eax, si
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x70]
push edx
push eax
lea edx, [ebp - 0x40]
push ecx
push edx
mov dword [ebp - 0x28], 4
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x70], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x50]
push eax
push ecx
call dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x90]
push edx
push eax
mov dword [ebp - 0x88], 0x413768
mov dword [ebp - 0x90], 0x8008
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
lea ecx, [ebp - 0x50]
mov ebx, eax
lea edx, [ebp - 0x40]
push ecx
lea eax, [ebp - 0x30]
push edx
push eax
push 3
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0x10
test bx, bx
jne 0x44a4f9
sub si, 1
jo 0x44a5b5
xor ebx, ebx
jmp 0x44a460
add si, 4
lea ecx, [ebp - 0x30]
jo 0x44a5b5
add si, 2
push ecx
jo 0x44a5b5
movsx edx, si
lea eax, [ebp - 0x70]
push edx
lea ecx, [ebp - 0x40]
push eax
push ecx
mov dword [ebp - 0x28], 0x63
mov dword [ebp - 0x30], 2
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x70], 0x4008
call dword [sym.imp.MSVBVM60.DLL_rtcMidCharVar]
lea edx, [ebp - 0x40]
push edx
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x20]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea eax, [ebp - 0x40]
lea ecx, [ebp - 0x30]
push eax
push ecx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
push 0x44a59f
jmp 0x44a595
lea ecx, [ebp - 0x18]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
Function at 0x44a5c0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x402e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x14], esp
mov dword [ebp - 0x10], 0x402a30
xor esi, esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x74], esi
push 1
call dword [sym.imp.MSVBVM60.DLL___vbaOnError]
mov dword [ebp - 0x80], 1
xor eax, eax
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp + 8]
mov edi, dword [sym.imp.MSVBVM60.DLL_rtcUpperCaseVar]
mov ecx, 0x3e7
cmp ax, cx
jg 0x44a6f7
movsx esi, ax
cmp esi, 0x64
jb 0x44a63c
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov eax, dword [0x4540e8]
mov ecx, dword [eax + esi*4]
push ecx
push 0x406f88
call dword [sym.imp.MSVBVM60.DLL___vbaStrCmp]
test eax, eax
je 0x44a6cb
cmp esi, 0x64
jb 0x44a65f
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [0x4540e8]
lea eax, [edx + esi*4]
mov dword [ebp - 0x5c], eax
mov esi, 0x4008
mov dword [ebp - 0x64], esi
lea ecx, [ebp - 0x64]
push ecx
lea edx, [ebp - 0x34]
push edx
call edi
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x74], esi
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0x44]
push ecx
call edi
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarTstEq]
mov esi, eax
lea ecx, [ebp - 0x44]
push ecx
lea edx, [ebp - 0x34]
push edx
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
test si, si
jne 0x44a6e3
mov ax, word [ebp - 0x80]
add ax, word [ebp - 0x20]
jo 0x44a745
mov dword [ebp - 0x20], eax
jmp 0x44a620
cmp esi, 0x64
jb 0x44a6d6
call dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov edx, dword [ebx]
mov ecx, dword [0x4540e8]
lea ecx, [ecx + esi*4]
jmp 0x44a702
mov dword [ebp - 0x24], 0xffffffff
call dword [fcn.004010b8]
push 0x44a72e
jmp 0x44a72d
mov edx, dword [ebp + 8]
mov edx, dword [edx]
mov ecx, dword [0x4540e8]
call dword [sym.imp.MSVBVM60.DLL___vbaStrCopy]
call dword [fcn.004010b8]
push 0x44a72e
jmp 0x44a72d
ret
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop
nop
nop
nop
nop
Function at 0x10884058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x108841a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1088407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088406a
add dl, dl
jne 0x10884089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x108840dc
xor eax, eax
add dl, dl
jne 0x10884096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1088417d
add dl, dl
jne 0x108840a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108840b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108840bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108840c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x108840d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x10884075
mov eax, 1
add dl, dl
jne 0x108840ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x108840f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x108840e1
sub eax, ebx
mov ebx, 1
jne 0x10884128
mov ecx, 1
add dl, dl
jne 0x1088410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x10884119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10884105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10884075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1088413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1088414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x10884136
cmp eax, 0x7d00
jae 0x1088416d
cmp eax, 0x500
jb 0x10884168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10884075
cmp eax, 0x7f
ja 0x10884170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x10884075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1088419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x10884075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x100074e8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1000759b
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x10007a34
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100074e8
test eax, eax
je 0x10007a77
xor eax, eax
xchg dword [ebp + 8], eax
cmp eax, 0xffff
jle 0x10007a77
cmp word [eax], 0x5a4d
jne 0x10007a77
add eax, dword [eax + 0x3c]
cmp dword [eax], 0x4550
jne 0x10007a77
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
call fcn.100075f0
mov eax, dword [ebp + 8]
jmp 0x10007a90
mov esp, ebp
pop ebp
ret 4

Function at 0x1000adf8
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
jge 0x1000ae1a
mov eax, 0xfffffffd
jmp 0x1000aece
cmp dword [0x100efd78], 0
je 0x1000aea7
cmp dword [0x100efd6c], 5
jl 0x1000ae48
cmp dword [0x100efd6c], 7
jg 0x1000ae48
mov eax, 1
jmp 0x1000ae4d
mov eax, 0
test eax, eax
je 0x1000ae79
mov eax, dword [ebp]
add eax, 0x80
mov ecx, 0x20
push dword [eax]
sub eax, 4
loop 0x1000ae62
mov eax, dword [ebp + 8]
call dword fs:[0xc0]
nop
nop
leave
ret 4
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
cmp dword [0x100efd78], 0
jne 0x1000aec4
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x1000aece
mov esp, ebp
pop ebp
ret 4

Function at 0x1002279c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push esi
call 0x100227a5
pop eax
mov esi, dword fs:[0x30]
mov esi, dword [esi + 0xc]
mov esi, dword [esi + 0x1c]
push esi
mov ebx, dword [esi + 8]
cmp eax, ebx
jb 0x100227c8
mov ecx, dword [esi + 0x10]
add ecx, ebx
cmp eax, ecx
ja 0x100227c8
mov eax, ebx
jmp 0x100227dd
mov esi, dword [esi]
mov ebx, dword [esi]
cmp ebx, dword [esp]
jne 0x100227b4
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
pop esi
pop esi
leave
ret