joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4044bb
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.004029ee
and dword [ebp - 4], 0
cmp dword [0x40e9b0], 0
mov ebx, eax
jne 0x40456c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40461d
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x40461d
push eax
call fcn.0040297c
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e9b0], eax
call esi
push eax
call fcn.0040297c
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e9b4], eax
call esi
push eax
call fcn.0040297c
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x40e9b8], eax
call esi
push eax
call fcn.0040297c
pop ecx
mov dword [0x40e9c0], eax
test eax, eax
je 0x40456c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0040297c
pop ecx
mov dword [0x40e9bc], eax
mov eax, dword [0x40e9bc]
cmp eax, ebx
je 0x4045c4
cmp dword [0x40e9c0], ebx
je 0x4045c4
push eax
call fcn.004029f7
push dword [0x40e9c0]
mov esi, eax
call fcn.004029f7
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4045c4
test edi, edi
je 0x4045c4
call esi
test eax, eax
je 0x4045bb
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4045bb
test byte [ebp - 0xc], 1
jne 0x4045c4
or dword [ebp + 0x10], 0x200000
jmp 0x4045fd
mov eax, dword [0x40e9b4]
cmp eax, ebx
je 0x4045fd
push eax
call fcn.004029f7
pop ecx
test eax, eax
je 0x4045fd
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4045fd
mov eax, dword [0x40e9b8]
cmp eax, ebx
je 0x4045fd
push eax
call fcn.004029f7
pop ecx
test eax, eax
je 0x4045fd
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e9b0]
call fcn.004029f7
pop ecx
test eax, eax
je 0x40461d
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40461f
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40a940
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov esp, dword [edx]
or byte [esi - 0x75], dh
or al, 0x85
in al, 8
inc ecx
xchg ecx, eax
xor dh, byte [eax*4 + 0x41d4e4]
test ecx, ecx
mov dl, 0x17
mov eax, dword [eax*4 + 0x40c4f4]
push eax
call dword [0x40c0dd]
push es
rcr byte [ecx], 6
jne 0x40a945
and bh, byte [esi + 0x10455ec3]
test eax, eax
je 0x40a984
mov ecx, dword [esi]
cdq
push ecx
push esp
adc eax, sym.imp.KERNEL32.dll_GetProcAddress
pop esi
pop ebp
cmp byte [ebx + 0x68b0c55], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [esi]
push edx
push eax
jmp dword [edx + 0x408c1c]

Function at 0x40a9a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [edx + 0x575653f2], 0xffffff8b
aad 0xad
mov edx, dword [edi]
test edx, edx
mov dword [ebp - 8], edx
ror byte [esi], 1
pop edi
pop esi
xor eax, dword [esi]
xor dword [ebx + 0x10c25de5], ecx
add byte [ebx - 0x7574edab], cl
adc al, 0x83
cmp dword [eax], eax
je 0x40a9b5
mov esi, dword [ebp + 8]
sahf
add cl, byte [edx - 0x3f7bb9fa]
mov al, byte [esi]
inc esi
test al, al
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x443d70
or al, byte [eax]
add byte [edx], al
mov eax, dword [eax]
jmp 0xfca45085

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505
test edx, edx
jle 0x406964
movzx ecx, byte [esi + edi]
imul eax, eax, 0x21
add eax, ecx
inc esi
cmp esi, edx
jl 0x406956
pop edi
pop esi
pop ebp
ret 4

Function at 0x408810
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
mov ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x30], ebx
push esi
push edi
test ebx, ebx
je 0x446545
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x28], ecx
cmp eax, dword [esi + 4]
jae 0x44e68f
mov edx, dword [ebp - 8]
inc eax
add dl, bl
bound eax, qword [eax + eax - 0x30]
bound eax, qword [eax + eax - 0x40]
bound eax, qword [eax + eax - 0x26]
bound eax, qword [eax + eax - 0x7d]
jge 0x446572
add byte [ebp + 0x1c], dh
push 0x3f
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor edx, edx
lea ecx, [ebp + 0x18]
call 0xdc408822
jmp 0x752d7a31
mov ebx, 0x2474e914
cld
dec dword [ebp + 0x452b1845]
clc

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x24], 1
mov dword [esp + 0x18], ecx
or ebx, 0xffffffff
mov dword [esp + 0x20], ecx
mov eax, dword [edi + 4]
mov dword [esp + 0x10], ecx
mov eax, dword [eax]
mov dword [esp + 0x14], eax
movsx eax, word [eax + 8]
sub eax, ecx
je 0x40bf27
sub eax, 1
je 0x450474
sub eax, 0x32
jne 0x4503eb
push edi
mov ecx, esi
call fcn.0040dfd0
sbb al, 0x50
lea eax, [esp + 0x18]
push eax
push edi
push ecx
mov ecx, esi
call 0x40bf52
jmp 0x450499
Function at 0x40c802
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ecx
call fcn.0041fe0b
mov edx, dword [esp + 0x28]
add esp, 4
mov esi, eax
test edx, edx
jne 0x40ca1b
mov eax, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x4c], eax
jmp 0x40c6bc
mov eax, dword [esp + 0x38]
test eax, eax
je 0x40c819
lea ecx, [eax*4]
push ecx
push edx
push esi
call fcn.00420e20
add esp, 0xc
or al, 0xff
je 0x40ca60
and al, 0xe8
sal byte [ebx], cl
add dword [eax], eax
add esp, 4
jmp 0x40c819

