joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10016ea
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1001b70
call fcn.01001894
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1003370
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x10014a1
cmp eax, esi
jne 0x1001494
xor esi, esi
inc esi
mov ebx, esi
jmp 0x10014a4
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x100147b
xor esi, esi
inc esi
mov eax, dword [0x100336c]
cmp eax, esi
jne 0x10014b7
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x10014e6
mov eax, dword [0x100336c]
test eax, eax
jne 0x10014e0
mov dword [0x100336c], esi
push 0x10010d0
push 0x10010c4
call fcn.010013e0
pop ecx
pop ecx
test eax, eax
je 0x10014e6
jmp 0x100160e
mov dword [0x1003034], esi
mov eax, dword [0x100336c]
cmp eax, esi
jne 0x100150a
push 0x10010c0
push 0x10010b8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100336c], 2
test ebx, ebx
jne 0x1001516
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1003374], 0
je 0x100153a
push 0x1003374
call fcn.01001809
pop ecx
test eax, eax
je 0x100153a
push 0
push 2
push 0
call dword [0x1003374]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x1001596
test al, al
je 0x1001554
cmp dword [ebp - 0x1c], 0
jne 0x1001596
mov al, byte [esi]
test al, al
je 0x1001564
cmp al, 0x20
ja 0x1001564
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1001554
test byte [ebp - 0x3c], 1
je 0x1001570
movzx eax, word [ebp - 0x38]
jmp 0x1001573
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1003030], eax
cmp dword [0x1003024], 0
jne 0x10015ea
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x10015a5
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x10015b8
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1001541
cmp dword [0x1003034], 0
jne 0x10015f9
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1003030]
jmp 0x100161a
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010018d9
ret
call fcn.010019e1
jmp 0x1001441

Function at 0x438c85
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
mov eax, eax
call fcn.00438cb8
add eax, eax
xor dword [ecx], esi
or eax, eax
sub eax, 1
add eax, eax
inc ecx
mov edi, edi
cmp ecx, edx
jne fcn.00438c85
sub eax, eax
dec edi
dec edi
ret
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1716160b
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x7f372085
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x10001000
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x100042a8]
sub esp, 0x24
test eax, eax
push esi
mov esi, ecx
jne 0x10001024
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x10]
mov dword [0x100042a8], ecx
mov edx, dword [0x100042ac]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
mov dword [esi], edx
mov edx, dword [esp + 0x34]
mov dword [0x100042ac], esi
mov dword [esi + 0x10], edx
mov edx, dword [esp + 0x38]
push ecx
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
mov dword [esi + 0x14], edx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.10001100
test eax, eax
mov dword [esi + 0xc], eax
jne 0x1000107e
push eax
push 0x10004068
push str.Err_to_get_ProcAddress
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, esi
pop esi
add esp, 0x24
ret 0x10
cmp eax, dword [0x100042a8]
jbe 0x10001091
cmp byte [eax], 0x68
jne 0x10001091
mov eax, dword [eax + 1]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.10001120
mov eax, esi
pop esi
add esp, 0x24
ret 0x10

