joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401b10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43023f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov ecx, dword [ecx + 8]
push 0
push 0
push 1
push 1
push eax
mov dword [esp + 0x30], 1
call fcn.0042b437
lea ecx, [esp + 0xc]
mov esi, eax
push ecx
mov ecx, esi
call fcn.0042c206
push 0x4440fc
lea ecx, [esp + 8]
call fcn.00420fd8
mov eax, dword [esp + 0xc]
mov byte [esp + 0x1c], 2
cmp eax, 0xc8
jne 0x401be2
mov edx, dword [0x43ff50]
mov dword [esp + 8], edx
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov byte [esp + 0x20], 3
call dword [eax + 0x58]
test eax, eax
je 0x401bb7
lea edx, [esp + 8]
lea ecx, [esp + 4]
push edx
call fcn.00421382
mov eax, dword [esi]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [eax + 0x58]
test eax, eax
jne 0x401b99
lea ecx, [esp + 4]
call fcn.00420044
mov edx, dword [esp + 4]
push edx
push str.__s_n
call fcn.00410462
add esp, 8
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 2
call fcn.00420f6a
jmp 0x401bf0
push 0x43f1bc
lea ecx, [esp + 8]
call fcn.004210f3
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x4c]
test esi, esi
je 0x401c04
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov esi, dword [esp + 0x24]
lea eax, [esp + 4]
push eax
mov ecx, esi
call fcn.00420cdf
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 1
call fcn.00420f6a
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call fcn.00420f6a
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 8

Function at 0x402880
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
push 0x43f274
push 1
push 0
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4028cf
push 0x43f260
push 0
mov bl, 1
call dword [sym.imp.USER32.dll_FindWindowA]
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4028cf
push 1
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test edi, edi
je 0x4028da
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test bl, bl
pop edi
pop esi
sete al
pop ebx
ret
Function at 0x402c50
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
sub esp, 0x290
push ebx
push ebp
mov ebp, dword [esp + 0x2a0]
xor ebx, ebx
push esi
mov esi, dword [esp + 0x2a0]
test ebp, ebp
push edi
jle 0x402c76
mov ecx, ebp
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x110]
push eax
push 0x202
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
jne 0x402ce6
lea ecx, [esp + 0x10]
push 0x100
push ecx
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
je 0x402ce6
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
test eax, eax
je 0x402ce0
xor edx, edx
mov ecx, dword [eax + 0xc]
mov ecx, dword [ecx + edx]
mov ecx, dword [ecx]
test ecx, ecx
je 0x402cc5
mov dword [esi], ecx
inc ebx
add esi, 4
cmp ebx, ebp
jge 0x402ce0
mov ecx, dword [eax + 0xc]
movsx edi, word [eax + 0xa]
mov ecx, dword [ecx + edx]
add ecx, edi
mov edi, dword [eax]
cmp ecx, edi
jae 0x402ce0
add edx, 4
jmp 0x402cb3
call dword [sym.imp.WSOCK32.dll_WSACleanup]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x290
ret

Function at 0x402f00
Capabilities:
Get routing table

Disassembly:
push ecx
push esi
mov esi, dword [esp + 0x10]
push edi
mov edi, dword [esp + 0x10]
lea eax, [esp + 8]
push esi
mov ecx, dword [edi]
push eax
push ecx
mov dword [esp + 0x14], 0
call sub.iphlpapi.dll_GetIpForwardTable
test eax, eax
jne 0x402f38
push str.No_error_n
call fcn.00410462
add esp, 4
xor eax, eax
pop edi
pop esi
pop ecx
ret
cmp eax, 0x7a
jne 0x402f58
mov edx, dword [esp + 8]
push edx
call fcn.0041001b
add esp, 4
lea ecx, [esp + 8]
mov dword [edi], eax
push esi
push ecx
push eax
call sub.iphlpapi.dll_GetIpForwardTable
pop edi
pop esi
pop ecx
ret

