joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18115b7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
movzx eax, word [ebp + 8]
push esi
mov esi, dword [0x181db9a0]
push edi
push 0xf0
push eax
xor edi, edi
mov dword [ebp - 0x130], ecx
push esi
inc edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x18115d01
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x18115d01
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x18115d01
push ebx
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x18115d00
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x134], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x18115c79
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.181371a0
add esp, 0xc
lea eax, [ebp - 0x104]
lea ecx, [ebp - 0x108]
mov dword [ebp - 0x108], eax
push 3
push esi
call fcn.1804d98f
push dword [ebp - 0x108]
mov eax, dword [ebp - 0x130]
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
inc eax
neg eax
sbb eax, eax
and edi, eax
lea eax, [ebp - 0x104]
cmp dword [ebp - 0x108], eax
je 0x18115cee
push dword [ebp - 0x108]
call fcn.1813b0b3
pop ecx
jmp 0x18115cee
mov ecx, 0x1234
cmp cx, ax
jne 0x18115cee
or dword [ebp - 0x128], 0xffffffff
lea eax, [ebp - 0x234]
push 3
push esi
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x12c], 1
mov dword [ebp - 0x238], eax
call fcn.1804d98f
mov eax, dword [ebp - 0x238]
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x124], eax
cmp eax, ecx
je 0x18115ccb
push eax
call fcn.1813b0b3
pop ecx
lea eax, [ebp - 0x12c]
push eax
mov eax, dword [ebp - 0x130]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
cmp eax, 0xffffffff
je 0x18115cfe
add esi, dword [ebp - 0x134]
test edi, edi
jne 0x18115bdb
jmp 0x18115d00
xor edi, edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.181224f8
leave
ret 4
Function at 0x18118002
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.181170e7
lea esi, [edi + 0x1e4]
xor ecx, ecx
mov eax, dword [esi]
inc ecx
mov ebx, 0x100
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, ebx
or eax, ecx
jge 0x18118040
push ebx
mov ecx, esi
call fcn.1800773c
push ebx
push dword [esi]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.18009ed8
push 1
mov ecx, edi
call fcn.18119de8
push 8
call fcn.18122da8
mov esi, eax
lea eax, [ebp - 0x10]
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edx
mov eax, dword [edi + 0x1c4]
mov dword [edi + 0x1c4], esi
test eax, eax
je 0x18118097
push 8
push eax
call fcn.18122a26
pop ecx
pop ecx
push 0x7d9
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
push esi
push 1
push 0x40a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
push 0x181cd090
push 3
push esi
push 0x181b9f10
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x181180fc
mov ecx, dword [edi + 0x1ec]
mov ebx, dword [ebp - 8]
mov dword [ebp - 8], esi
test ecx, ecx
je 0x181180f6
mov eax, dword [ecx]
push ecx
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x181663e8]
call esi
xor esi, esi
mov dword [edi + 0x1ec], ebx
mov ecx, edi
call fcn.18119267
mov dword [ebp - 0xc], esi
call fcn.18006f9c
push eax
lea ecx, [ebp - 0xc]
call fcn.180076af
push 0xbdc
lea ecx, [ebp - 0xc]
call fcn.180076e8
lea eax, [ebp - 0xc]
mov ecx, edi
push eax
call fcn.18119e5a
mov ecx, edi
call fcn.18119db9
push 0x7db
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov eax, dword [ebp - 8]
test eax, eax
je 0x1811816a
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x181663e8]
call esi
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181224f8
leave
ret 0x10