Function at 0x10001120
Capabilities:
Enumerate process modules

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10002a0b
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
sub esp, 0x22c
push ebp
push esi
xor esi, esi
push edi
cmp eax, esi
je 0x1000115b
push fcn.10001120
call fcn.10001210
add esp, 4
mov dword [esp + 0xc], eax
jmp 0x1000115f
mov dword [esp + 0xc], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
mov dword [esp + 0x10], ebp
mov ecx, 0x88
xor eax, eax
lea edi, [esp + 0x18]
mov dword [esp + 0x14], 0x224
rep stosd dword es:[edi], eax
lea eax, [esp + 0x14]
mov dword [esp + 0x240], esi
push eax
push ebp
call sub.KERNEL32.dll_Module32First
test eax, eax
je 0x100011d9
mov esi, dword [esp + 0x250]
mov edi, dword [esp + 0x24c]
push ebx
mov ebx, dword [esp + 0x24c]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cmp eax, ecx
je 0x100011c9
push eax
push esi
push edi
push ebx
call fcn.10001250
lea ecx, [esp + 0x18]
push ecx
push ebp
call sub.KERNEL32.dll_Module32Next
test eax, eax
jne 0x100011b4
pop ebx
cmp ebp, 0xffffffff
je 0x100011e5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x238]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x238
ret 0x10
Function at 0x10001a70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x264
mov ecx, dword [esp + 0x268]
lea eax, [esp]
push esi
push eax
push 0x20019
push str.LocalServer32
push ecx
mov dword [esp + 0x18], 0x20a
call fcn.100018e0
add esp, 0x10
test eax, eax
jl 0x10001b7e
mov ecx, dword [esp + 4]
lea edx, [esp + 8]
lea eax, [esp + 0x60]
push edx
push eax
push 0
push 0
push 0
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10001adf
mov eax, 0x80040154
pop esi
add esp, 0x264
ret
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x20]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x14], eax
push str.__Embedding
mov dword [esp + 0x1c], eax
push ecx
mov dword [esp + 0x28], 0x44
mov dword [esp + 0x24], eax
call fcn.10001890
add esp, 8
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
lea ecx, [esp + 0x64]
push edx
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push 0
call fcn.10002060
test eax, eax
pop edi
jne 0x10001b68
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
test eax, eax
jg 0x10001b54
call esi
pop esi
add esp, 0x264
ret
call esi
and eax, 0xffff
pop esi
or eax, 0x80070000
add esp, 0x264
ret
mov edx, dword [esp + 0xc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
xor eax, eax
pop esi
add esp, 0x264
ret
Function at 0x10002060
Capabilities:
Create process on windows
Create process suspended
Resume thread

Disassembly:
sub esp, 0x610
push ebx
push esi
push edi
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
mov byte [esp + 0x21c], al
rep stosd dword es:[edi], eax
mov ecx, 0xff
lea edi, [esp + 0x21d]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ebx, dword [sym.imp.MSVCRT.dll_wcstombs]
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x115]
mov byte [esp + 0x114], 0
rep stosd dword es:[edi], eax
mov edi, dword [esp + 0x620]
test edi, edi
je 0x100020cc
push 0x104
lea eax, [esp + 0x10]
push edi
push eax
call ebx
add esp, 0xc
push ebp
mov ebp, dword [esp + 0x628]
test ebp, ebp
je 0x100020eb
push 0x3ff
lea ecx, [esp + 0x224]
push ebp
push ecx
call ebx
add esp, 0xc
mov esi, dword [esp + 0x640]
test esi, esi
je 0x10002109
push 0x104
lea edx, [esp + 0x11c]
push esi
push edx
call ebx
add esp, 0xc
lea eax, [esp + 0x118]
lea ecx, [esp + 0x220]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.10001cf0
mov eax, dword [esp + 0x654]
mov ebx, dword [esp + 0x644]
mov ecx, dword [esp + 0x650]
mov edx, dword [esp + 0x648]
add esp, 0xc
push eax
mov eax, ebx
push ecx
mov ecx, dword [esp + 0x63c]
push esi
or al, 4
push edx
mov edx, dword [esp + 0x640]
push eax
mov eax, dword [esp + 0x640]
push ecx
push edx
push eax
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
pop ebp
test esi, esi
je 0x10002193
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
test bl, 4
jne 0x10002193
mov ecx, dword [esp + 0x644]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x610
ret 0x28
Function at 0x4011cb
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40201c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x402028
push 0x402024
push 0x402020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x402028]
push dword [0x402024]
push dword [0x402020]
mov dword [0x402014], esp
call fcn.00401250
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x68572ac3
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x681e7f62
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4017e0
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x401d68
call fcn.00401b7c
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x402378
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4015ab
cmp eax, esi
jne 0x40159e
xor esi, esi
inc esi
mov edi, esi
jmp 0x4015ae
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401582
xor esi, esi
inc esi
cmp dword [0x40237c], esi
jne 0x4015c0
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4015fa
cmp dword [0x40237c], ebx
jne 0x4015f4
mov dword [0x40237c], esi
push 0x4010e0
push 0x4010d4
call fcn.0040173a
pop ecx
pop ecx
test eax, eax
je 0x4015fa
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x401724
mov dword [0x402024], esi
cmp dword [0x40237c], esi
jne 0x40161d
push 0x4010d0
push 0x4010c8
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x40237c], 2
test edi, edi
jne 0x40162a
xor eax, eax
mov ecx, 0x402378
xchg dword [ecx], eax
cmp dword [0x402380], 0
je 0x401656
push 0x402380
call fcn.004019b0
pop ecx
test eax, eax
je 0x401656
push ebx
push 2
push ebx
mov esi, dword [0x402380]
mov ecx, esi
call dword [0x40308c]
call esi
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
mov ecx, dword [eax]
test ecx, ecx
je 0x4015e3
mov dword [ebp - 0x20], ecx
push 0x20
pop esi
mov edx, dword [ebp - 0x1c]
movzx eax, word [ecx]
cmp ax, si
ja 0x4016c1
test ax, ax
je 0x401690
test edx, edx
jne 0x4016c1
test ax, ax
je 0x401690
cmp ax, si
ja 0x401690
add ecx, 2
mov dword [ebp - 0x20], ecx
movzx eax, word [ecx]
jmp 0x40167b
test byte [ebp - 0x3c], 1
je 0x40169c
movzx eax, word [ebp - 0x38]
jmp 0x40169f
push 0xa
pop eax
push eax
push ecx
push ebx
push 0x400000
call main
mov dword [0x402020], eax
cmp dword [0x402038], 0
jne 0x401709
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp eax, 0x22
jne 0x4016d2
xor eax, eax
test edx, edx
sete al
mov edx, eax
mov dword [ebp - 0x1c], edx
add ecx, 2
mov dword [ebp - 0x20], ecx
jmp 0x40166a
cmp dword [0x402024], 0
jne 0x40171d
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x402020]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00401ab9
jmp 0x401559

