joyce8/EMBER2024-capa huggingface dataset:
Function at 0x493f84
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x494105
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bd4d4], 0
jne 0x4940e2
push 0x4bfc58
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x4940db
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4bd4d4], 0
jne 0x4940c3
mov dword [ebp - 4], pe_nt_image_headers32
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404cf8
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00404b6c
push eax
lea eax, [ebp - 0xc]
push eax
lea edx, [ebp - 0x18]
mov eax, ebx
call fcn.004089c8
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea edx, [ebp - 0x14]
xor ecx, ecx
mov eax, 0x49411c
call fcn.00409db0
mov eax, dword [ebp - 0xc]
call fcn.00404b6c
push eax
push 0x80000000
call sub.advapi32.dll_RegQueryValueA
test eax, eax
jne 0x494044
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404cf8
jmp 0x49407b
lea eax, [ebp - 8]
mov edx, 0x49413c
call fcn.00404744
xor eax, eax
push ebp
push 0x494071
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.00479b2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49407b
mov eax, dword [ebp - 8]
call fcn.00404b6c
push eax
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4bd4d4], eax
cmp dword [0x4bd4d4], 0
jne 0x4940ae
mov ecx, dword [0x4be1f8]
mov dl, 1
mov eax, dword [0x407d4c]
call fcn.0040ce30
call fcn.004040c0
push 0x494148
mov eax, dword [0x4bd4d4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4bfc70], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4940e2
push 0x4bfc58
call sub.kernel32.dll_LeaveCriticalSection_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49410c
lea eax, [ebp - 0x18]
call fcn.004046ac
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046d0
ret
Function at 0x49facc
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
cmp byte [ebx + 0x87], 0
je 0x49fb07
cmp dword [ebx + 0x5c], 0
je 0x49fb07
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb8]
mov edx, eax
mov eax, esi
call fcn.00497fb8
xor eax, eax
mov dword [ebx + 0x5c], eax
mov byte [ebx + 0x87], 0
cmp dword [ebx + 0x5c], 0
jne 0x49fc52
cmp dword [ebx + 0x7c], 0
jne 0x49fb2d
mov dl, 1
mov eax, dword [0x41a4a4]
call fcn.0040382c
mov dword [ebx + 0x7c], eax
cmp dword [ebx + 0xc], 0
je 0x49fc2b
mov eax, dword [ebx + 0xc]
push eax
mov al, byte [0x49fc58]
push eax
mov al, byte [0x49fc5c]
push eax
push 0
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [0x4be220]
push eax
mov ecx, dword [ebx + 0x68]
mov dl, 1
mov eax, dword [0x48fe0c]
call fcn.00491d5c
mov dword [ebp - 4], eax
xor edx, edx
push ebp
push 0x49fc24
push dword fs:[edx]
mov dword fs:[edx], esp
lea eax, [ebx + 0x5c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x50]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00497fb8
lea eax, [ebx + 0x10]
push eax
mov eax, dword [ebx + 0x5c]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc0]
mov edx, eax
mov eax, esi
call fcn.00497fb8
mov eax, dword [ebx + 0x40]
push eax
lea eax, [ebx + 0x70]
mov ecx, 1
mov edx, dword [0x4955b0]
call fcn.00405afc
add esp, 4
mov eax, dword [ebx + 0x30]
cmp eax, 0x1a
jge 0x49fbf7
mov edx, dword [0x4be460]
mov al, byte [edx + eax]
mov byte [ebx + 0x74], al
jmp 0x49fc08
cmp eax, 0x1007
jne 0x49fc04
mov byte [ebx + 0x74], 0x18
jmp 0x49fc08
mov byte [ebx + 0x74], 0
mov eax, dword [ebx + 0x40]
mov dword [ebx + 0x78], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49fc52
mov eax, dword [ebp - 4]
call fcn.0040385c
ret
lea eax, [ebx + 0x5c]
push eax
push 0
push 0
mov eax, dword [ebx + 0x64]
push eax
mov esi, dword [ebx + 0x68]
mov eax, dword [esi + 0x1a8]
push eax
mov eax, dword [eax]
call dword [eax + 0xb4]
mov edx, eax
mov eax, esi
call fcn.00497fb8
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4a30cc
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4a30fa
mov eax, ebx
call fcn.004a3b80
cmp dword [ebx + 0x40], 0
je 0x4a30f3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4a316b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4a315d
cmp dword [ebx + 8], 0
je 0x4a311c
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4a312e
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4a315d
cmp dword [ebx + 8], 0
je 0x4a310f
cmp eax, 3
je 0x4a3141
dec eax
jne 0x4a310f
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4a310f
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4a310f
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4a3189
cmp dword [ebx + 0x14], 0xcc
je 0x4a3189
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004a3194
pop ebx
ret