Function at 0x1811933f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
call fcn.1802745d
test al, al
je 0x18119376
push 0x7dc
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x181193ae
and dword [ebp - 8], 0
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
push dword [ebp + 0xc]
lea ecx, [ebp - 8]
call fcn.180076e8
lea eax, [ebp - 8]
mov ecx, esi
push eax
push 0x7dc
call fcn.18119173
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.181224f8
leave
ret 8
Function at 0x1811ca29
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x181d700c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push esi
push edi
mov dword [eax], 1
mov ebx, ecx
lea eax, [ebp - 0x18]
xor edi, edi
push eax
mov dword [ebp - 0x18], edi
push dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x48
lea eax, [ebp - 0x60]
push edi
push eax
call fcn.181371a0
mov eax, dword [ebx + 4]
lea ecx, [ebp - 0x58]
add esp, 0xc
mov dword [ebp - 0x5c], eax
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x28], 0
mov edx, eax
mov dword [ebp - 0x60], edx
je 0x1811ca92
mov ecx, dword [ebx + 0x38]
jmp 0x1811caa0
cmp byte [ebx + 0x27], 0
je 0x1811ca9d
mov ecx, dword [ebx + 0x34]
jmp 0x1811caa0
mov ecx, dword [ebx + 0x30]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x44]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 2
push 2
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_RoundRect]
cmp byte [ebx + 0x29], 0
je 0x1811caec
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x70]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x60]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.USER32.dll_DrawFocusRect]
xor edi, edi
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, eax
test esi, esi
je 0x1811cb84
mov dword [ebp - 8], edi
call fcn.18006f9c
push eax
lea ecx, [ebp - 8]
call fcn.180076af
inc esi
lea ecx, [ebp - 8]
push esi
call fcn.180075b2
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
lea ecx, [ebp - 8]
call fcn.18009ed8
push dword [ebx + 0x2c]
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x27
mov eax, ebx
pop ecx
cmp byte [ecx + eax], 0
je 0x1811cb4b
mov eax, dword [ebx + 0x40]
jmp 0x1811cb4e
mov eax, dword [ebx + 0x3c]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 1
push dword [ebp - 0x60]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0x25
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push dword [eax - 0xc]
push eax
push dword [ebp - 0x60]
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.18006f72
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x5c]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.181224f8
leave
ret 0x10
Function at 0x18122122
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push 4
pop edx
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x181a1400]
sub edx, 1
jne 0x18122125
mov eax, ecx
ret
Function at 0x1815271a
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.18152397

Function at 0x18159484
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.181592fa

Function at 0x1815de40
Capabilities:
Parse pe header

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

Function at 0xfc9058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.00fc91a8
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 0xfc907e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfc906a
add dl, dl
jne 0xfc9089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfc90dc
xor eax, eax
add dl, dl
jne 0xfc9096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xfc917d
add dl, dl
jne 0xfc90a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc90b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc90bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc90c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xfc90d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xfc9075
mov eax, 1
add dl, dl
jne 0xfc90ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xfc90f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfc90e1
sub eax, ebx
mov ebx, 1
jne 0xfc9128
mov ecx, 1
add dl, dl
jne 0xfc910e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfc9119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfc9105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfc9075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xfc913f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xfc914a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xfc9136
cmp eax, 0x7d00
jae 0xfc916d
cmp eax, 0x500
jb 0xfc9168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfc9075
cmp eax, 0x7f
ja 0xfc9170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xfc9075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xfc919e
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 0xfc9075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x432002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x59514ac0
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x5e7b6a00
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x722260
Capabilities:
Hash data using djb2

Disassembly:
push ebx
push edi
push esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x72229a
mov edx, dword [esp + 0x10]
mov edi, 0x1505
xor esi, esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ebx, byte [edx + esi]
test ebx, ebx
je 0x7222a1
mov eax, edi
shl eax, 5
add eax, edi
add eax, ebx
inc esi
mov edi, eax
cmp ecx, esi
jne 0x722280
jmp 0x7222a3
mov eax, 0x1505
jmp 0x7222a3
mov eax, edi
pop esi
pop edi
pop ebx
ret