Function at 0x401880
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x401d88
call fcn.00401b7c
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4018e0
cmp eax, 0xffffffff
je 0x4018e0
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x4018d9
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x4018d9
cmp edx, 0x10000000
jae 0x4018d9
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x4018d6
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x401960
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40199e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x401996
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4019a0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x401986
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x401a80
Capabilities:
Parse pe header

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

Function at 0x401a2d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov dword [0x4040c0], eax
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401a3c
push esp
mov dword [ebp - 0x24], 0x401778
mov eax, dword [0x4040c0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], str.solienty
call dword [sym.imp.USER32.dll_RegisterClassA]
xor eax, eax
push eax
push dword [0x4040c0]
push eax
push eax
push 0x190
push 0x2b2
push 0x640
push 0x9c4
push 0
push str.absent
push str.solienty
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4040c8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401adb
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x1c]
push eax
call esi
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401abc
pop ebp
ret 0x10
Function at 0x402cc5
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x4141c4], 0
jne 0x402cd3
call fcn.00402c9b
mov ecx, dword [esp + 8]
mov eax, dword [esp + 4]
push esi
mov esi, dword [esp + 0x10]
push edi
test esi, esi
jbe 0x402d00
test cl, 7
je 0x402d00
movzx edx, byte [ecx]
movzx edi, al
xor edx, edi
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec esi
inc ecx
jmp 0x402ce1
cmp esi, 8
jb 0x402d84
mov edi, esi
shr edi, 3
xor eax, dword [ecx]
add ecx, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
sub esi, 8
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
mov edx, eax
movzx eax, dl
mov eax, dword [eax*4 + 0x4141c0]
xor eax, dword [ecx - 4]
shr edx, 8
xor eax, edx
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
movzx edx, al
shr eax, 8
xor eax, dword [edx*4 + 0x4141c0]
dec edi
jne 0x402d0a
xor edx, edx
test esi, esi
jbe 0x402da4
push ebx
movzx edi, byte [edx + ecx]
movzx ebx, al
xor edi, ebx
shr eax, 8
xor eax, dword [edi*4 + 0x4141c0]
inc edx
cmp edx, esi
jb 0x402d8b
pop ebx
pop edi
pop esi
ret 0xc
Function at 0x40d85e
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 0x7b9df0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3b4000]
push edi
or ebp, 0xffffffff
jmp 0x7b9e12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x7b9e19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b9e08
mov eax, 1
add ebx, ebx
jne 0x7b9e2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x7b9e3c
jne 0x7b9e4c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x7b9e4c
dec eax
add ebx, ebx
jne 0x7b9e48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x7b9e20
xor ecx, ecx
sub eax, 3
jb 0x7b9e64
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x7b9ed6
sar eax, 1
mov ebp, eax
jmp 0x7b9e6f
add ebx, ebx
jne 0x7b9e6f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x7b9e7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x7b9ea0
inc ecx
add ebx, ebx
jne 0x7b9e8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x7b9e81
jne 0x7b9e9d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x7b9e81
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x7b9ec0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x7b9eb1
jmp 0x7b9e0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x7b9ec0
add edi, ecx
jmp 0x7b9e0e
pop esi
mov edi, esi
mov ecx, 0x23b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x7b9ede
cmp byte [edi], 1
jne 0x7b9ede
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 eax, ebx
loop 0x7b9ee3
lea edi, [esi + 0x3b7000]
mov eax, dword [edi]
or eax, eax
je 0x7b9f5b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3bf6bc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3bf770]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x7b9f10
mov ecx, edi
jns 0x7b9f3f
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 + 0x3bf774]
or eax, eax
je 0x7b9f55
mov dword [ebx], eax
add ebx, 4
jmp 0x7b9f2d
call dword [esi + 0x3bf778]
popal
jmp 0x403187
Function at 0x11585c47
Capabilities:
Resolve function by parsing pe exports

