joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405bef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push esi
mov esi, ecx
je 0x405cff
mov eax, dword [esi + 0xc]
test eax, eax
je 0x405c1c
dec eax
je 0x405c11
dec eax
jne 0x405c1c
push 0xfffffffffffffff4
jmp 0x405c13
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov dword [esi + 4], eax
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp dword [esi + 0xc], edi
je 0x405c6b
cmp dword [ebp + 0xc], edi
jbe 0x405c86
mov ecx, dword [ebp + 0xc]
sub ecx, edi
mov eax, 0x4000
cmp ecx, eax
jae 0x405c43
mov eax, ecx
push 0
lea ecx, [ebp - 4]
push ecx
push eax
mov eax, dword [ebp + 8]
add eax, edi
push eax
push dword [esi + 4]
call ebx
dec eax
neg eax
sbb al, al
inc al
je 0x405c86
add edi, 0x4000
cmp edi, dword [ebp + 0xc]
jb 0x405c33
jmp 0x405c82
push edi
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 4]
call ebx
dec eax
neg eax
sbb al, al
inc al
test al, al
jne 0x405cf9
cmp byte [esi + 0x14], 0
je 0x405cf9
cmp dword [esi + 0xc], 0
jne 0x405cf9
push 0
lea eax, [esi + 0x418]
push eax
lea eax, [esi + 0x17]
mov edi, 0x415e7c
push eax
mov ecx, edi
call fcn.0040355d
test al, al
je 0x405ce3
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
jae 0x405c24
test eax, eax
jbe 0x405c24
push 0
mov ecx, esi
call fcn.004055f5
mov ecx, dword [ebp - 4]
xor edi, edi
sub eax, ecx
sbb edx, edi
push edx
push eax
mov ecx, esi
call fcn.00405b50
jmp 0x405c24
lea eax, [esi + 0x418]
push eax
lea eax, [esi + 0x17]
push eax
push 0
push 0
mov ecx, edi
call fcn.004037e7
pop edi
mov byte [esi + 8], 1
pop ebx
pop esi
leave
ret 8
Function at 0x4076e1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.00406a9b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406a50
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.00406a8b
pop eax
invalid

Function at 0x407922
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add bh, bh
xchg ebp, eax
sar ah, 0xff
dec dword [ecx + 0x4680845]
add dword [eax], eax
add byte [ebp - 0x3337b], cl
call dword [eax + 0x6a]
add bh, bh

Function at 0x40793b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
xchg ebp, eax
enter 0xfffffffffffffffa, 0xffffffffffffffff
call fcn.00406a8b
and al, 0xc4
and dword [eax - 0x22f5b], eax
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x12c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x12b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
and byte [ebp - 0x654], 0
movsd dword es:[edi], dword [esi]
lodsb al, byte [esi]
stc
invalid
inc dword [eax]
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x653]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
invalid
movsd dword es:[edi], dword [esi]

Function at 0x4079c3
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [esi - 0x55000004], edx
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.00406a9b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00406a50
add esp, 0xc
Function at 0x407e16
Capabilities:
Contain obfuscated stackstrings

Disassembly:
jne 0x407e2c
call fcn.00406a50
add esp, 0xc
mov dword [ebp - 0x6c8], eax
push 0
lea eax, [ebp - 0x6e0]
push eax
push dword [ebp - 0x378]
push dword [ebp - 4]
push dword [ebp - 0x66c]
call dword [ebp - 0x6c8]
mov dword [ebp - 0x6cc], eax
push dword [ebp - 0x66c]
call dword [ebp - 0x680]
cmp dword [ebp - 0x6cc], 0
je 0x408c1e
invalid
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.004069fc
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x407e98
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x407ee1
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x407e8b
call fcn.00406a8b
in al, 0x13
or dl, cl
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
invalid
test esi, ebx
clc
invalid
Function at 0x40b549
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
cmp dword [0x4150b0], 0
push ebx
push esi
push edi
mov edi, 0x400
jne 0x40b594
push 0x64
lea eax, [ebp - 0x12c]
push eax
push 0xf
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ax, word [ebp - 0x12c]
mov word [0x422240], ax
xor eax, eax
mov word [0x422242], ax
mov dword [0x4150b0], 0x422240
lea eax, [ebp - 0x64]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040ea91
mov ebx, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
push ebx
push esi
xor eax, eax
push 0x4150a0
mov word [esi], ax
lea eax, [ebp - 0x64]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
xor eax, eax
pop edi
mov word [esi + ebx*2 - 2], ax
pop esi
pop ebx
leave
ret 0x10

