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

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x401000
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ebp, esp
add esp, 0xfffffffc
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x40338c], eax
mov eax, dword [ebp + 4]
mov dword [0x403210], eax
xor eax, eax
mov ecx, 0x16
push eax
dec ecx
jne 0x401020
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
push 0x7f00
push esi
call dword [sym.imp.USER32.dll_LoadIconA]
lea ecx, [ebp - 0x5c]
push ecx
mov eax, 0x30
mov dword [ecx], eax
mov eax, dword [0x403210]
mov dword [ebp - 0x48], eax
mov eax, 0x4016c9
mov dword [ebp - 0x54], eax
mov ecx, str.Hello
mov dword [ebp - 0x34], ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
xor ecx, ecx
push ecx
push dword [0x403210]
push ecx
push ecx
push 0x12e
push 0x7a
push 0x34c
push 0x2aa
push 0x40000
lea eax, str.lukifas
push eax
mov eax, str.Hello
push eax
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x4033d8], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x4033d8]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
lea edi, [ebp - 0x50]
jmp 0x4010bc
push edi
call dword [sym.imp.USER32.dll_DispatchMessageA]
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.USER32.dll_GetMessageA]
test al, al
jne 0x4010b5
mov esp, ebp
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40301c
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 0x403028
push 0x403024
push 0x403020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x403028]
push dword [0x403024]
push dword [0x403020]
mov dword [0x403014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret
Function at 0x407010
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 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x448b10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x448b32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x448b39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x448b28
mov eax, 1
add ebx, ebx
jne 0x448b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x448b5c
jne 0x448b6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x448b6c
dec eax
add ebx, ebx
jne 0x448b68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x448b40
xor ecx, ecx
sub eax, 3
jb 0x448b84
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x448bf6
sar eax, 1
mov ebp, eax
jmp 0x448b8f
add ebx, ebx
jne 0x448b8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x448b9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x448bc0
inc ecx
add ebx, ebx
jne 0x448bac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x448ba1
jne 0x448bbd
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x448ba1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x448be0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x448bd1
jmp 0x448b2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x448be0
add edi, ecx
jmp 0x448b2e
pop esi
mov edi, esi
mov ecx, 0x921
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x448bfe
cmp byte [edi], 7
jne 0x448bfe
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 0x448c03
lea edi, [esi + 0x46000]
mov eax, dword [edi]
or eax, eax
je 0x448c7b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x48990]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x48a08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x448c30
mov ecx, edi
jns 0x448c5f
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 + 0x48a0c]
or eax, eax
je 0x448c75
mov dword [ebx], eax
add ebx, 4
jmp 0x448c4d
call dword [esi + 0x48a10]
popal
jmp 0x4150a0