Function at 0x728d70
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push edi
push esi
mov eax, dword [ecx]
cmp eax, 0x270
jne 0x728dd2
mov esi, dword [ecx + 4]
mov eax, 0xfffff640
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax + 0x9c8]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax + 0xff8]
shr edx, 1
xor edi, edx
mov dword [ecx + eax + 0x1384], edi
add eax, 4
jne 0x728d90
mov eax, 0x270
jmp 0x728de4
cmp eax, 0x4e0
jb 0x728de4
mov esi, ecx
call fcn.00728e30
mov ecx, esi
mov eax, dword [esi]
lea edx, [eax + 1]
mov dword [ecx], edx
mov eax, dword [ecx + eax*4 + 4]
mov edx, eax
shr edx, 0xb
and edx, dword [ecx + 0x1384]
xor edx, eax
mov eax, edx
shl eax, 7
and eax, 0x9d2c5680
mov ecx, eax
and ecx, edx
add ecx, ecx
sub eax, ecx
add eax, edx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc60000
mov edx, ecx
and edx, eax
add edx, edx
sub ecx, edx
add ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
pop esi
pop edi
ret

Function at 0x728e30
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
push ebx
push edi
push esi
mov edx, dword [ecx + 0x9c4]
mov eax, 0x3fe
jmp 0x728e66
shr esi, 1
xor esi, dword [ecx + eax*4]
xor esi, edi
mov dword [ecx + eax*4 - 0xff4], esi
inc eax
cmp eax, 0x4e1
je 0x728e97
mov esi, edx
and esi, 0x80000000
mov edx, dword [ecx + eax*4 - 0x630]
lea edi, [edx - 0x80000000]
mov ebx, edx
or ebx, 0x7fffffff
and ebx, edi
or esi, ebx
mov edi, esi
xor edi, 0xfffffffe
and edi, ebx
je 0x728e50
mov edi, 0x9908b0df
jmp 0x728e50
mov edi, dword [ecx + 0xd50]
mov eax, 0xe4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea edx, [eax - 1]
and edi, 0x80000000
mov ebx, dword [ecx + eax*4 + 0x9c4]
mov esi, ebx
and esi, 0x7ffffffe
or esi, edi
shr esi, 1
mov edi, ebx
and ebx, 1
neg ebx
and ebx, 0x9908b0df
mov ebp, edx
or ebp, 0x3ffffd8f
and edx, 0x18f
add edx, ebp
xor ebx, dword [ecx + edx*4 + 0x63c]
xor ebx, esi
mov dword [ecx + eax*4], ebx
inc eax
cmp eax, 0x270
jne 0x728eb0
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov eax, dword [ecx + 4]
mov edx, eax
and edx, 0x7ffffffe
or edx, esi
and eax, 1
neg eax
and eax, 0x9908b0df
xor eax, dword [ecx + 0x634]
shr edx, 1
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x738840
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x190
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [esp + 0x10], 0xe388e1cf
mov dword [esp + 0x14], 0xe789e597
mov dword [esp + 0x18], 0xebeae986
xor eax, eax
nop
movzx ecx, byte [esp + eax + 0x10]
xor cl, al
xor cl, 0xe0
mov byte [esp + eax + 0x10], cl
inc eax
cmp eax, 0xc
jne 0x738870
mov dword [esp + 0x34], 0xe275e077
mov dword [esp + 0x38], 0xe675e477
mov dword [esp + 0x3c], 0xda86d8ad
mov dword [esp + 0x40], 0xde41dc84
mov dword [esp + 0x44], 0xd272d040
mov dword [esp + 0x48], 0xd649d472
mov dword [esp + 0x4c], 0xca56c84f
mov dword [esp + 0x50], 0xce59cc58
mov dword [esp + 0x54], 0xc2c1c085
xor eax, eax
nop
nop
mov ecx, eax
add cl, 0x57
xor cl, byte [esp + eax + 0x34]
add cl, 0x48
mov byte [esp + eax + 0x34], cl
mov ecx, eax
and ecx, 0x2d
xor eax, 0x97076d2d
lea eax, [eax + ecx*2]
add eax, 0x68f892d4
cmp eax, 0x24
jb 0x7388d0
movzx ecx, word [esp + 0x34]
lea eax, [esp + 0x14c]
test cx, cx
je 0x738921
lea edx, [esp + 0x36]
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x738910
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x738951
lea edx, [edi + 2]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x738940
mov word [eax], 0
movzx ecx, word [esp + 0x10]
test cx, cx
je 0x738981
lea edx, [esp + 0x12]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x738970
mov word [eax], 0
mov edi, dword [esi]
mov dword [esp + 0x34], 0xd8dddfa3
mov byte [esp + 0x38], 0xbd
mov eax, 0x94aa6b31
mov esi, 0x6b5594ce
nop
movzx ebx, byte [esp + eax + 0x6b559503]
mov ecx, esi
and ecx, 0x4a41844e
mov edx, eax
and edx, 0x90086301
or edx, ecx
xor edx, ebx
mov ebx, edx
not ebx
xor edx, 0x81
and ebx, 1
add edx, 0x89
or edx, 1
sub ebx, edx
mov byte [esp + eax + 0x6b559503], bl
inc eax
dec esi
cmp eax, 0x94aa6b36
jne 0x7389a0
movzx eax, byte [esp + 0x34]
test al, al
je 0x738a0b
lea ecx, [esp + 0x35]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov byte [edi], al
inc edi
movzx eax, byte [ecx]
inc ecx
test al, al
jne 0x738a00
mov byte [edi], 0
lea eax, [esp + 0x13c]
lea ecx, [esp + 0x140]
lea edx, [esp + 0x20]
lea esi, [esp + 0x14c]
push eax
push ecx
push edx
push esi
call fcn.0072b220
add esp, 0x10
movzx eax, al
mov eax, dword [eax*4 + 0x75ea40]
mov ecx, 0xcf1d2b71
xor ecx, dword [0x75ea48]
add eax, ecx
inc eax
jmp eax
Function at 0x740c10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x14c0
call fcn.007281f0
push eax
sub esp, 0x10
mov dword [ebp - 0x48], esp
sub esp, 0x200
mov dword [ebp - 0x24], esp
sub esp, 0x14
mov eax, esp
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x18], eax
push eax
mov dword [ebp - 0x4c], esp
sub esp, 0x800
mov dword [ebp - 0x2c], esp
push eax
mov dword [ebp - 0x68], esp
push eax
mov dword [ebp - 0x10], esp
sub esp, 0x400
mov dword [ebp - 0x28], esp
push eax
mov dword [ebp - 0x3c], esp
sub esp, 0x10
mov ebx, esp
sub esp, 0x14
mov dword [ebp - 0x1c], esp
sub esp, 0x24
mov dword [ebp - 0x70], esp
mov dword [ebp - 0x14cc], 0xef3ced30
mov dword [ebp - 0x14c8], 0xf335f135
mov dword [ebp - 0x14c4], 0xf725f53d
mov dword [ebp - 0x14c0], 0xfb28f92c
mov dword [ebp - 0x14bc], 0xff22fd25
mov dword [ebp - 0x14b8], 0xc311c115
mov dword [ebp - 0x14b4], 0xc714c501
mov word [ebp - 0x14b0], 0xc9c8
xor eax, eax
xor ecx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebp + ecx - 0x14cc]
mov esi, eax
and esi, 0x18
mov edi, ecx
xor edi, 0xc0de48c
add edi, esi
xor edi, edx
add edi, 0x9f90db9f
mov edx, edi
and edx, 1
xor edi, 1
lea edx, [edi + edx*2]
mov byte [ebp + ecx - 0x14cc], dl
inc ecx
add eax, 2
cmp ecx, 0x1e
jne 0x740cd0
lea eax, [ebp - 0x54]
lea ecx, [ebp - 0x14cc]
push 0
push 0
push 0x20019
push eax
mov dword [ebp - 0x20], ecx
push ecx
call fcn.00759610
add esp, 0x14
shr eax, 0x1f
jmp dword [eax*4 + 0x75f388]
Function at 0x405747
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40db60]
jne 0x405751
repz ret
jmp fcn.00408908