Function at 0x40b913
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push ebx
push esi
push edi
push 0x68
push dword [0x41c200]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp byte [0x41d314], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov dword [ebp - 4], edi
mov ebx, 0xb1
jne 0x40b975
mov ecx, dword [0x41b0d4]
call 0x406b16
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xffffffffffffffff
push 0
push ebx
push edi
call esi
push 0x413734
push 0
push 0xc2
push edi
call esi
mov byte [0x41d314], 1
mov edi, 0x5f5e100
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
lea eax, [ebp - 0x60]
push eax
push 0
push 0x43a
push dword [ebp - 4]
mov dword [ebp - 0x60], 0x5c
call esi
xor eax, eax
inc eax
cmp byte [ebp + 8], 0
mov byte [ebp - 0x47], 0
mov dword [ebp - 0x5c], eax
je 0x40b9c5
mov ecx, dword [ebp - 0x58]
and ecx, 0xbfffffff
or ecx, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x4c], 0xa0
mov dword [ebp - 0x5c], 0x40000001
lea ecx, [ebp - 0x60]
push ecx
push eax
push 0x444
push dword [ebp - 4]
call esi
push dword [ebp + 0xc]
push 0
push 0xc2
push dword [ebp - 4]
call esi
push edi
push edi
push ebx
push dword [ebp - 4]
call esi
cmp byte [ebp + 8], 0
je 0x40ba0f
mov eax, dword [ebp - 0x58]
and eax, 0xfffffffe
or eax, 0x40000000
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x60]
push eax
push 1
push 0x444
push dword [ebp - 4]
call esi
push 0x413758
push 0
push 0xc2
push dword [ebp - 4]
call esi
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x40c342
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2000
call fcn.00401200
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 8]
test ebx, ebx
je 0x40c35d
mov byte [ebx], 0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x40c367
mov byte [eax], 0
test edi, edi
je 0x40c410
movzx eax, word [edi]
test ax, ax
je 0x40c410
push esi
xor esi, esi
xor ecx, ecx
movzx eax, ax
inc edi
inc edi
cmp ax, 0x3d
jne 0x40c3a0
cmp dword [ebp + 0xc], 0
je 0x40c3ac
test esi, esi
jne 0x40c3ac
test ebx, ebx
je 0x40c39c
mov byte [ebx], 1
mov esi, edx
jmp 0x40c3bb
cmp ax, 0xd
je 0x40c3ce
cmp ax, 0xa
je 0x40c3d0
mov word [edx], ax
mov eax, dword [ebp + 0x14]
inc edx
add eax, 0xfffffffe
inc edx
cmp ecx, eax
jg 0x40c3c6
movzx eax, word [edi]
inc ecx
test ax, ax
jne 0x40c380
jmp 0x40c3d0
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
jmp 0x40c3d0
inc edi
inc edi
mov ebx, dword [ebp + 0xc]
xor eax, eax
mov word [edx], ax
test ebx, ebx
je 0x40c40b
mov word [ebx], ax
test esi, esi
je 0x40c40b
push 0x1000
lea eax, [ebp - 0x2000]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push dword [ebp + 0x14]
lea eax, [ebp - 0x2000]
push eax
push ebx
call fcn.0040ea67
xor eax, eax
mov word [esi], ax
mov eax, edi
pop esi
jmp 0x40c412
xor eax, eax
pop edi
pop ebx
leave
ret 0x10

Function at 0x40c67f
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
cmp byte [0x41c210], bl
je 0x40c6ff
cmp word [0x41b0d8], bx
je 0x40c6ff
push esi
push 0x41b0d8
lea esi, [ebp - 0x808]
call fcn.0040c644
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop esi
test eax, eax
jne 0x40c6ff
push dword [ebp + 8]
call fcn.0040b0af
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 4