Function at 0x40d760
Capabilities:
Packed with generic packer

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x148
push esi
push edi
mov edi, ecx
mov dword [esp + 0x4c], edi
mov eax, dword [edi + 0xf0]
cmp eax, 0xed8
jge 0x451c3f
inc eax
inc ebp
add byte [ecx + ebx + 0x19d60045], ch
inc ebp
add dh, dl
sbb dword [ebp], eax
rcr dword [ecx], 0x45
add byte [edx - 1], ch
push 0x39a
mov byte [0x4d1360], 0
call fcn.004735ae

Function at 0x40d786
Capabilities:
Packed with generic packer

Disassembly:
mov dword [edi + 0xf0], eax
cmp eax, 1
je 0x40dbf1
cmp byte [edi + 0x100], 0
mov byte [edi + 0x14c], 0
add byte [eax], al
jne 0x40d9d5
lea esp, [esp]
mov esi, dword [edi + 0x124]
test esi, esi
je 0x40d795
jmp 0x451c5a
pushal
adc ecx, dword [ebp]
add al, ch
dec edx
sbb dword [edx], eax
add cl, ch
enter 0xffffffffffffe9ff, 0xffffffffffffff9a
mov ebp, 0x36fffffb
mov ecx, edi
call 0x3141e312
invalid

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]

Function at 0x4101e0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x154
mov edx, dword [edx + 4]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
mov ecx, dword [ebx]
mov esi, dword [edx + ecx*4]
movzx eax, word [esi + 8]
cmp ax, 0x4e
je 0x41027e
mov ebx, dword [ebp + 0x10]
cmp ax, 0x35
je 0x455419
cmp ax, 0x47
je 0x455435
mov esi, dword [ebp + 0x14]
cmp esi, ebx
je 0x410259
mov eax, dword [esi + 0xc]
cmp eax, 4
je 0x4555b6
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x4555d9
cmp eax, 5
jge 0x4555ee
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
cmp eax, 5
jne 0x4552fe
mov dword [ebp - 0x10], 0
mov esi, ebx
mov dword [ebp - 8], 0
mov dword [ebp - 4], 1
mov eax, dword [edx + ecx*4 - 4]
mov dword [ebp - 0x14], 0
movsx eax, word [eax + 0xa]
mov dword [ebp - 0x2c], eax
inc ebp
add dword [esi + ecx - 0x75], esi
inc eax
adc byte [esi + ebp*4 - 0xa], bl
add al, 1
cld
je 0xff9950b2
invalid
push eax
push 0
call 0x20adbf66
dec sp
js 0x45552e
adc al, 0x19
dec ebp
add byte [ebp + 0x33], bh
add dword [edi], ecx
test byte [ecx - 0x18], bh
ud0
dec ebp
fsubr st(0)
xlatb
jns 0x45559c
call 0xc8357776
inc ebp
invalid
lodsb al, byte [esi]
cmp ecx, dword [0xfffb7b14]
push eax
call 0x7f4e0256
pop ss
mov edi, dword [eax + 0x708bfffb]
cmp cl, ch
sti
mov ebp, dword [ebx + edi*8 - 0xc17cf73]
push edx
jmp [edx + 0x51]
jmp 0xfbf1e1ee
Function at 0x41c574
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, 0xff
push edi
mov edi, dword [ebp + 0x14]
mov ebx, edi
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
cmp edi, eax
ja 0x45b8ca
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 4], ecx
test al, 1
jne 0x45b8d1
and eax, 0x800
mov dword [ebp + 8], eax
je 0x45b9c9
invalid
mov dword [ebp - 0x18], esi
cmp esi, ebx
ja 0x41c5ec
mov edi, dword [ebp - 8]
mov eax, ebx
sub eax, esi
inc ecx
add ecx, eax
mov dword [ebp - 4], ecx
mov edx, esi
mov eax, esi
shr edx, 3
and eax, 7
movzx ecx, byte [edx + edi]
bts ecx, eax
inc esi
mov byte [edx + edi], cl
cmp esi, ebx
jbe 0x41c5ca
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
cmp esi, 0xff
ja 0x41c5f9
mov esi, 0x100
cmp edi, esi
jae 0x45b9e0
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
jne 0x8c45b3d4
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x24ffdb8d
jmp 0x45b8e4
inc ebp
or al, 0xc7
add byte [ebp - 0x14db0025], cl
or dword [ebx + 0xc70c45], ecx
xor al, 0x7c
and al, 0x4c
sti
mov byte [ebx + ecx*4], cl
inc eax
add al, 0xf
mov dh, 0x14
cmp byte [ebx - 0x351607bb], cl
shr ecx, 3
and edx, 7
movzx eax, byte [ecx + eax]
bts eax, edx
add al, 0x12
clc
inc edi
mov byte [ecx + edx], al
cmp edi, ebx
jbe 0x45b9ba
invalid
mov edi, dword [ebp + 0x14]
pop edi
mov byte [esp + 0x4d], bl
cld
jmp 0x1041c5ce

