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

Disassembly:
cmp ecx, dword [0x40e0b0]
jne 0x402236
repz ret
jmp fcn.00403cda

Function at 0x405a8c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x40e0b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004035ba
and dword [ebp - 0x14], 0
cmp dword [0x40faf4], 0
mov dword [ebp - 0x18], eax
jne 0x405b3f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405be7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405be7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40faf4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40faf8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40fafc], eax
call edi
push eax
call esi
mov dword [0x40fb04], eax
test eax, eax
je 0x405b3f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40fb00], eax
mov eax, dword [0x40fb00]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x405b98
cmp dword [0x40fb04], ecx
je 0x405b98
push eax
call esi
push dword [0x40fb04]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x405b98
test ebx, ebx
je 0x405b98
call edi
test eax, eax
je 0x405b8f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x405b8f
test byte [ebp - 8], 1
jne 0x405b98
or dword [ebp + 0x10], 0x200000
jmp 0x405bcb
mov eax, dword [0x40faf8]
cmp eax, dword [ebp - 0x18]
je 0x405bcb
push eax
call esi
test eax, eax
je 0x405bcb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x405bcb
mov eax, dword [0x40fafc]
cmp eax, dword [ebp - 0x18]
je 0x405bcb
push eax
call esi
test eax, eax
je 0x405bcb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40faf4]
call esi
test eax, eax
je 0x405be7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405be9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040222c
leave
ret
Function at 0x517b29
Capabilities:
Check for vm using instruction vpcext
Resolve function by parsing pe exports

Disassembly:
stc
test eax, eax
jmp 0x4e3b1e
mov esi, dword [eax + 0x3c]
btc dx, 0xf
bsf edx, ebx
push ebx
bt bp, 4
add esi, eax
cmc
pushal
xor dl, cl
neg dx
mov edx, dword [esi + 0x78]
sub esp, 0xffffffdc
jns 0x4b4714
stc
bt bx, si
pushal
test edx, edx
call fcn.005181ce
add byte [eax], al
push ebx
je 0x4d779c
jb 0x4d77b7
outsd dx, dword [esi]
jb 0x4d77ba
je 0x4d77cc
inc ebx
insb byte es:[edi], dx
popal
jae 0x4d77cb
add byte [ebp + 0xf082464], cl
test dword [esi - 0x3f], esp
add byte [eax], al
mov word [ebx], fs
dec si
shl si, cl
lea esi, [ebx*4 + 0x6072b3ad]
add edi, eax
pop esi
mov esi, dword [ebp + 0xc]
push eax
pushfd
mov dword [esp + 4], eax
push ebp
call fcn.004b4742
iretd
dec dword [edi]
add byte [eax], al
sldt word [eax]
push ebp
lea esp, [esp + 4]
je fcn.004b481b
inc si
jmp 0x4d7713
sub esp, 0x10
bts ax, bp
sub al, 0xda
push esi
inc ax
aas
push edi
aaa
push ebx
daa
neg ah
sar ah, 1
stc
push edx
sar eax, 1
bsf ax, bx
jmp 0x518f7c
bt bx, dx
mov eax, dword [ebp + 8]
jmp 0x4b5063

Function at 0x5181ce
Capabilities:
Check for vm using instruction vpcext

Disassembly:
push 0xaaecad9b
lea esp, [esp + 0x28]
je fcn.004b481b
bsr ecx, ecx
sbb ch, 0xb1
add edx, eax
cmc
sar cx, 0xb
inc ch
bsr cx, ax
mov ecx, dword [esi + 0x7c]
cmc
cmc
bt esp, 0x1f
Function at 0x519280
Capabilities:
Check for vm using instruction vpcext

Disassembly:
test edi, edi
call 0x51834e
add byte [eax], al
dec ecx
outsb dx, byte [esi]
je 0x4b46b9
jb 0x4b46c2
outsd dx, dword [esi]
arpl word [ebx + 0x65], bp
dec ecx
outsb dx, byte [esi]
arpl word [edx + 0x65], si
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x4b4665
add byte [eax], al
inc edi
je fcn.004b46b8
outsd dx, dword [esi]
jne 0x4b46db
inc esi
imul ebp, dword [ebp + 0x4e], 0x41656d61
add byte [eax], al
add byte [edi + 0x6c], al
outsd dx, dword [esi]
bound esp, qword [ecx + 0x6c]
inc ecx
insb byte es:[edi], dx
insb byte es:[edi], dx
outsd dx, dword [esi]
arpl word [eax], ax
cmp edx, 0xb524329e
jmp 0x4b4647
mov byte [esp + 8], 0xe1
test ax, 0x9a82
mov edi, dword [edi + ecx*4]
stc
jmp 0x4b4f00