Function at 0x40c704
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00401200
cmp byte [0x41c210], 0
je 0x40c7ab
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x100c]
call fcn.0040c644
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x40c7ab
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x100c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40c7a2
shr dword [ebp - 4], 1
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jae 0x40c786
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x80c], cx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call fcn.0040ea67
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8
Function at 0x40c8d3
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [0x41c0e6], 0
mov eax, dword [ebp + 0xc]
mov dword [0x41c0e8], eax
mov eax, dword [ebp + 0x10]
mov dword [0x41c0ec], eax
mov eax, dword [ebp + 0x14]
mov dword [0x41c0e0], eax
je 0x40c903
xor eax, eax
inc eax
jmp 0x40c92c
cmp byte [0x41c0e7], 0
je 0x40c911
push 2
pop eax
jmp 0x40c92c
push dword [ebp + 8]
push 0x40bae3
push dword [0x41c200]
push str.REPLACEFILEDLG
push dword [0x415e74]
call esi
dec eax
je 0x40c97e
dec eax
je 0x40c990
dec eax
je 0x40c977
dec eax
jne 0x40c95b
push dword [ebp + 8]
push 0x40be2f
push dword [0x41c200]
push str.RENAMEDLG
push dword [0x415e74]
call esi
test eax, eax
je 0x40c8dd
mov al, 0x52
jmp 0x40c98b
dec eax
je 0x40c96c
dec eax
mov al, 0x4e
jne 0x40c98b
mov byte [0x41c0e7], 1
jmp 0x40c98b
mov byte [0x41c1f2], 1
mov al, 0x43
jmp 0x40c98b
mov byte [0x41c0e6], 1
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 0x59
pop esi
pop ebp
ret 0x10
mov al, 0x4e
jmp 0x40c98b
Function at 0x10006410
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x100065a1
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4000]
push edi
or ebp, 0xffffffff
jmp 0x1000643a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x10006441
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x10006430
mov eax, 1
add ebx, ebx
jne 0x10006453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x10006448
jne 0x10006464
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10006448
xor ecx, ecx
sub eax, 3
jb 0x10006478
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x100064ea
mov ebp, eax
add ebx, ebx
jne 0x10006483
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x10006490
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x100064b4
inc ecx
add ebx, ebx
jne 0x100064a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x10006495
jne 0x100064b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x10006495
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x100064d4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x100064c5
jmp 0x10006436
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x100064d4
add edi, ecx
jmp 0x10006436
pop esi
lea edi, [esi + 0x4000]
mov eax, dword [edi]
or eax, eax
je 0x10006533
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6078]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x100064f1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x607c]
or eax, eax
je 0x1000652d
mov dword [ebx], eax
add ebx, 4
jmp 0x1000650e
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x10006564
cmp al, 0xef
ja 0x10006557
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x10006539
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x10006546
mov ebp, dword [esi + 0x6080]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x10006598
sub esp, 0xffffff80
jmp 0x10002fc1
Function at 0x408570
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x408592
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x408599
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x408588
mov eax, 1
add ebx, ebx
jne 0x4085ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4085a0
jne 0x4085bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4085a0
xor ecx, ecx
sub eax, 3
jb 0x4085d0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408642
mov ebp, eax
add ebx, ebx
jne 0x4085db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4085e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40860c
inc ecx
add ebx, ebx
jne 0x4085f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4085ed
jne 0x408609
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4085ed
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40862c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40861d
jmp 0x40858e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40862c
add edi, ecx
jmp 0x40858e
pop esi
mov edi, esi
mov ecx, 0x8b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40864a
cmp byte [edi], 0
jne 0x40864a
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 0x40864f
lea edi, [esi + 0x6000]
mov eax, dword [edi]
or eax, eax
je 0x4086be
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x808c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40867c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8090]
or eax, eax
je 0x4086b8
mov dword [ebx], eax
add ebx, 4
jmp 0x408699
call dword [esi + 0x8098]
mov ebp, dword [esi + 0x8094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x4086f2
sub esp, 0xffffff80
jmp 0x402f98
Function at 0x406c81
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x460114], 0
jne 0x406cbf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406c95
mov dword [ecx*4 + 0x460110], eax
inc ecx
cmp ecx, 0x100
jl 0x406c90
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406cec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x460110]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406ccd
not eax
pop ebp
ret 0xc

Function at 0x401004
Capabilities:
Parse pe header