Function at 0x439175
Capabilities:
Read file on windows

Disassembly:
call fcn.0043fdc4
pop ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [eax], ecx
mov esi, dword [ebp + 8]
push dword [esi + 0x18]
push dword [esi + 4]
push esi
call fcn.0042d955
pop ecx
push eax
call fcn.00438c32
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
test edx, edx
je 0x439259
cmp edx, 0xffffffff
je 0x439259
mov eax, dword [eax + 0xc]
test al, 6
jne 0x43921a
push dword [ebp + 8]
call fcn.0042d955
pop ecx
cmp eax, 0xffffffff
je 0x439200
push dword [ebp + 8]
call fcn.0042d955
pop ecx
cmp eax, 0xfffffffe
je 0x439200
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.0042d955
mov edi, eax
push esi
sar edi, 6
call fcn.0042d955
and eax, 0x3f
imul eax, eax, 0x30
pop ecx
pop ecx
add eax, dword [edi*4 + 0x4d0fe8]
pop edi
jmp 0x439205
mov eax, 0x4cc1e0
mov al, byte [eax + 0x28]
and al, 0x82
cmp al, 0x82
jne 0x43921a
mov eax, dword [ebp + 8]
push 0x20
pop ecx
add eax, 0xc
lock or dword [eax], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x200
jne 0x43924a
mov eax, dword [eax + 0xc]
shr eax, 6
test bl, al
je 0x439247
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
shr eax, 8
test bl, al
jne 0x439247
mov eax, dword [ebp + 8]
mov dword [eax + 0x18], 0x1000
mov eax, dword [ebp + 8]
dec dword [eax + 8]
mov ecx, dword [eax]
mov dl, byte [ecx]
inc ecx
mov dword [eax], ecx
movzx eax, dl
jmp 0x439277
xor ecx, ecx
test edx, edx
setne cl
add eax, 0xc
lea ecx, [ecx*8 + 8]
lock or dword [eax], ecx
mov ecx, dword [ebp + 8]
and dword [ecx + 8], 0
or eax, 0xffffffff
pop ebx
pop esi
pop ebp
Function at 0x43927b
Capabilities:
Read file on windows

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

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x47208f
push 0
call fcn.0042e50e
pop ecx
mov ecx, eax
call 0xdc47202c
mov dword [0x4d06e0], 0x8bd00270
mov edx, 0xe3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7f0fe8fe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x742ff9cc]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x4720a4
mov eax, dword [esi]
mov dword [ebp - 4], 0x90b9018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7f0fe8fe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x4720de
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7f0fe8fe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret

Function at 0x47c093
Capabilities:
Encode data using xor