Disassembly:
test eax, eax
pushal
lea esp, [esp + 0x34]
je 0x1157501c
rcr dh, 6
cmc
mov esi, dword [eax + 0x3c]
bsf dx, si
mov dx, 0xb2c8
add esi, eax
shl dl, cl
movzx dx, bl
rol dl, cl
mov edx, dword [esi + 0x78]
bt bp, 0xf
mov dword [esp], esi
pushal
mov dword [esp + 0x1c], edi
and al, 0x99
clc
add eax, eax
neg ah
mov dword [esp + 0x18], ebx
rcl ax, 0xf
das
lahf
movsx eax, bl
mov dword [esp + 0x14], edx
neg ax
mov eax, dword [ebp + 8]
stc
jmp 0x1157553a

Function at 0x11591550
Capabilities:
Encode data using xor

Disassembly:
adc byte [esi - 0x19665603], 0x3d
dec edi
and eax, ecx
mov dl, 0xee
invalid
push 0x42
push 0xffffffffffffffda
std
add dword [ecx + 6], esi
invalid
clc
mov al, 0x2e
cmp si, ax
repne scasb al, byte es:[edi]
pushal
pushal
lea esp, [esp + 0x44]
jne 0x115858c4
cwde
pushfd
mov byte [edi - 1], 0
call fcn.11590357
je 0x11591506
xor ch, byte [edx + 0x3114cd2d]
push ebp
sub bl, byte [esi]
mov al, 0xe
jae 0x11591544
sal byte [eax + edi*4 + 0x67], 1
jecxz 0x11591600
jcxz 0x11591600
invalid
fmul dword [edi + 7]
push eax
push ecx
cwde
xor dword [esp + ecx*4], edx
sub esi, dword [ebx + 0x4f]
inc ecx
dec eax
adc ecx, 0xe1ad0a92
cmp dword [eax - 0x4161c5e4], edx
cdq
in al, dx
pushal
outsd dx, dword [esi]
lodsd eax, dword [esi]
loope 0x115915dd
nop
sbb al, 0x3a
sahf
mov esi, 0x6f60ec99
or al, 0xaa
jp 0x1159158e
fstp st(2)
pop ds
ficomp dword [edi]
push ebx
loopne 0x115915a1
sbb dh, dl
out dx, eax
dec esp
mov al, 0x10
mov bh, 0xe8
test eax, 0x294ee77f
mov bl, 0x43
push esp
inc edx
pop es
adc al, 0x8c
je 0x11591642
jne 0x11591605
pop esi
popfd
cmpsb byte [esi], byte es:[edi]
xchg edi, eax
lds eax, [ecx - 0x3c342c14]
dec esp
fst qword [ecx - 0xf]
in eax, 0x94
xchg esp, eax
dec ebp
pop ebx
mov esp, 0xb3bcc665
je 0x11591581
mov ebp, 0xf1611976
xlatb
stc
hlt
mov ch, byte [eax - 0x3fac9cee]
jno 0x115915b0
sal byte [ecx - 0x58], 0x8d
add eax, 0xff1e72fa
lea eax, [0xff1e72fa]
xchg bh, al
inc ebx
inc esi
dec eax
call [edi]
cmp dword [eax], edi
mov edx, 0x51d55a61
cmp dword [ebp + 0x75394164], esp
mov edx, 0xd736e23c
mov ecx, 0x14f8c0ad
dec esp
aam 0xc4
mov ebp, 0xb9309e2f
and esi, dword [edi + 2]
sub ch, byte [edx - 0x4e248d76]
sub dword [ecx], esi
pop eax
jge 0x11591644
add dword [ecx + 5], esi
jno 0x1159164a
add eax, 0x2b4b5969
imul ebx, dword [ecx + 0x4b], 0x24648d2b
or al, 0xf
test byte [edi], bl
push 0xfffffffffffffffe
call edx
clc
and al, 0xc
Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x3462594c
test eax, eax
nop
nop
nop
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
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x296c0f82
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x483f70
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov ecx, dword [0x48709c]
mov eax, dword [esp + 4]
push ebx
mov ebx, dword [sym.imp.MSVBVM60.DLL___vbaGenerateBoundsError]
mov dword [ecx], eax
mov eax, 1
push esi
push edi
mov dword [0x4870a8], eax
sub eax, 1
jo 0x484029
mov esi, eax
cmp esi, 0x270
jb 0x483fa4
call ebx
mov edx, dword [0x48709c]
push 0x40000000
mov esi, dword [edx + esi*4]
push esi
call fcn.00483ee0
xor eax, esi
push eax
push 0x6c078965
call fcn.00483c00
mov esi, dword [0x4870a8]
mov edi, eax
cmp esi, 0x270
jb 0x483fd7
call ebx
mov eax, dword [0x4870a8]
push eax
push edi
call fcn.00483b90
mov ecx, dword [0x48709c]
mov dword [ecx + esi*4], eax
mov eax, dword [0x4870a8]
add eax, 1
jo 0x484029
cmp eax, 0x26f
mov dword [0x4870a8], eax
jle 0x483f8f
mov edx, dword [0x4870bc]
mov word [0x4870c8], 0xffff
pop edi
pop esi
mov dword [edx], 0
mov eax, dword [0x4870bc]
pop ebx
mov dword [eax + 4], 0x9908b0df
ret 4
call dword [sym.imp.MSVBVM60.DLL___vbaErrorOverflow]
nop