Function at 0x519653
Capabilities:
Check for vm using instruction vpcext

Disassembly:
call 0x518258
cmp eax, edx
jmp 0x4b4efb

Function at 0x401c2e
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
and byte [ebp - 0x100], 0
push edi
push 0x3f
xor eax, eax
pop ecx
lea edi, [ebp - 0xff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 8
lea eax, [ebp - 0x100]
push 0x404008
push eax
call fcn.00401ca0
mov ecx, 0x401bdc
mov eax, 0x4017fd
sub ecx, eax
push ecx
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.00401d18
push 0x100
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004020d0
add esp, 0x24
call fcn.00401846
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x419b00
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0xa56218a8
sbb eax, 0xa054bd
xlatb
and al, 0x53
xor ah, dh
fcomp qword [edi + 0xb8270fd]
cmc
sub eax, 0x3d0774e4
sbb byte [edi + 0x17], bl
aaa
xor ecx, edx
jecxz 0x419b1c
jl 0x419b5b
mov dword [0x7e9c2ec7], eax
inc edi
out 0xd0, eax
mov edi, dword [esi]
sbb esi, dword [edx]
int 0xcf
rcl byte [eax]
fiadd dword [ebp + 0x12]
jecxz 0x419b69
sbb al, byte [eax + eax + 0x74000000]
stc
test byte [eax], al
add byte [eax], al
add byte [ecx + edi*8 - 0x43], dh
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
invalid
jp 0x419b0c
je 0x419afb
mov ebp, 0x7731d031
add dword [eax], eax
call 0xab419b88
jae 0x419b16
add byte [ebx + 0x26000673], ch
add byte [esi], ah
add eax, 0x31a8d00
add byte [ecx], ch
cdq
sub byte [0x45157ab7], 0x2e
loopne 0x419abf
add eax, dword [eax]
sub dword [ecx + 0x7ab72d82], ebx
mov bh, 0x7a
adc eax, 0x9ce02e45
int 0x9e
fimul dword [ebp - 0x7d]
shr byte [edx - 0x675b92], 0xf3
ja 0x419b81
leave
inc edi
hlt
jge 0x419bb6
outsd dx, dword [esi]
dec eax
mov bl, dh
xor esi, ebp
aas
wait
sbb ebx, ebx
std
clc
into
ret 0xab06
salc
adc eax, 0xe3fec155
mov dword [0x7160e872], eax
and dword gs:[eax], ebx
lea ebp, [edx]
lea eax, [eax]
cmpsd dword [esi], dword es:[edi]
std
mov ebp, 0x4b70e31b
dec edi
sbb ch, cl
mov eax, 0xdabfde48
hlt
int 0xf8
scasb al, byte es:[edi]
xor ebx, dword [ebx + 0x54]
ret

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

Disassembly:
pushal
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
popal
nop
jmp loc.00401219
Function at 0x9146e0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x9146ea
pushal
call 0x9146f0
pop ebp
sub ebp, 0x10
sub ebp, 0x5146e0
jmp 0x914706
mov eax, 0x5146e0
add eax, ebp
add eax, 0x4c
mov ecx, 0x5ef
mov edx, 0x56493f9d
aas
dec ecx
push esi
xor byte [eax], dl
inc eax
dec ecx
jne 0x91471d
jmp 0x914730
push ss
push eax
push ss
adc al, 0xa1
popfd
popfd
popfd
sbb al, 0x5c
popfd
popfd
popfd
sahf
push eax
and eax, 0x9d9d9d9b
daa
mov ch, 0x9d
popfd
popfd
push 0x7f
sahf
push ebp
push ss
sbb al, 0x91
popfd
popfd
popfd
sahf
pop eax
int 0xcd
cmc
int 0xf5
movsd dword es:[edi], dword [esi]
sub al, 0x93
popfd
cmc
cmp byte [eax], cl
fistp word [ebp - 0xa464e64]
sbb eax, dword [esi - 0x678af771]
popfd
popfd
popfd
je 0x91471a
popfd
popfd
popfd
adc cl, bh
mov ecx, 0xb9b11461
push ss
jno 0x914794
mov ecx, 0x18167116
xchg ebp, eax
popfd
popfd
popfd
push ss
sbb byte [ebp + 0x169d9d9d], dl
or byte [ecx + 0x169d9d9d], dl
adc byte [ebp + 0x5c9d9d9d], cl
je 0x914731
lodsb al, byte [esi]
lahf
push ds
pop edi
cdq
aam 0x92
sbb byte [ecx + 0x62], ch
bound esp, qword [edx + 0x16]
mov cl, 0xb9
adc cl, bh
mov ecx, 0x9d915f99
push ss
adc dword [ecx - 0x62626267], edi
cmc
movsd dword es:[edi], dword [esi]
sub al, 0x93
popfd
cmc
cmp byte [eax], cl
fistp word [ebp - 0x33464e64]
jne 0x914757
pushfd
mov cl, 0xb9
int3
popfd
popfd
popfd
je 0x914772
lahf
popfd
popfd
enter 0x7116, 0x62
push ss
jno 0x91482d
invalid
call 0x9679aa61
jne 0x9147cd
invalid
popfd
popfd
popfd
push ss
and byte [ebp - 0x51626263], dl
push esp
scasb al, byte es:[edi]
dec edi
push ds
jne 0x91477a
aad 0x92
sbb ebx, edx
popfd
popfd
popfd
xchg edx, eax
adc eax, 0x9d9d9dd5
sti
push ss
and dword [ebp + ebx + 0x19927566], 0x9d9d9d87
sbb eax, 0x19927466
mov word [ebp + 0x1cfb9d9d], ds
bound di, dword [eax - 0x6277e66e]
popfd
popfd
fdiv qword [ecx + edx*2 + 0x62]
bound esp, qword [edx - 0x4c]
shl dword [esp + ebx*4 + 0x1e985c1e], 1
jne 0x9147b9
je 0x914842
bound esp, qword [edx + 0x62]
mov ah, 0xc9
movsb byte es:[edi], byte [esi]
lahf
push ds
pop esp
wait
push ds
ja 0x9147c8
push ds
jne 0x9147ca
je 0x91486a
bound esp, qword [edx + 0x62]
rcr byte [edi - 0x6f], 0x9d
enter 0x7116, 0xffffffffffffffcb
retf 0x16c8
call 0x96715ed8
popal
das
sbb eax, 0x5b1c9b17
pushfd
popfd
popfd
popfd
adc eax, 0x9c5a1c9a
popfd
popfd
popfd
lahf
popfd
popfd
popfd
lahf
dec edi
xchg edx, eax
sbb byte [eax + 0x179d9d9d], bl
mov ebx, ebx
invalid
Function at 0x401fe3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [ebp - 8]
push esi
push edi
push eax
push 0x20019
xor edi, edi
xor esi, esi
push edi
push str.SoftwareAdobeAdobe_AcrobatDCSecurity
push 0x80000002
inc esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402049
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], edi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 4
push eax
push edi
push 0x404588
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x402040
cmp dword [ebp - 4], eax
cmove esi, eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4