Disassembly:
add byte [ebp - 0x74f08b37], al
jno 0x47c0d3
mov esi, dword [ecx + 0x38]
push ecx
call 0x67301a24
mov ecx, esi
test esi, esi
jne 0x47c098
test byte [ebp + 8], 1
je 0x47c0ba
push 0x3c244489
push edi
call 0x487fe0e
add eax, edi
mov eax, edi
pop edi
pop esi
pop ebp
cmp dword [esp + eax], eax
Function at 0x49a2fd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx eax, di
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 5
push dword [ebp + 8]
call dword [0x7208c578]
fisttp dword [eax + 0x104c8d8b]
add al, 1
add byte [esi + edx*2 - 1], dh
call 0x18fa612a
dec ebp
add byte [ebx - 0x7481732], cl
idiv edi
push eax
or eax, 0x4d1910
mov eax, dword [ecx + eax*4]
mov edx, dword [eax]
mov eax, dword [ebp + 0xc]
and eax, 0x7c89fff0
sub eax, 0x8bd0f000
je 0x49a3b0
sub eax, 0x20
je 0x49a392
sub eax, 0x10
je 0x49a379
sub eax, 0x30
je 0x49a369
sub eax, 0x565300c0
jne 0x49a3b7
push eax
push eax
push edx
push 0xfffffffffffffffb
mov ecx, esi
call fcn.00492cd4
jmp 0x49a3a5
push 0
push 0xffffffffffffff8b
push edx
push 0xfffffffffffffffd
mov ecx, esi
call fcn.00492cd4
jmp 0x49a3d6
push 0
push 0xffffffffffffff8b
push edx
push 0xfffffffffffffffa
mov ecx, esi
call fcn.00492cd4
test byte [0x4d18c0], 1
je 0x49a3b7
jmp 0x49a3d6
push 0
push 0xffffffffffffff8b
push edx
push 0xfffffffffffffffc
mov ecx, esi
call fcn.00492cd4
call fcn.00497844
test byte [0x4d18c0], 1
jne 0x49a3d6
jmp 0x49a3b7
mov byte [edx + 0x268384], 1
movzx ecx, word [ebp + 0x14]
movzx eax, word [ebp + 0x10]
shl ecx, 0x10
loope 0x49a3d2
or ecx, eax
push ecx
push dword [ebp + 0xc]
push 0x112
push eax
adc eax, 0x7815ff08
lds ecx, [eax]
jb 0x49a435
pop esi
or byte [ebx], al
adc byte [ecx + eax], al
add byte [ecx + edx*2 + 0x51], dh
push ebx
push esi
movzx esi, word [ecx]
push edi
mov edi, edx
test si, si
je 0x49a519
mov ebx, 0x56530095
mov dword [ebp - 4], 0xc7002610
mov es, word [ebp - 8]
invalid
cmp si, 0x70
jne 0x49a413
movzx eax, word [ecx + 2]
jmp 0xc749cb0a
cmp si, 0x7c
jne 0x49a42b
cmp dword [ebp + 8], 0
jl 0x49a520
add ecx, 4
jmp 0xe911a50d
mov eax, 0x56530085
cmp si, ax
je 0xdd49a4f7
mov esi, 0x5ddd0000
pop ebp
rol byte [0xff03b66], 0x84
mov dl, 0
add ch, bl
mov eax, 0x56530086
cmp si, ax
je 0xdd49a4f7
pop ebp
rol byte [0xff03b66], 0x84
cwde
add bh, al
movzx edx, si
cmp edx, ebx
ja 0x49a4aa
je 0x49a4bf
cmp edx, 0x55
jb 0x49a4c6
cmp edx, 0x5a
jbe 0x49a491
cmp edx, 0x5d
jbe 0x49a481
cmp edx, 0x60
jbe 0x49a491
cmp edx, 0x61
jne 0x49a4c6
movzx eax, word [ecx + 4]
cmp ax, word [ebp - 4]
je 0x49a4a5
cmp ax, word [ebp - 8]
jmp 0x49a4a3
movzx eax, word [ecx + 2]
push 0x10
pop esi
cmp ax, si
je 0x49a4a5
push 0xf
pop esi
cmp ax, si
jne 0x49a4c6
add ecx, 4
jmp 0x49a4c6
mov eax, edx
sub eax, 0x2697
je 0x49a4bf
dec eax
pop ebp
lock add dword [esi + eax + 0x48], esi
pop ebp
lock add dword [ebp + 7], esi
movzx eax, word [ecx + 2]
lea ecx, [ecx + eax*2]
movzx eax, byte [edx + 0x4c2140]
lea ecx, [ecx + eax*2]
test edi, edi
je 0x49a50d
inc esi
inc edx
jecxz 0x49a45b
clc
aaa
ja 0x49a50d
xor dword [esi - 0x75], esp
inc ecx
invalid
mov ax, word [ecx - 2]
mov edx, 0x5653fc00
and ax, dx
mov edx, 0x5653d800
cmp ax, dx
jne 0x49a50d
add ecx, 2
jmp 0x49a50d
movzx esi, word [ecx]
test si, si
jne 0x49a404
je 0x49a4db
pop edi
pop esi
pop ebx
leave
ret
mov eax, ecx
jmp 0x49a51b
Function at 0x406624
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406648
xor eax, eax
test eax, eax
je 0x40665b
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x40665b
xor ecx, ecx
jmp 0x40665e
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406787
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4698ec], 0
push esi
jne 0x4067be
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406798
mov dword [ecx*4 + 0x4698e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406793
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4067ef
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4698e8]
xor eax, esi
inc ecx
dec edx
jne 0x4067d1
pop edi
not eax
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
je 0x430072
nop
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x4b197a01
nop
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
nop
nop
mov eax, section..rsrc
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x1c6938e8
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x403110
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
mov eax, dword [0x407004]
xor eax, esp
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
movlpd qword [esp + 0x30], xmm0
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
lea eax, [esp + 8]
push edi
push eax
mov dword [esp + 0x10], 0
movlpd qword [esp + 0x18], xmm0
movlpd qword [esp + 0x24], xmm0
movlpd qword [esp + 0x2c], xmm0
mov dword [esp + 0x14], 0x402bf0
mov dword [esp + 0x34], 0x405370
call dword [sym.imp.USER32.dll_RegisterClassW]
mov esi, dword [sym.imp.USER32.dll_CreateWindowExW]
lea eax, [esp + 0x34]
push eax
push dword [esp + 0x38]
push 0
push 0
push 0x64
push 0x140
push 0x80000000
push 0x80000000
push 0xcf0000
push str.License_Key
push 0x405370
push 0
call esi
mov dword [esp + 0x38], eax
test eax, eax
jne 0x4031c4
push 0x10
push str.Error
push str.Window_creation_failed
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x403228
push 0
push dword [esp + 0x38]
push 1
push eax
push 0x19
push 0xc8
push 0xa
push 0xa
push 0x50800080
push 0
push str.EDIT
push 0
call esi
push 0
push dword [esp + 0x38]
push 2
push dword [esp + 0x44]
push 0x19
push 0x50
push 0xa
push 0xdc
push 0x50000001
push str.Submit
push str.BUTTON
push 0
call esi
push 1
push dword [esp + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esp + 0x38]
call dword [sym.imp.USER32.dll_UpdateWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [esp + 0xc]
push 0
push 0
push 0
push eax
call esi
test eax, eax
je 0x40326f
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageW]
nop dword [eax + eax]
lea eax, [esp + 0xc]
push eax
call edi
lea eax, [esp + 0xc]
push eax
call ebx
push 0
push 0
push 0
lea eax, [esp + 0x18]
push eax
call esi
test eax, eax
jne 0x403250
mov ecx, dword [esp + 0x3c]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00403312
mov esp, ebp
pop ebp
ret 0x10