Function at 0x403090
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
lea eax, [esp]
push esi
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4030cb
xor eax, eax
pop esi
add esp, 8
ret
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 4]
lea eax, [esp + 8]
lea edx, [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x2c], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40310a
test esi, esi
je 0x403103
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
add esp, 8
ret
test esi, esi
je 0x403115
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
add esp, 8
ret
Function at 0x406400
Capabilities:
Set registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
lea eax, [esp + 0xc]
push esi
lea ecx, [esp + 4]
push eax
mov eax, dword [esp + 0x10]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push edx
push eax
mov dword [esp + 0x28], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x40643c
xor eax, eax
pop esi
pop ecx
ret 0x10
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x14]
inc eax
push eax
push esi
mov esi, dword [esp + 0xc]
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x406474
test esi, esi
je 0x40646d
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
pop ecx
ret 0x10
test esi, esi
je 0x40647f
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop esi
pop ecx
ret 0x10

Function at 0x406490
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x4308b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push esi
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x80]
lea eax, [esp + 4]
mov dword [esp + 0x78], 0
push eax
push 0xf003f
push 0
push ecx
push edx
mov dword [esp + 0x1c], 0x63
mov dword [esp + 0x18], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40652b
mov esi, dword [esp + 4]
mov dword [esp + 0x84], eax
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x8c]
lea edx, [esp + 0x88]
push ecx
push edx
push 0
push eax
push esi
mov dword [esp + 0x98], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x40653f
test esi, esi
je 0x40652b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov ecx, dword [esp + 0x6c]
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x90]
call fcn.004210f3
test esi, esi
je 0x40655b
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x70]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x78
ret 0x10
Function at 0x407630
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
sub esp, 0x104
lea eax, [esp + 4]
push esi
push 0x100
push eax
mov esi, ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
lea ecx, [esp + 0xc]
push 0
push ecx
mov ecx, esi
call fcn.00422f9f
mov eax, dword [esp + 0x10c]
pop esi
test eax, eax
je 0x4076bc
lea edx, [esp]
push edi
push edx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
lea edi, [esp + 8]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
lea eax, [esp + 8]
push ecx
mov ecx, dword [esp + 8]
push eax
push 1
push 0
push 0x43f274
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
add esp, 0x104
ret 4
lea eax, [esp]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov ecx, dword [esp]
push 0x43f274
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov edx, dword [esp]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
add esp, 0x104
ret 4
Function at 0x41f390
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, dword [ebp + 0x10]
push 0xf00021
mov edx, dword [esi + 4]
mov ecx, dword [esi]
mov eax, dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [esi + 8]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.GDI32.dll_PatBlt]
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov ebx, eax
lea eax, [eax + 5]
add eax, 3
and eax, 0xfffffffc
call fcn.00410210
mov dword [ebp - 4], esp
cmp dword [ebp - 4], 0
je 0x41f45b
add ebx, 2
mov eax, dword [ebp - 4]
push ebx
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextA]
test eax, eax
je 0x41f45b
mov bx, 0x140
mov edi, dword [ebp + 0x14]
mov eax, edi
and al, 0xf
cmp al, 0xc
je 0x41f40e
mov ebx, edi
and bx, 0xf
or bx, 0x150
test edi, 0x80
je 0x41f419
or bh, 8
and edi, 0x8000000
je 0x41f434
mov eax, dword [0x44827c]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
movzx eax, bx
push eax
push esi
push 0xffffffffffffffff
push ecx
push edx
call dword [sym.imp.USER32.dll_DrawTextA]
test edi, edi
je 0x41f45b
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetTextColor]
lea esp, [ebp - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423bf1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x423c33
call fcn.0042d4a8
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x423c33
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x423c2a
xor eax, eax
jmp 0x423c3b
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00423c41
pop edi
pop esi
pop ebx
ret 4

Function at 0x424da1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov eax, ebx
push edi
mov edi, ecx
shr eax, 0x10
test ax, ax
mov dword [edi + 0x40], ebx
jne 0x424dc3
cmp dword [edi + 0x3c], 0
jne 0x424dc3
movzx eax, bx
mov dword [edi + 0x3c], eax
call fcn.0042d4a8
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
mov ecx, edi
push dword [esp + 0x18]
push eax
call fcn.00424df0
pop edi
pop esi
pop ebx
ret 8

Function at 0x424e3e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
mov ebx, ecx
xor edi, edi
call fcn.0042d4a8
mov esi, dword [eax + 0xc]
push 5
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x424e6f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push esi
mov ecx, ebx
push dword [esp + 0x18]
push edi
call fcn.00424e82
pop edi
pop esi
pop ebx
ret 8

Function at 0x42b2f4
Capabilities:
Create http request

Disassembly:
mov eax, 0x430f04
call fcn.00410b9c
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0xc]
and dword [ebp - 4], 0
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42b32c
call fcn.0042d4a8
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
mov dword [esi + 8], eax
jne 0x42b351
push eax
push dword [esi + 4]
call fcn.0042c37f
jmp 0x42b35d
push esi
push eax
mov ecx, 0x4465a8
call fcn.0042b36e
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x18
Function at 0x42b667
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
mov eax, 0x430f77
call fcn.00410b9c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00426a44
mov eax, dword [ebp + 0x18]
lea ebx, [esi + 0x24]
mov dword [esi + 0x1c], eax
mov eax, dword [0x43ff50]
xor edi, edi
mov dword [ebx], eax
mov dword [ebp - 4], edi
push dword [ebp + 0x10]
lea ecx, [esi + 0xc]
mov byte [ebp - 4], 1
mov dword [esi], vtable.CInternetFile.0
call fcn.004210f3
push dword [ebp + 0x14]
mov ecx, ebx
call fcn.004210f3
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18