Function at 0x40894e
Capabilities:
Encode data using xor

Disassembly:
push 0x4085d8
pop edx
call fcn.00408979
add ecx, eax
xor dword [esi], edx
add esi, 1
sub eax, 0x79373180
cmp esi, edi
jne fcn.0040894e
add ecx, 0xcb6a0746
mov ecx, 0x61f9f565
ret
Function at 0x4035ac
Capabilities:
Generate random numbers using the delphi lcg

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

Function at 0x41cf00
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push ebp
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
cld
mov dl, 0x80
mov al, byte [esi]
add esi, 1
mov byte [edi], al
add edi, 1
mov ebx, 2
add dl, dl
jne 0x41cf31
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf19
add dl, dl
jne 0x41cf3c
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41cf8d
xor eax, eax
add dl, dl
jne 0x41cf49
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x41d02a
add dl, dl
jne 0x41cf58
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf63
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf6e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cf79
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x41cf83
mov ebx, edi
sub ebx, eax
mov al, byte [ebx]
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x41cf28
mov eax, 1
add dl, dl
jne 0x41cf9b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x41cfa6
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cf92
sub eax, ebx
mov ebx, 1
jne 0x41cfd9
mov ecx, 1
add dl, dl
jne 0x41cfbf
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cfca
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfb6
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x41cff0
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x41cffb
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x41cfe7
cmp eax, 0x7d00
sbb ecx, 0xffffffff
cmp eax, 0x500
sbb ecx, 0xffffffff
cmp eax, 0x80
adc ecx, 0
cmp eax, 0x80
adc ecx, 0
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x41cf28
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x41d04b
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 0x41cf28
pop ebp
sub edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
pop edi
pop esi
pop ebx
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x41f05c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x5c054a
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x41f0ab
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
jmp 0x41f0ca
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x41f0ca
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x41f13c
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x41f125
test esi, esi
jbe 0x41f13c
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.004088ec
test eax, eax
jne 0x41f117
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x41f13c
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x41f0f4
jmp 0x41f13c
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x41f13c
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c0551
ret
Function at 0x420294
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x5c18af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404cd0
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4202cf
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4202e8
lea eax, [ebp - 0x10]
mov edx, dword [0x5de348]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.00404d30
jmp 0x4202fb
lea eax, [ebp - 0x10]
mov edx, dword [0x5de348]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.00404d30
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x420307
adc edx, 0
mov edx, dword [edx*4 + 0x5dd178]
call fcn.00404f20
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404f04
push eax
call fcn.00406b1c
mov esi, eax
cmp esi, 0xffffffff
je 0x420481
mov eax, 0x40
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x420474
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ddc
mov eax, edi
call fcn.00403288
mov eax, 0x18
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
cmp dword [eax], 0x4550
jne 0x420474
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x420412
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x420412
mov eax, edi
call fcn.00403288
mov eax, 0xf0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420412
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420412
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
cmp byte [ebp - 1], 0
jne 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x420474
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x420474
mov eax, edi
call fcn.00403288
mov eax, 0xe0
call fcn.00403268
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406d7c
test eax, eax
je 0x420474
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x420474
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404d0c
mov eax, edi
call fcn.00403288
push esi
call fcn.00406ad4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.0040502c
jne 0x420499
inc ebx
cmp ebx, 0x19
jne 0x4202c1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c18b6
lea eax, [ebp - 0x10]
call fcn.00404cd0
ret
Function at 0x401000
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], 0x401400
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [ebp - 0x14], eax
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x10], eax
push 3
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], str.ghjjkmghmhtj5y
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassW]
movzx edx, ax
test edx, edx
jne 0x401079
xor eax, eax
jmp 0x401135
mov dword [ebp - 0x2c], 0
push 0x1df0f3d
call fcn.00401def
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4010ba
push 0x1df0f3d
push 0
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00401e90
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00401db5
add esp, 4
call fcn.004012a0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
push 0
push 0x80000000
push 0x80000000
push 0x80000000
push 0x80000000
push 0xcf0000
push str.vbmfghjgfjkfghjfg
push str.ghjjkmghmhtj5y
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [ebp - 0x4c], eax
push 0
mov eax, dword [ebp - 0x4c]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
push 0
push 0
push 0
lea edx, [ebp - 0x48]
push edx
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x401132
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea ecx, [ebp - 0x48]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x401108
mov eax, dword [ebp - 0x40]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4012a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoW]
test eax, eax
jne 0x4012c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
je 0x4012d0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x8aab1
call fcn.00401def
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4013fb
push 0x8aab1
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00401e90
add esp, 0xc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x14]
push ecx
push 0x492
call fcn.00401140
add esp, 8
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x10]
push edx
push 0xdda9
call fcn.00401140
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 0
je 0x4013e3
cmp dword [ebp - 0x14], 0
je 0x4013e3
cmp dword [ebp - 8], 0
je 0x4013e3
cmp dword [ebp - 0x10], 0
je 0x4013e3
mov eax, dword [ebp - 0x14]
shr eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x401375
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
cmp edx, dword [ebp - 0x14]
jae 0x401390
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0xc]
mov cl, byte [edx + ecx*2]
mov byte [eax], cl
jmp 0x40136c
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.00401220
add esp, 0x10
push 0x40b7d8
call fcn.00401da0
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 0x40b7d8
call fcn.00401d70
add esp, 0xc
push 0x40b7d8
call fcn.00401d40
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.00401db5
add esp, 4
mov eax, dword [ebp - 0xc]
push eax
call fcn.00401db5
add esp, 4
mov ecx, dword [ebp - 4]
push ecx
call fcn.00401db5
add esp, 4
mov esp, ebp
pop ebp
ret