Function at 0x403be3
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x403c22
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x403c22
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x403c22
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x403c22
cmp dword [ecx + 0x74], 0xe
jbe 0x403c22
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x10001e10
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001e6a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001e6a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x10001e5a
cmp esi, ecx
jae 0x10001e6a
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x10001e48
cmp esi, ecx
jae 0x10001e6a
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x10001e6c
xor eax, eax
pop esi
pop ebp
ret
Function at 0x100041c2
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 4], esi
test eax, eax
jg 0x100041e6
jl 0x100041dd
test ebx, ebx
jne 0x100041e6
xor eax, eax
xor edx, edx
jmp 0x100042a3
cmp dword [esi + 0x38], 0
je 0x100041fb
push eax
push ebx
push dword [ebp + 8]
call fcn.100047ac
jmp 0x100042a3
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x1000423e
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x1000423e
cmp dword [eax], ebx
mov esi, ebx
mov edi, dword [ebp + 8]
cmovb esi, dword [eax]
push esi
push ecx
push edi
call fcn.10151330
mov ecx, dword [ebp - 4]
add edi, esi
mov dword [ebp + 8], edi
add esp, 0xc
mov edi, ebx
sub edi, esi
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x10004244
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
cmp dword [esi + 0x4c], 0
je 0x10004298
mov ecx, esi
call fcn.10005006
mov ecx, dword [ebp + 8]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x10004283
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.10159e56
mov ecx, dword [ebp + 8]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp + 8], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x10004298
jmp 0x10004256
test edx, edx
je 0x10004298
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.10159e56
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
leave
ret 0xc