Function at 0x42b703
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov eax, 0x430f9f
call fcn.00410b9c
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esi
call fcn.00426a44
mov eax, dword [0x43ff50]
lea ebx, [esi + 0x24]
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebx], eax
mov eax, dword [ebp + 0x10]
mov dword [esi], vtable.CInternetFile.0
mov ecx, 0x4465a8
mov byte [ebp - 4], 1
push dword [eax + 0xc]
push dword [ebp + 8]
call fcn.0042b36e
push dword [ebp + 0xc]
lea ecx, [esi + 0xc]
call fcn.004210f3
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
mov dword [esi + 0x1c], eax
lea eax, [ebp + 0x10]
push eax
call fcn.004081e7
push eax
mov ecx, ebx
mov byte [ebp - 4], 2
call fcn.004210a3
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 1
call fcn.00420f6a
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x18], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x40], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x10
Function at 0x539320
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406a70
xor eax, eax
push ebp
push 0x53939f
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x53937f
push dword fs:[eax]
mov dword fs:[eax], esp
push 5
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00406b14
push eax
push 0x5393ac
mov eax, dword [0x54d040]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.shell32.dll_ShellExecuteW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x539389
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5393a6
lea eax, [ebp - 4]
call fcn.00406a78
ret

Function at 0x53a324
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd74
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x288], edx
mov dword [ebp - 0x28c], edx
mov dword [ebp - 0x27c], edx
mov dword [ebp - 0x280], edx
mov dword [ebp - 0x274], edx
mov dword [ebp - 0x278], edx
lea eax, [ebp - 0x270]
mov edx, dword [0x40d5c4]
call fcn.00407728
xor eax, eax
push ebp
push 0x53a525
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x53a4dc
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x278]
xor eax, eax
call fcn.004045bc
mov eax, dword [ebp - 0x278]
lea edx, [ebp - 0x274]
call fcn.00413acc
lea eax, [ebp - 0x274]
mov edx, 0x53a540
call fcn.00406eac
mov eax, dword [ebp - 0x274]
lea ecx, [ebp - 0x270]
mov edx, 0x1ff
call fcn.00413960
xor edx, edx
push ebp
push 0x53a434
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 0x280]
xor eax, eax
call fcn.004045bc
mov eax, dword [ebp - 0x280]
lea edx, [ebp - 0x27c]
call fcn.00413acc
lea eax, [ebp - 0x27c]
mov edx, dword [ebp - 0x25c]
call fcn.00406eac
mov ebx, dword [ebp - 0x27c]
mov dword [ebp - 0x284], ebx
mov eax, dword [ebp - 0x284]
call fcn.00406b14
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb eax, eax
inc eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53a4b4
xor eax, eax
push ebp
push 0x53a4aa
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28c]
xor eax, eax
call fcn.004045bc
mov eax, dword [ebp - 0x28c]
lea edx, [ebp - 0x288]
call fcn.00413acc
lea eax, [ebp - 0x288]
mov edx, dword [ebp - 0x25c]
call fcn.00406eac
mov esi, dword [ebp - 0x288]
mov dword [ebp - 0x284], esi
mov eax, dword [ebp - 0x284]
call fcn.00406b14
push eax
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53a4b4
lea eax, [ebp - 0x270]
call fcn.004139b0
test eax, eax
je 0x53a440
lea eax, [ebp - 0x270]
call fcn.004139d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x53a4e6
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x53a52c
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.00406a80
lea eax, [ebp - 0x280]
mov edx, 4
call fcn.00406a80
lea eax, [ebp - 0x270]
mov edx, dword [0x40d5c4]
call fcn.00407800
ret
Function at 0x5077d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xbc000]
push edi
or ebp, 0xffffffff
jmp 0x5077f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5077f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5077e8
mov eax, 1
add ebx, ebx
jne 0x50780b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50781c
jne 0x50783b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50783b
dec eax
add ebx, ebx
jne 0x507828
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x507800
add ebx, ebx
jne 0x507837
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x50788d
xor ecx, ecx
sub eax, 3
jb 0x507853
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5078c2
sar eax, 1
mov ebp, eax
jmp 0x50785e
add ebx, ebx
jne 0x50785e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50782c
inc ecx
add ebx, ebx
jne 0x50786c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50782c
add ebx, ebx
jne 0x507879
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50786e
jne 0x50788a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50786e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5078ac
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50789e
jmp 0x5077ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5078ac
add edi, ecx
jmp 0x5077ee
pop esi
mov edi, esi
mov ecx, 0x3887
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5078ca
cmp byte [edi], 0x11
jne 0x5078ca
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 0x5078cf
lea edi, [esi + 0x103000]
mov eax, dword [edi]
or eax, eax
je 0x507947
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x14e834]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x14e988]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5078fc
mov ecx, edi
jns 0x50792b
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 + 0x14e98c]
or eax, eax
je 0x507941
mov dword [ebx], eax
add ebx, 4
jmp 0x507919
call dword [esi + 0x14e99c]
mov ebp, dword [esi + 0x14e990]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x50797b
sub esp, 0xffffff80
jmp 0x417520
Function at 0x4417e8
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0x10
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, dword [0x4d2130]
sub eax, 1
jo 0x441854
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 1
and dword [ebp - 4], 0
jmp 0x441818
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0xc]
jo 0x441854
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x10]
jg 0x441849
mov eax, dword [ebp + 8]
push dword [eax]
push dword [ebp - 4]
push dword [0x4d212c]
call sub.MSVBVM60.DLL___vbaDerefAry1
push dword [eax + 8]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x441847
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x44184d
jmp 0x44180d
or dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 8]
leave
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow
Function at 0x4427fd
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0x1c
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, dword [0x4d1b68]
sub eax, 1
jo 0x4428c4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], 1
and dword [ebp - 4], 0
jmp 0x442835
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
jo 0x4428c4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jg 0x4428b9
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x302
jae 0x442852
and dword [ebp - 0x18], 0
jmp 0x44285a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 4], 7
jne 0x4428b4
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x302
jae 0x442882
and dword [ebp - 0x1c], 0
jmp 0x44288a
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1c], eax
push 1
mov eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [0x4d1b5c]
push dword [ecx + eax + 0x7c]
mov eax, dword [ebp + 8]
push dword [eax]
push 0
call sub.MSVBVM60.DLL___vbaInStr
test eax, eax
jle 0x4428b4
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x4428bd
jmp 0x442826
or dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 8]
leave
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow

Function at 0x442991
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0x24
pop eax
call sub.MSVBVM60.DLL___vbaChkstk
mov eax, dword [0x4d1b68]
sub eax, 1
jo 0x442a88
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
and dword [ebp - 4], 0
jmp 0x4429c9
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x14]
jo 0x442a88
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x18]
jg 0x442a7d
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x302
jae 0x4429ea
and dword [ebp - 0x1c], 0
jmp 0x4429f2
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 4], 6
jne 0x442a78
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x302
jae 0x442a1a
and dword [ebp - 0x20], 0
jmp 0x442a22
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
shl eax, 7
mov ecx, dword [0x4d1b5c]
cmp dword [ecx + eax + 0x48], 4
je 0x442a78
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x302
jae 0x442a4a
and dword [ebp - 0x24], 0
jmp 0x442a52
call sub.MSVBVM60.DLL___vbaGenerateBoundsError
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
push dword [eax]
mov eax, dword [ebp - 0xc]
shl eax, 7
mov ecx, dword [0x4d1b5c]
push dword [ecx + eax + 0x7c]
call sub.MSVBVM60.DLL___vbaStrCmp
test eax, eax
jne 0x442a78
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jmp 0x442a81
jmp 0x4429ba
or dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 8]
leave
ret 4
call sub.MSVBVM60.DLL___vbaErrorOverflow