joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a840
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x43000]
push edi
or ebp, 0xffffffff
jmp 0x44a862
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x44a869
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a858
mov eax, 1
add ebx, ebx
jne 0x44a87b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x44a88c
jne 0x44a8ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a8ab
dec eax
add ebx, ebx
jne 0x44a898
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x44a870
add ebx, ebx
jne 0x44a8a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x44a8fd
xor ecx, ecx
sub eax, 3
jb 0x44a8c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x44a932
sar eax, 1
mov ebp, eax
jmp 0x44a8ce
add ebx, ebx
jne 0x44a8ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a89c
inc ecx
add ebx, ebx
jne 0x44a8dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x44a89c
add ebx, ebx
jne 0x44a8e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x44a8de
jne 0x44a8fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x44a8de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x44a91c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x44a90e
jmp 0x44a85e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x44a91c
add edi, ecx
jmp 0x44a85e
pop esi
mov edi, esi
mov ecx, 0x260
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x44a93a
cmp byte [edi], 3
jne 0x44a93a
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 0x44a93f
lea edi, [esi + 0x47000]
mov eax, dword [edi]
or eax, eax
je 0x44a9ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x759d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x75b28]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x44a96c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x75b30]
or eax, eax
je 0x44a9a8
mov dword [ebx], eax
add ebx, 4
jmp 0x44a989
call dword [esi + 0x75b2c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x44a9df
cmp al, 0xef
ja 0x44a9d2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x44a9b4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x44a9c1
mov ebp, dword [esi + 0x75b34]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x44aa13
sub esp, 0xffffff80
jmp 0x408a92
Function at 0x4010d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
mov edi, 0x5817
mov ebx, 0x397a
mov ecx, 0x4a18
jmp 0x4010f0
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4010f0
inc esi
mov eax, esi
and eax, 0x80000001
jns 0x401112
dec eax
or eax, 0xfffffffe
inc eax
jne 0x401115
inc esi
cmp esi, 0x2c5a
jl 0x401103
mov esi, dword [ebp + 8]
test esi, esi
je 0x40119e
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x40119e
cmp esi, eax
jae 0x40119e
mov edx, ecx
sub eax, esi
je 0x401150
mov ebx, eax
mov al, byte [edx + esi + 1]
add al, 0x3d
xor byte [edx + esi], al
inc edx
cmp edx, ebx
jb 0x401137
mov ebx, 0x397a
lea ebx, [ebx]
mov eax, 0xa16b312f
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x401150
mov eax, 0x13e22cbd
imul ebx
sar edx, 4
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x401165
jmp 0x401180
mov eax, ecx
and eax, 0x80000007
jns 0x40118e
dec eax
or eax, 0xfffffff8
inc eax
jne 0x401195
add ecx, 3
jmp 0x401196
inc ecx
cmp ecx, 0x48fc
jl 0x401180
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4027a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [ebp + 0xc], 0
push ebx
push esi
push edi
mov ecx, 0x7ee6
mov edi, 0x4672
mov ebx, 0x25d1
je 0x402901
mov eax, 0xb81702e1
imul edi
add edx, edi
sar edx, 7
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x4027c2
cmp dword [ebp + 0x10], edi
jne 0x4027e5
cmp dword [ebp + 0x18], edi
je 0x402914
mov eax, 0x964fda6d
imul ebx
add edx, ebx
sar edx, 6
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
jne 0x4027e5
mov esi, 0x747f
nop
mov eax, 0x473c1ab7
imul esi
sar edx, 5
mov esi, edx
shr esi, 0x1f
add esi, edx
jne 0x402800
mov ecx, dword [ebp + 0xc]
mov eax, 0x5a4d
mov ebx, dword [ecx + 0x3c]
mov esi, 0x28
cmp word [ecx], ax
jne 0x402914
cmp dword [ebx + ecx], 0x4550
jne 0x402914
mov eax, dword [ebx + ecx + 0x7c]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x402914
mov ebx, dword [ebx + ecx + 0x78]
add ebx, ecx
mov edx, 0x3b97
mov eax, dword [ebx + 0x20]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x24]
add eax, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x1c]
add eax, ecx
mov dword [ebp - 0xc], eax
mov edi, 0x2b
mov eax, 0xf6
cmp eax, 0x2b
cmovl eax, edi
dec edx
jne 0x402875
mov edx, dword [ebp + 0x10]
mov eax, edx
shr eax, 0x10
test eax, eax
je 0x402914
xor edi, edi
cmp dword [ebx + 0x18], edi
jbe 0x402914
lea esp, [esp]
mov eax, dword [ebp - 4]
mov eax, dword [eax + edi*4]
add eax, ecx
push eax
push edx
call fcn.00403160
add esp, 8
test eax, eax
jne 0x4028c9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
inc edi
cmp edi, dword [ebx + 0x18]
jb 0x4028a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx eax, word [eax + edi*2]
mov edx, 0x76
mov ecx, dword [ecx + eax*4]
add ecx, dword [ebp + 0xc]
mov eax, 0x2e24
cmp esi, edx
cmovg esi, edx
dec eax
jne 0x4028e3
cmp ecx, ebx
jbe 0x4028f8
mov eax, dword [ebp - 0x10]
add eax, ebx
cmp ecx, eax
jb 0x402914
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0x66666667
imul ecx
sar edx, 6
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x402901
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x403010
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, 0x3e
push edi
mov edi, 0x252
lea ebx, [esi + 0x1a]
mov ecx, 0x392d
jmp 0x403030
mov eax, 0x94f2095
imul edi
sar edx, 1
mov edi, edx
shr edi, 0x1f
add edi, edx
jne 0x403030
mov eax, 0x23ea
mov edx, 0xd
lea esp, [esp]
cmp esi, edx
cmovl esi, edx
dec eax
jne 0x403050
mov edi, dword [ebp + 8]
mov eax, 0x6585
inc byte [edi + 2]
mov dl, byte [edi + 2]
mov esi, 5
jmp 0x403070
cmp ebx, esi
cmovl ebx, esi
dec eax
jne 0x403070
movzx eax, byte [edi + 0xa]
movzx esi, dl
movzx edx, byte [esi + edi + 0x10]
add esi, edi
add eax, edx
movzx edx, al
mov byte [edi + 0xa], al
mov bl, byte [esi + 0x10]
mov al, byte [edx + edi + 0x10]
mov byte [esi + 0x10], al
mov byte [edx + edi + 0x10], bl
mov bh, byte [esi + 0x10]
add bh, bl
mov eax, 0xb11fd3b9
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jne 0x4030a1
movzx ecx, byte [ebp + 0xc]
movzx eax, bh
movzx eax, byte [eax + edi + 0x10]
pop edi
pop esi
xor eax, ecx
pop ebx
pop ebp
ret
Function at 0x41e420
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x417015
lea edi, [esi - 0x16015]
push edi
or ebp, 0xffffffff
jmp 0x41e442
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e449
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e438
mov eax, 1
add ebx, ebx
jne 0x41e45b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e450
jne 0x41e46c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e450
xor ecx, ecx
sub eax, 3
jb 0x41e480
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e4f2
mov ebp, eax
add ebx, ebx
jne 0x41e48b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e498
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e4bc
inc ecx
add ebx, ebx
jne 0x41e4a8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e49d
jne 0x41e4b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e49d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e4dc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e4cd
jmp 0x41e43e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e4dc
add edi, ecx
jmp 0x41e43e
pop esi
mov edi, esi
mov ecx, 0x71
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e4fa
cmp byte [edi], 2
jne 0x41e4fa
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 0x41e4ff
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e56e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e52c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e06c]
or eax, eax
je 0x41e568
mov dword [ebx], eax
add ebx, 4
jmp 0x41e549
call dword [esi + 0x1e068]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x41e59f
cmp al, 0xef
ja 0x41e592
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41e574
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x41e581
mov ebp, dword [esi + 0x1e070]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1e5fa]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e5eb
sub esp, 0xffffff80
jmp 0x4013e0