Function at 0x4eccca
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4eca52
sub esi, eax
add eax, 0x6506d30f
sub esi, 0xf5cc29d2
call fcn.004ecd1e
sub esi, 1
xor dword [edx], ebx
add eax, 0x26460f28
or esi, eax
mov eax, 0x948e43e1
add edx, 1
add esi, 0x71a91c71
cmp edx, ecx
jl fcn.004eccca
add esi, 0xbc061d05
add esi, 0xa5a5b429
ret
Function at 0x4034cc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x4034db
pop dword [ebp - 0x1c]
mov eax, 0x4034db
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xc6c8be54
add dword [ebp - 0x2c], 0x878986f7
mov dword [ebp - 0x28], 0xca5fbc11
sub dword [ebp - 0x28], 0x982c6fcc
mov dword [ebp - 0x24], 0x64806b9f
add dword [ebp - 0x24], 0xe7cbd88f
mov dword [ebp - 0x20], 0xfd815160
add dword [ebp - 0x20], 0x27eaea0
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xb28e4d84
sub eax, 0xb24e0d30
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x4a717921
add dword [ebp - 0x2c], 0x2a00f035
mov dword [ebp - 0x28], 0x5a2904e9
sub dword [ebp - 0x28], 0x18bca374
mov dword [ebp - 0x24], 0x2c79a48c
add dword [ebp - 0x24], 0x36f5c7e0
mov dword [ebp - 0x20], 0x82875608
add dword [ebp - 0x20], 0x7d78a9f8
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x39250
push 0
call eax
mov ecx, 0xe67b30d9
sub ecx, 0xe67adfd0
mov ebx, eax
mov esi, 0x408400
add esi, dword [ebp - 0x1c]
mov edi, 0x84643048
add edi, 0x925ba45c
mov edx, dword [esi]
sub edx, edi
xor dword [ebp - 0xc], edx
mov dword [ebx], edx
add ebx, 0x16e8cce7
sub ebx, 0x16e8cce3
add esi, 0x73d045cd
add esi, 0x8c2fba37
loop 0x4035ed
add eax, 0xe2a721
add eax, 0xff1e8fd6
xor ebx, ebx
add ebx, eax
add eax, 0x3c645909
add eax, 0xc39ba6fc
mov ecx, 0xbbbfd586
sub ecx, 0xbb7fd586
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x417a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x417a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417a38
mov eax, 1
add ebx, ebx
jne 0x417a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x417a6c
jne 0x417a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417a8b
dec eax
add ebx, ebx
jne 0x417a78
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x417a50
add ebx, ebx
jne 0x417a87
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x417add
xor ecx, ecx
sub eax, 3
jb 0x417aa3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417b12
sar eax, 1
mov ebp, eax
jmp 0x417aae
add ebx, ebx
jne 0x417aae
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417a7c
inc ecx
add ebx, ebx
jne 0x417abc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417a7c
add ebx, ebx
jne 0x417ac9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417abe
jne 0x417ada
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417abe
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417afc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417aee
jmp 0x417a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417afc
add edi, ecx
jmp 0x417a3e
pop esi
mov edi, esi
mov ecx, 0x118
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x417b1a
cmp byte [edi], 2
jne 0x417b1a
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 0x417b1f
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x417b97
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x17964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x179a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417b4c
mov ecx, edi
jns 0x417b7b
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 + 0x179a4]
or eax, eax
je 0x417b91
mov dword [ebx], eax
add ebx, 4
jmp 0x417b69
call dword [esi + 0x179b4]
mov ebp, dword [esi + 0x179a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1d7]
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 0x417bcb
sub esp, 0xffffff80
jmp 0x402460
Function at 0x4011c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9b4
mov eax, dword [0x4445d0]
xor eax, esp
mov dword [esp + 0x9b0], eax
push ebx
push esi
push edi
mov ecx, 0x202
lea esi, [ebp + 8]
lea edi, [esp + 0x1b0]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x810]
push 0x436954
lea eax, [esp + 0x1b9]
push eax
lea ecx, [esp + 0x1c]
xor ebx, ebx
push ecx
mov dword [esp + 0x24], ebx
mov byte [edi], bl
call fcn.0042011f
mov esi, eax
add esp, 0xc
cmp esi, ebx
je 0x401248
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Impossible_to_create_calibration_file__d_
push edi
call fcn.0041fe86
add esp, 0xc
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9b0]
xor ecx, esp
call fcn.0041f9d4
mov esp, ebp
pop ebp
ret
movzx ax, byte [esp + 0x1b4]
mov edx, dword [esp + 0x1b0]
shl edx, 8
add dx, ax
movzx eax, dx
push eax
lea ecx, [esp + 0x24]
push 0x28
push ecx
call sub.CARD.dll_Ordinal_21
mov esi, eax
add esp, 0xc
test esi, esi
je 0x401282
push esi
push str.card_Open___error__lu
jmp 0x40137e
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x14]
push eax
call sub.CLT.dll_Ordinal_5
mov esi, eax
add esp, 8
test esi, esi
je 0x4012a5
push esi
push str.clt_New___error__lu
jmp 0x401357
push 0x2ee0
call fcn.0041ff91
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40132c
mov edx, dword [esp + 0x10]
push ebx
lea ecx, [esp + 0x20]
push ecx
push 0xa
push edx
mov dword [esp + 0x2c], 0x2ee0
call sub.CLT.dll_Ordinal_26023
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4012f7
push esi
push str.No_data_calibration_error__lu
push 0x100
push edi
call fcn.0041ff03
push ebx
call fcn.0041fdf8
add esp, 0x14
jmp 0x40132c
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
push 1
push ebx
call fcn.0041fd76
add esp, 0x10
test eax, eax
jne 0x401323
push str.No_data_recorded
push edi
call fcn.0041fe86
add esp, 8
mov esi, 0x2c4021
push ebx
call fcn.0041fdf8
add esp, 4
mov edx, dword [esp + 0x10]
push 0
push 7
push 0
push edx
call sub.CLT.dll_Ordinal_26026
lea eax, [esp + 0x20]
push eax
call sub.CLT.dll_Ordinal_6
add esp, 0x14
mov dword [esp + 0x18], eax
test eax, eax
je 0x401365
push eax
push 0x4368b0
push 0x100
push edi
call fcn.0041ff03
add esp, 0x10
lea ecx, [esp + 0x20]
push ecx
call sub.CARD.dll_Ordinal_182
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x40138c
push ebx
push str.clt_Close___error__lu
push 0x100
push edi
call fcn.0041ff03
add esp, 0x10
mov edx, dword [esp + 0x14]
push edx
call fcn.0041fb98
add esp, 4
test esi, esi
jne 0x4013ad
test ebx, ebx
je 0x4013a3
mov esi, ebx
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4013ad
mov esi, eax
mov ecx, dword [esp + 0x9bc]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0041f9d4
mov esp, ebp
pop ebp
ret
Function at 0x401460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401479
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4014b4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x4014b0
lea ebx, [ebx]
cmp esi, eax
jae 0x4014b4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4014a0
cmp esi, eax
jb 0x4014ba
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x405bf0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x405c14
cmp dword [edi + 0x54], 0
jne 0x405c14
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040df87
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
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00405bb1
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4063b8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x406400
call fcn.0040df87
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x406400
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x406443
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x40642c
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x40642c
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x406440
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x40c28d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40c2d4
call fcn.0040df87
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40c2d4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40c2f0
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040be07
mov esi, eax
test edi, edi
je 0x40c2ee
test ebx, ebx
je 0x40c2ee
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x40ca88
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x433fcb
call fcn.0042060c
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40caad
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40caf3
lea ecx, [ebp - 0x10]
call fcn.00401c20
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040c2f7
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401510
mov eax, esi
call fcn.004206e4
ret 8