Function at 0x4b4d58
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ecx, edx
test ecx, ecx
js 0x4b4d74
shr ecx, 2
mov ebx, dword [eax + ecx*4]
dec ecx
push ebx
jns 0x4b4d6d
mov eax, esp
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4b4e1c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0x4bfcd8
call fcn.004046ac
mov eax, 0xc
call fcn.004098ac
mov edi, eax
mov esi, 6
mov ebx, dword [ebp - 4]
add ebx, 4
lea eax, [ebp - 8]
mov dl, byte [ebx]
xor dl, 0xc6
call fcn.00404894
mov edx, dword [ebp - 8]
mov eax, 0x4bfcd8
call fcn.00404974
inc ebx
dec esi
jne 0x4b4da8
mov eax, dword [0x4bfcd8]
call fcn.00404b6c
mov ecx, 6
mov edx, edi
call fcn.00422958
push 0x4bfcd8
lea eax, [ebp - 0xc]
mov edx, edi
call fcn.004048a4
mov eax, dword [ebp - 0xc]
mov ecx, 0xc
xor edx, edx
call fcn.00404bcc
mov eax, edi
call fcn.00409908
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b4e23
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004046d0
ret
Function at 0x4b5b68
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov edi, ecx
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404b5c
xor eax, eax
push ebp
push 0x4b5c84
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
mov edx, dword [ebp - 4]
call fcn.00404700
mov eax, dword [ebp - 4]
call fcn.0040496c
mov esi, eax
test esi, esi
jle 0x4b5bec
mov ebx, 1
mov eax, edi
call fcn.00404bc4
mov edx, dword [ebp - 4]
mov dl, byte [edx + ebx - 1]
movzx ecx, word [ebp - 6]
shr ecx, 8
xor dl, cl
mov byte [eax + ebx - 1], dl
mov eax, dword [edi]
movzx eax, byte [eax + ebx - 1]
add ax, word [ebp - 6]
imul ax, ax, 0xce6d
add ax, 0x58bf
mov word [ebp - 6], ax
inc ebx
dec esi
jne 0x4b5bb5
lea eax, [ebp - 4]
mov edx, dword [edi]
call fcn.00404744
mov eax, edi
call fcn.004046ac
mov eax, dword [ebp - 4]
call fcn.0040496c
mov esi, eax
test esi, esi
jle 0x4b5c61
mov ebx, 1
mov eax, dword [ebp - 4]
movzx eax, byte [eax + ebx - 1]
mov dword [ebp - 0xc], eax
push dword [edi]
mov eax, dword [ebp - 0xc]
mov ecx, 0x1a
cdq
idiv ecx
mov edx, eax
add dl, 0x41
lea eax, [ebp - 0x10]
call fcn.00404894
push dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
mov ecx, 0x1a
cdq
idiv ecx
add dl, 0x41
lea eax, [ebp - 0x14]
call fcn.00404894
push dword [ebp - 0x14]
mov eax, edi
mov edx, 3
call fcn.00404a2c
inc ebx
dec esi
jne 0x4b5c10
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5c8b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004046d0
lea eax, [ebp - 4]
call fcn.004046ac
ret
Function at 0x502370
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x14]
push edx
call fcn.00501ee7
mov eax, dword [ebp + 8]
mov cl, byte [eax]
mov byte [ebp - 8], cl
mov edx, dword [ebp + 8]
mov al, byte [edx + 1]
mov byte [ebp - 0xc], al
mov ecx, dword [ebp + 8]
add ecx, 2
mov dword [ebp - 4], ecx
mov word [ebp - 0x10], 0
jmp 0x5023b7
mov dx, word [ebp - 0x10]
add dx, 1
mov word [ebp - 0x10], dx
movsx eax, word [ebp - 0x10]
cmp eax, dword [ebp + 0xc]
jge 0x502491
mov ecx, dword [ebp - 8]
and ecx, 0xff
add ecx, 1
and ecx, 0x800000ff
jns 0x5023e0
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 8], cl
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 4]
xor ecx, ecx
mov cl, byte [eax + edx]
mov edx, dword [ebp - 0xc]
and edx, 0xff
add ecx, edx
and ecx, 0x800000ff
jns 0x50240f
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [ebp - 0xc], cl
mov eax, dword [ebp - 0xc]
and eax, 0xff
mov ecx, dword [ebp - 4]
add ecx, eax
push ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 4]
add eax, edx
push eax
call fcn.00502277
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + ecx]
mov ecx, dword [ebp - 0xc]
and ecx, 0xff
mov edx, dword [ebp - 4]
xor ebx, ebx
mov bl, byte [edx + ecx]
add eax, ebx
and eax, 0x800000ff
jns 0x502466
dec eax
or eax, 0xffffff00
inc eax
mov byte [ebp - 0x14], al
movsx eax, word [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
mov edx, dword [ebp + 0x14]
mov esi, dword [ebp - 4]
mov al, byte [edx + eax]
xor al, byte [esi + ecx]
movsx ecx, word [ebp - 0x10]
mov edx, dword [ebp + 0x14]
mov byte [edx + ecx], al
jmp 0x5023ab
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
mov edx, dword [ebp + 8]
mov al, byte [ebp - 0xc]
mov byte [edx + 1], al
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0xab7000
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x659000]
push edi
jmp 0xab701a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xab7021
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab7010
mov eax, 1
add ebx, ebx
jne 0xab7033
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xab7044
jne 0xab7063
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab7063
dec eax
add ebx, ebx
jne 0xab7050
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xab7028
add ebx, ebx
jne 0xab705f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xab70b5
xor ecx, ecx
sub eax, 3
jb 0xab707b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xab70ea
sar eax, 1
mov ebp, eax
jmp 0xab7086
add ebx, ebx
jne 0xab7086
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab7054
inc ecx
add ebx, ebx
jne 0xab7094
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xab7054
add ebx, ebx
jne 0xab70a1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xab7096
jne 0xab70b2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xab7096
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xab70d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xab70c6
jmp 0xab7016
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xab70d4
add edi, ecx
jmp 0xab7016
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xab70f2
cmp byte [edi], 0x11
jne 0xab70f2
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 0xab70f7
lea edi, [esi + 0x6b0000]
mov eax, dword [edi]
or eax, eax
je 0xab716f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc8935c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc894d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xab7124
mov ecx, edi
jns 0xab7153
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 + 0xc894dc]
or eax, eax
je 0xab7169
mov dword [ebx], eax
add ebx, 4
jmp 0xab7141
call dword [esi + 0xc894ec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xab71a0
cmp al, 0xef
ja 0xab7193
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xab7175
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0xab7182
mov ebp, dword [esi + 0xc894e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0xab71d4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x403670
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x4239c0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4239c6
ret

Function at 0x455608
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407bc4
ret

Function at 0x45a664
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42aa6d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea esi, [ebx + 1]
mov edx, esi
lea eax, [ebp - 0xc]
call fcn.004052a8
test esi, esi
jle 0x45a6b7
mov edi, 1
mov ebx, dword [ebp - 4]
lea eax, [ebp - 0xc]
call fcn.00405174
mov dl, byte [ebx]
xor dl, 0xc8
mov byte [eax + edi - 1], dl
inc edi
inc ebx
dec esi
jne 0x45a6a1
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
call fcn.00404cb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aa6df
lea eax, [ebp - 0xc]
call fcn.00404c5c
ret
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x72a941e9
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x433024
nop
nop
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x38515211
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x402220
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push ebx
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
add edx, dword [edx + 0x3c]
movzx esi, word [edx + 6]
movzx eax, word [edx + 0x14]
test esi, esi
lea eax, [edx + eax + 0x18]
je 0x402258
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x40224e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x40225a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x402240
xor eax, eax
pop ebx
pop esi
ret
Function at 0x401320
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
push 0x4140e8
call fcn.00404f80
add esp, 4
lea eax, [esp + 4]
mov dword [esp + 4], 0
push eax
push 0
push esi
push 0x401300
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 4], eax
pop esi
test eax, eax
jne 0x401365
push 0x4140d0
call fcn.00404f80
add esp, 4
pop ecx
ret
Function at 0x403900
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push esi
mov esi, dword [esp + 8]
push esi
push 1
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jge 0x40393e
push 0x104
push esi
push 0x414578
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
jne 0x40394a
push 0x41455c
call fcn.00404f80
add esp, 4
xor al, al
pop esi
ret
push 0x41454c
push esi
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
mov al, 1
pop esi
ret
Function at 0x403d90
Capabilities:
Check if file exists
Create process on windows

Disassembly:
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x44]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x403da8
pop esi
add esp, 0x3c
ret
mov ecx, dword [esp + 0x48]
lea edx, [esp + 4]
xor eax, eax
push edx
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x4008340
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0x4145ec
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
pop esi
add esp, 0x3c
ret
Function at 0x4047e0
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
mov eax, dword [ecx + 4]
sub esp, 8
test eax, eax
push esi
je 0x404845
mov eax, dword [esp + 0x10]
push eax
call fcn.00404780
mov esi, eax
test esi, esi
jne 0x404806
mov eax, dword [esp + 0x18]
pop esi
add esp, 8
ret 0xc
lea ecx, [esp + 0x10]
push edi
lea edx, [esp + 8]
push ecx
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push ecx
push esi
mov dword [esp + 0x2c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push esi
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
pop edi
jne 0x4047fb
mov eax, dword [esp + 4]
pop esi
add esp, 8
ret 0xc
mov edx, dword [ecx + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
pop esi
add esp, 8
ret 0xc
Function at 0x401000
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x13c
pushal
cmp dword [ebp + 0xc], 1
jne 0x4012a8
push 0x4e4941
push 0x4d5f3031
push 0x46434d4d
push 0
lea edx, [esp + 4]
push edx
call dword [sym.imp.USER32.DLL_FindWindowA]
add esp, 0xc
cmp eax, 0
je 0x4012a8
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.DLL_GetWindowLongA]
cmp eax, 0
je 0x4012a8
mov ebx, eax
cmp dword [ebx + 4], 0x2710
jne 0x4012a8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x138], 1
mov dword [ebp - 0x134], 0x4012b2
mov dword [ebp - 0x130], fcn.00401658
mov dword [ebp - 0x12c], 0x4018ac
push 0x20
push 0x29303030
push 0x28323920
push 0x24454c55
push 0x444f4d24
push esp
lea edx, [ebp - 0x128]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrcpyA]
add esp, 0x14
push 0x118
lea edx, [ebp - 0x13c]
push edx
lea edx, [ebx + 0x8c]
push edx
call fcn.00407864
push 0x6968
push 0x73696275
push 0x7374694d
push esp
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 8]
push 0
lea edx, [ebx + 0xa4]
push edx
call fcn.004024ee
add esp, 0xc
mov dword [ebp - 0x1c], eax
push 0xa
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x401148
mov dword [ebp - 0x24], eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x40113f
mov dword [ebp - 0x20], eax
push 0x1248
lea edx, [eax + 0xb]
push edx
push 0x409344
call dword [sym.imp.NTDLL.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
push 0x6e61
push 0x635f3130
push 0x3638686d
mov dword [ebp - 0x14], esp
push 0x3230
push 0x302e3031
mov dword [ebp - 0x10], esp
push 0x7972
push 0x65766f63
push 0x6552204e
push 0x4143205d
push 0x6b363930
push 0x345b3130
push 0x3638484d
push 0x24313036
push 0x38757374
push 0x696d3239
push 0x646f6d24
push esp
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 0x1248
push 0x409344
push 0
push 0x303
push dword [ebp + 8]
push dword [ebp - 0x1c]
lea edx, [ebx + 0xa4]
push edx
call fcn.004024ee
add esp, 0x2c
add esp, 8
add esp, 0xc
mov dword [ebp - 0x18], eax
push 0xa
push 0x3e8
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
test eax, eax
je 0x40121c
mov dword [ebp - 0x24], eax
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
je 0x401213
mov dword [ebp - 0x20], eax
push 0x1248
lea edx, [eax + 0xb]
push edx
push 0x409344
call dword [sym.imp.NTDLL.DLL_memcpy]
add esp, 0xc
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.DLL_FreeResource]
push 0x6e61
push 0x635f3130
push 0x3638686d
mov dword [ebp - 8], esp
push 0x3230
push 0x302e3031
mov dword [ebp - 4], esp
push 0x7972
push 0x65766f63
push 0x6552204e
push 0x4143205d
push 0x6b383430
push 0x325b3131
push 0x3638484d
push 0x24313136
push 0x38757374
push 0x696d3239
push 0x646f6d24
push esp
push dword [ebp - 4]
push dword [ebp - 8]
push 0x1248
push 0x409344
push 0
push 0x303
push dword [ebp + 8]
push dword [ebp - 0x1c]
lea edx, [ebx + 0xa4]
push edx
call fcn.004024ee
add esp, 0x2c
add esp, 8
add esp, 0xc
mov dword [ebp - 0xc], eax
popal
mov eax, 1
leave
ret 0xc