Function at 0x40635b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403785
and dword [ebp - 4], 0
cmp dword [0x40e650], 0
mov ebx, eax
jne 0x40640c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4064bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4064bd
push eax
call fcn.00403713
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e650], eax
call esi
push eax
call fcn.00403713
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e654], eax
call esi
push eax
call fcn.00403713
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e658], eax
call esi
push eax
call fcn.00403713
pop ecx
mov dword [0x40e660], eax
test eax, eax
je 0x40640c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403713
pop ecx
mov dword [0x40e65c], eax
mov eax, dword [0x40e65c]
cmp eax, ebx
je 0x406464
cmp dword [0x40e660], ebx
je 0x406464
push eax
call fcn.0040378e
push dword [0x40e660]
mov esi, eax
call fcn.0040378e
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406464
test edi, edi
je 0x406464
call esi
test eax, eax
je 0x40645b
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40645b
test byte [ebp - 0xc], 1
jne 0x406464
or dword [ebp + 0x10], 0x200000
jmp 0x40649d
mov eax, dword [0x40e654]
cmp eax, ebx
je 0x40649d
push eax
call fcn.0040378e
pop ecx
test eax, eax
je 0x40649d
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40649d
mov eax, dword [0x40e658]
cmp eax, ebx
je 0x40649d
push eax
call fcn.0040378e
pop ecx
test eax, eax
je 0x40649d
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e650]
call fcn.0040378e
pop ecx
test eax, eax
je 0x4064bd
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4064bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402594
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4025a2
call dword [0x40a004]
or eax, eax
je 0x4025a3
ret
mov al, 1
jmp fcn.00402614