Function at 0x484ce0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x484a08
sub edi, 0x278b0450
dec edx
sub edx, edi
call fcn.00484d19
add edx, 1
xor dword [esi], eax
dec edx
add edi, 0x80dfba52
add esi, 2
dec edx
add edx, 0x478a81ea
cmp esi, ebx
jl fcn.00484ce0
inc edi
ret
Function at 0x412210
Capabilities:
Parse pe header

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

Function at 0x100013e7
Capabilities:
Get hostname

Disassembly:
sub esp, 0xa0
lea ecx, [esp + 4]
mov dword [ebp - 8], ecx
push 0x8c
push dword [ebp - 8]
push 0x100056d5
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
add esp, 0xa0
sub eax, 0x9ffe
shr ecx, 6
add ecx, eax
push eax
mov edx, 0x10001afe
add edx, ecx
xor eax, eax
push edx
push eax
mov ecx, esp
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
pop ecx
ret
Function at 0x401410
Capabilities:
Create thread
Enumerate threads
Hide graphical window
Resume thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x6c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x68], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xorps xmm0, xmm0
push edi
push 0x40564c
mov dword [esp + 0x34], 0
movlpd qword [esp + 0x3c], xmm0
movlpd qword [esp + 0x48], xmm0
movlpd qword [esp + 0x50], xmm0
mov dword [esp + 0x38], 0x401170
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], str.RanOnline
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
je 0x4015fb
push 0
push esi
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push str.RanOnline
push str.RanOnline
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
test esi, esi
je 0x4015fb
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0xdac
push 1
push esi
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0
push esi
push 0x4013f0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x60]
push 0
push eax
call esi
test eax, eax
je 0x40151f
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
nop
lea eax, [esp + 0x58]
push eax
call edi
lea eax, [esp + 0x58]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x64]
push eax
call esi
test eax, eax
jne 0x401500
push 0x40564c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x405440], 0
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x4015bf
push 0
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4015b7
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
xorps xmm0, xmm0
push eax
push ebx
movups xmmword [esp + 0x20], xmm0
movq qword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x4015b4
push dword [0x405440]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
cmp dword [esp + 0x20], eax
jne 0x4015a4
push dword [esp + 0x1c]
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov esi, eax
test esi, esi
je 0x4015a4
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push esi
call edi
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x401574
push ebx
call edi
push dword [0x405440]
call edi
push 0x40564c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x10]
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
push 0x40564c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.00401857
mov esp, ebp
pop ebp
ret 0x10
push 0x40564c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, dword [esp + 0x74]
or eax, 0xffffffff
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00401857
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402123
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402162
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402162
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402162
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402162
cmp dword [ecx + 0x74], 0xe
jbe 0x402162
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x401020
Capabilities:
Authenticate hmac
Connect to http server
Create http request
Create process on windows
Delete file
Download and write a file
Encode data using base64
Encrypt data using des
Get common file path
Get file size
Get http content length
Read and send data from client to server
Read data from internet
Read file on windows
Receive and write data from server to client
Receive data
Send data
Send http request
Terminate process
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x83c
push ebx
push esi
push edi
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
cmp eax, 0xffffffff
jne 0x401042
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push esi
mov edi, 0x2000
push edi
push esi
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ebx, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push edi
push 8
push eax
mov dword [ebp - 0x14], eax
call ebx
push edi
push 8
push dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
call ebx
push edi
push dword [ebp - 0xc]
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp - 4]
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.quip.exe
push dword [ebp - 4]
push 0x402088
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
push esi
push 0x80
push 3
push esi
push 1
push 0x80000000
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x4010c8
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push dword [ebp - 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 0x18], eax
call edi
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*2 + 4]
push eax
push 8
push dword [ebp - 0x14]
call ebx
mov dword [ebp - 0x10], eax
cmp eax, esi
jmp loc.00408d8b
Function at 0x415b90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd000]
push edi
jmp 0x415baa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x415bb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x415ba0
mov eax, 1
add ebx, ebx
jne 0x415bc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x415bb8
jne 0x415bd4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415bb8
xor ecx, ecx
sub eax, 3
jb 0x415be8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x415c5a
mov ebp, eax
add ebx, ebx
jne 0x415bf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x415c00
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x415c24
inc ecx
add ebx, ebx
jne 0x415c10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x415c05
jne 0x415c21
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x415c05
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x415c44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x415c35
jmp 0x415ba6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x415c44
add edi, ecx
jmp 0x415ba6
pop esi
mov edi, esi
mov ecx, 0x128
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x415c62
cmp byte [edi], 2
jne 0x415c62
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 0x415c67
lea edi, [esi + 0x13000]
mov eax, dword [edi]
or eax, eax
je 0x415cd6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x155f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x15670]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x415c94
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x15678]
or eax, eax
je 0x415cd0
mov dword [ebx], eax
add ebx, 4
jmp 0x415cb1
call dword [esi + 0x15674]
mov ebp, dword [esi + 0x1567c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x415d0a
sub esp, 0xffffff80
jmp 0x4059d0
Function at 0x401a80
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x406480
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, dword [0x409214]
mov dword [eax], ecx
mov ebx, edx
test ebx, ebx
jle 0x4064a1
mov eax, 0xff
call fcn.00401a80
xor byte [esi], al
inc esi
dec ebx
jne 0x406491
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..wixburn
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x18704927
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x432024
nop
nop
nop
nop
mov eax, section..pdata
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x7d911188
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x420b4b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x420b8a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x420b8a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x420b8a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x420b8a
cmp dword [ecx + 0x74], 0xe
jbe 0x420b8a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x433300
Capabilities:
Parse pe header

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

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

Disassembly:
push dword [esp]
lea esp, [esp + 0x24]
je fcn.100473a1
or ch, 0xef
test ch, ch
sbb ecx, ebx
bsr cx, cx
add edx, eax
mov cx, di
mov ecx, dword [esi + 0x7c]
push 0x7b9d9e47
test ch, 0xbf
add ecx, edx
mov word [esp], ax
mov dword [ebp - 0x10], ecx
sal cx, cl
mov byte [esp], bh
mov ecx, dword [ebp + 0xc]
stc
clc
pushal
cmp ecx, 0xffff
pushfd
lea esp, [esp + 0x28]
jbe 0x10061238
shrd bx, cx, cl
adc bl, ah
mov edi, dword [edx + 0x24]
sal bx, cl
xadd ecx, ebx
add edi, eax
sal ch, cl
inc cx
sar ch, 1
mov ebx, dword [edx + 0x20]
rcl ch, cl
add ebx, eax
cmp dl, 0x3f
mov dword [ebp - 8], 0
movsx cx, bl
bsr cx, cx
pushfd
mov ecx, dword [edx + 0x18]
sub esp, 0xfffffffc
test cl, ch
pushfd
cmp ecx, dword [ebp - 8]
jmp 0x10076d3b
pushfd
jmp 0x10046504
lea esp, [esp + 8]
je fcn.100473a1
pushal
rol si, cl
shld dx, si, 2
mov esi, dword [eax + 0x3c]
cmc
movsx dx, bl
mov byte [esp + 4], ah
btr dx, ax
add esi, eax
btr dx, 0xe
pop edx
mov edx, dword [esi + 0x78]
push ecx
stc
test edx, edx
jmp 0x1005e2ff