Function at 0x41f9d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4445d0]
jne 0x41f9de
repz ret
jmp fcn.0042578c
Function at 0x42e706
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.00425173
and dword [ebp - 4], 0
cmp dword [0x448468], 0
mov ebx, eax
jne 0x42e7b7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42e868
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x43aef8
push edi
call esi
test eax, eax
je 0x42e868
push eax
call fcn.00425101
mov dword [esp], 0x43aee8
push edi
mov dword [0x448468], eax
call esi
push eax
call fcn.00425101
mov dword [esp], 0x43aed4
push edi
mov dword [0x44846c], eax
call esi
push eax
call fcn.00425101
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x448470], eax
call esi
push eax
call fcn.00425101
pop ecx
mov dword [0x448478], eax
test eax, eax
je 0x42e7b7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00425101
pop ecx
mov dword [0x448474], eax
mov eax, dword [0x448474]
cmp eax, ebx
je 0x42e80f
cmp dword [0x448478], ebx
je 0x42e80f
push eax
call fcn.0042517c
push dword [0x448478]
mov esi, eax
call fcn.0042517c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42e80f
test edi, edi
je 0x42e80f
call esi
test eax, eax
je 0x42e806
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42e806
test byte [ebp - 0xc], 1
jne 0x42e80f
or dword [ebp + 0x10], 0x200000
jmp 0x42e848
mov eax, dword [0x44846c]
cmp eax, ebx
je 0x42e848
push eax
call fcn.0042517c
pop ecx
test eax, eax
je 0x42e848
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42e848
mov eax, dword [0x448470]
cmp eax, ebx
je 0x42e848
push eax
call fcn.0042517c
pop ecx
test eax, eax
je 0x42e848
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x448468]
call fcn.0042517c
pop ecx
test eax, eax
je 0x42e868
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42e86a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x408923
Capabilities:
Encode data using xor