Function at 0x4025ac
Capabilities:
Terminate process

Disassembly:
test eax, eax
je 0x4025ba
call dword [0x40a008]
or eax, eax
jne 0x4025bb
ret
mov al, 2
jmp fcn.00402614

Function at 0x4025c4
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [eax]
test ecx, ecx
je 0x4025fc
test edx, edx
je 0x4025e6
push eax
mov eax, ecx
call dword [0x40a00c]
pop ecx
or eax, eax
je 0x4025f5
mov dword [ecx], eax
ret
mov al, 2
jmp fcn.00402614
mov dword [eax], edx
mov eax, ecx
call dword [0x40a008]
or eax, eax
jne 0x4025df
ret
mov al, 1
jmp fcn.00402614
test edx, edx
je 0x402610
push eax
mov eax, edx
call dword [0x40a004]
pop ecx
or eax, eax
je 0x4025f5
mov dword [ecx], eax
ret

Function at 0x40279c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40b02c], 0x8088405
inc edx
mov dword [0x40b02c], edx
mul edx
mov eax, edx
ret

Function at 0x403780
Capabilities:
Terminate process

Disassembly:
mov al, 0x10
jmp fcn.00402614
cmp eax, edx
je 0x4037f0
cmp word [eax], 8
jb 0x4037a5
push eax
push edx
cmp word [eax], 0x100
je 0x40379b
push eax
call sub.oleaut32.dll_VariantClear
jmp 0x4037a3
add eax, 8
call fcn.00403198
pop edx
pop eax
cmp word [edx], 8
jae 0x4037bc
mov ecx, dword [edx]
mov dword [eax], ecx
mov ecx, dword [edx + 8]
mov dword [eax + 8], ecx
mov ecx, dword [edx + 0xc]
mov dword [eax + 0xc], ecx
ret
cmp word [edx], 0x100
jne 0x4037dc
mov edx, dword [edx + 8]
or edx, edx
je 0x4037d3
mov ecx, dword [edx - 8]
inc ecx
jle 0x4037d3
mov dword [edx - 8], ecx
mov word [eax], pe_nt_image_headers32
mov dword [eax + 8], edx
ret
mov word [eax], 0
push edx
push eax
call sub.oleaut32.dll_VariantCopyInd
or eax, eax
jne 0x403744
ret

Function at 0x40515c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x405195
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403278
jmp 0x40519e
mov eax, ebx
mov edx, esi
call fcn.0040322c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4051a8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA
test eax, eax
jle 0x4051c9
mov al, byte [esp]
jmp 0x4051cb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4067c0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x406808
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov eax, ebx
call fcn.0040675c
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
call sub.kernel32.dll_GetFileAttributesA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40680f
lea eax, [ebp - 4]
call fcn.00403198
ret