Disassembly:
push 0x28
push 0x402070
call fcn.00401284
xor edi, edi
push edi
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
jne 0x40103f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40103f
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x401057
cmp eax, 0x20b
je 0x401044
mov dword [ebp - 0x1c], edi
jmp 0x40106b
cmp dword [ecx + 0x84], 0xe
jbe 0x40103f
xor eax, eax
cmp dword [ecx + 0xf8], edi
jmp 0x401065
cmp dword [ecx + 0x74], 0xe
jbe 0x40103f
xor eax, eax
cmp dword [ecx + 0xe8], edi
setne al
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], edi
push 1
call dword [0x402034]
pop ecx
or dword [0x402118], 0xffffffff
or dword [0x40211c], 0xffffffff
call dword [0x402030]
mov ecx, dword [0x402110]
mov dword [eax], ecx
call dword [0x40202c]
mov ecx, dword [0x40210c]
mov dword [eax], ecx
mov eax, dword [0x402048]
mov eax, dword [eax]
mov dword [0x402114], eax
call fcn.004011e0
call fcn.00401280
cmp dword [0x402064], edi
jne 0x4010cb
push fcn.00401280
call dword [0x402024]
pop ecx
call fcn.0040126e
push 0x402060
push 0x40205c
call fcn.00401268
push 0x401224
call fcn.004011ce
mov eax, dword [0x402108]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [0x402104]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x2c]
push eax
call dword [0x40201c]
add esp, 0x20
mov dword [ebp - 0x34], eax
cmp eax, edi
jge 0x40111f
push 8
call fcn.004011a2
pop ecx
push 0x402058
push 0x402054
call fcn.00401268
call dword [0x402014]
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
push dword [ebp - 0x20]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
call fcn.00401000
add esp, 0x14
mov esi, eax
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x1c], edi
jne 0x40115b
push esi
call dword [0x402010]
call dword [0x40200c]
jmp 0x401190
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.004012bf
ret
Function at 0x40380c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [0x487f00]
xor eax, esp
mov dword [esp + 0x1c], eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x30]
xor ebp, ebp
push edi
mov eax, dword [esi + 0x3c]
mov ebx, dword [eax + esi + 0x78]
add ebx, esi
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
add edi, esi
mov dword [esp + 0x10], eax
test eax, eax
je 0x403875
mov eax, dword [edi]
lea ecx, [esp + 0x14]
add eax, esi
push eax
call fcn.00402655
lea eax, [esp + 0x14]
push 0x235
push eax
call fcn.00406309
pop ecx
pop ecx
cmp eax, dword [esp + 0x38]
je 0x40388d
lea ecx, [esp + 0x14]
add edi, 4
call fcn.004053a0
inc ebp
cmp ebp, dword [esp + 0x10]
jb 0x40383d
xor edi, edi
mov ecx, dword [esp + 0x2c]
lea eax, [esi + edi]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00409f50
add esp, 0x20
ret
mov eax, dword [ebx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + esi]
mov eax, dword [ebx + 0x1c]
lea eax, [eax + ecx*4]
mov edi, dword [eax + esi]
lea ecx, [esp + 0x14]
call fcn.004053a0
jmp 0x403877

Function at 0x4067de
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov edi, dword fs:[0x30]
mov edi, dword [edi + 0xc]
mov esi, dword [edi + 0xc]
mov eax, dword [esi]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [0x489848], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0x27
push 0x487830
push 0x547
mov esi, 0x487858
push esi
call fcn.004038ab
push 1
push 0x427554
call fcn.00406896
add esp, 0x18
mov ecx, 0x489b50
push 0
call fcn.004031a4
push eax
call fcn.00402227
push 0x8aafdc01
push dword [0x489848]
call fcn.0040380c
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0x40
push 0x4e4
push esi
call eax
pop edi
pop esi
test eax, eax
je 0x406892
lea eax, [ebp - 0xc]
push 0x40663b
push eax
call fcn.004020fb
pop ecx
pop ecx
lea ecx, [ebp - 0xc]
call fcn.0040671a
mov ecx, dword [ebp - 0xc]
test ecx, ecx
je 0x406892
or eax, 0xffffffff
lock xadd dword [ecx + 4], eax
jne 0x406892
call fcn.0040407b
xor eax, eax
leave
ret
Function at 0x41c31c
Capabilities:
Read file on windows

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

Function at 0x41c716
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040acb0
mov eax, dword [0x487f00]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041a20e
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41c758
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x41c8b4
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.00425f10
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x48a500]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0041d4b5
mov ecx, dword [esi*4 + 0x48a500]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x41c8ad
cmp eax, dword [edi + ecx + 0x24]
jne 0x41c8ad
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41c8ad
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0041d4b5
add esp, 0x14
test edx, edx
jl 0x41c8ad
jg 0x41c823
test eax, eax
jb 0x41c8ad
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x41c8ad
jl 0x41c83d
cmp dword [ebp - 0x1008], eax
ja 0x41c8ad
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41c85b
test ebx, ebx
je 0x41c894
cmp ecx, edi
jae 0x41c894
mov al, byte [ecx]
cmp al, 0xd
jne 0x41c875
lea eax, [edi - 1]
cmp ecx, eax
jae 0x41c881
cmp byte [ecx + 1], 0xa
jne 0x41c881
inc ecx
jmp 0x41c881
movzx eax, al
movsx eax, byte [eax + 0x4881c8]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41c85b
cmp edx, ebx
jne 0x41c85b
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x41c8b2
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.00409f50
leave
ret