Disassembly:
sub esp, 4
mov dword [esp], 0x4085d8
pop esi
push 0x7fe6013c
pop ebx
call fcn.00408961
add edx, 0x4ed47e13
sub edx, 0x80215d5
xor dword [ecx], esi
add edx, 0x182aa923
sub ebx, 0xd68fea83
inc ecx
mov edx, ebx
cmp ecx, eax
jne fcn.00408923
mov edx, ebx
sub edx, edx
ret
Function at 0x4078cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
xor esi, esi
push edi
mov edi, ecx
mov eax, esi
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmmword [0x72a7d290]
movups xmmword [edi + eax*4], xmm0
add eax, 4
cmp eax, 0x100
jl 0x4078d7
mov ebp, dword [esp + 0x14]
mov ebx, esi
xor edx, edx
mov eax, ebx
div dword [esp + 0x18]
movzx eax, byte [edx + ebp]
add eax, dword [edi + ebx*4]
add esi, eax
and esi, 0x800000ff
jns 0x40791d
dec esi
or esi, 0xffffff00
inc esi
mov cl, byte [edi + ebx*4]
mov eax, dword [edi + esi*4]
mov dword [edi + ebx*4], eax
inc ebx
movzx eax, cl
mov dword [edi + esi*4], eax
cmp ebx, 0x100
jl 0x4078fc
pop edi
pop esi
pop ebp
pop ebx
ret 8

Function at 0x40793c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push esi
push edi
push 0x400
push ecx
xor esi, esi
push eax
mov edi, esi
call fcn.00437450
mov edx, dword [esp + 0x420]
add esp, 0xc
mov ebx, esi
add edx, 1
je 0x4079cc
push ebp
mov ebp, dword [esp + 0x414]
inc esi
and esi, 0x800000ff
jns 0x407982
dec esi
or esi, 0xffffff00
inc esi
mov eax, dword [esp + esi*4 + 0x10]
add edi, eax
and edi, 0x800000ff
jns 0x407998
dec edi
or edi, 0xffffff00
inc edi
mov cl, al
mov eax, dword [esp + edi*4 + 0x10]
mov dword [esp + esi*4 + 0x10], eax
movzx eax, cl
mov dword [esp + edi*4 + 0x10], eax
mov ecx, dword [esp + esi*4 + 0x10]
add ecx, eax
and ecx, 0x800000ff
jns 0x4079bf
dec ecx
or ecx, 0xffffff00
inc ecx
mov al, byte [esp + ecx*4 + 0x10]
xor byte [ebx + ebp], al
inc ebx
cmp ebx, edx
jb 0x407971
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x400
ret 8
Function at 0x468b3c
Capabilities:
Get common file path
Set current directory

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

Function at 0x43b63e
Capabilities:
Encode data using xor

Disassembly:
mov edx, 0x43b3c1
sub ebx, 0xd7ce64e
mov ebx, ebx
mov ecx, ecx
call fcn.0043b674
add ecx, 0xb61285f5
dec ecx
xor dword [eax], edx
and ecx, ebx
inc eax
sub ebx, ecx
cmp eax, edi
jne fcn.0043b63e
push ecx
mov ebx, dword [esp]
add esp, 4
mov ecx, 0x5a87466d
ret