joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404510
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x441480]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
lea ecx, [ebp - 0x414]
push ecx
mov dword [ebp - 0x408], eax
mov ebx, edx
mov dword [ebp - 0x414], edi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x40455e
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00420bc6
mov esp, ebp
pop ebp
ret
push ebx
mov dword [ebp - 0x40c], edi
call fcn.004227e9
add esp, 4
cmp byte [0x444a85], 0
jne 0x404582
call fcn.004060f0
mov byte [0x444a85], 1
mov edx, dword [0x444b3c]
mov eax, dword [edx + 0x8c]
push edi
push edi
push edi
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edi, eax
mov dword [ebp - 0x418], edi
test edi, edi
je 0x40469b
push 1
push 0
push 3
push 0
push 0
push 0x50
push esi
push edi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
mov dword [ebp - 0x410], esi
test esi, esi
je 0x404694
mov eax, dword [ebp - 0x408]
push 1
push 0x400000
push 0
push 0
push 0
push eax
push 0x43c484
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
je 0x404687
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x404680
push 0x43c304
push ebx
mov dword [ebp - 0x40c], 1
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x40467a
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, edi
lea ecx, [ebp - 0x408]
push ecx
push 0x3ff
lea edx, [ebp - 0x404]
push edx
push edi
call ebx
test eax, eax
je 0x404671
mov eax, dword [ebp - 0x408]
test eax, eax
je 0x404671
push esi
push eax
mov byte [ebp + eax - 0x404], 0
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.004222be
add esp, 0x10
jmp 0x404630
push esi
call fcn.004226f5
add esp, 4
mov esi, dword [ebp - 0x410]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edi, dword [ebp - 0x418]
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x40c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00420bc6
mov esp, ebp
pop ebp
ret
Function at 0x4053d0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x288
mov dword [ebp - 4], 4
call fcn.00422819
mov esi, eax
add esp, 4
test esi, esi
jne 0x4053f4
pop esi
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push esi
call edi
cmp eax, 0x6f
jne 0x405419
mov ecx, dword [ebp - 4]
push ecx
call fcn.00422819
mov esi, eax
add esp, 4
test esi, esi
je 0x40548a
lea edx, [ebp - 4]
push edx
push esi
call edi
test eax, eax
jne 0x40547d
test esi, esi
je 0x40548a
push 0x10
call fcn.0041ff97
movzx ecx, byte [esi + 0x198]
movzx edx, byte [esi + 0x197]
mov edi, eax
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x196]
push ecx
movzx ecx, byte [esi + 0x195]
push edx
movzx edx, byte [esi + 0x194]
push eax
push ecx
push edx
push str._02X_02X_02X_02X_02X_02X
push edi
call fcn.00420bd5
push esi
call fcn.004214f1
add esp, 0x28
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x40548a
push esi
call fcn.004214f1
add esp, 4
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4054a0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x441480]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
lea eax, [ebp - 0x134]
push eax
push ebx
mov dword [ebp - 0x134], 0x128
call dword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x4055b1
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x4054e0
lea eax, [ebp - 0x110]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4054f0
sub eax, edx
inc eax
push eax
call fcn.0041ff97
mov esi, eax
lea eax, [ebp - 0x110]
mov edx, esi
mov ecx, eax
add esp, 4
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x405511
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405520
sub eax, edx
mov edx, eax
xor ecx, ecx
test edx, edx
jle 0x405546
mov al, byte [ecx + esi]
cmp al, 0x41
jl 0x405541
cmp al, 0x5a
jg 0x405541
add al, 0x20
mov byte [ecx + esi], al
inc ecx
cmp ecx, edx
jl 0x405531
mov ecx, dword [ebp + 8]
mov eax, esi
jmp 0x405550
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x405570
test dl, dl
je 0x40556c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x405570
add eax, 2
add ecx, 2
test dl, dl
jne 0x405550
xor eax, eax
jmp 0x405575
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x405592
mov edx, dword [ebp - 0x12c]
push edx
push eax
push 1
call edi
test eax, eax
je 0x405592
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.00420c59
add esp, 4
lea eax, [ebp - 0x134]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x4054e0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop esi
call fcn.00420bc6
mov esp, ebp
pop ebp
ret
Function at 0x4055d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push 0x184
push 0
push esi
xor bl, bl
call fcn.00429890
add esp, 0xc
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareClasses.exe_shellopencommand
push connect
mov dword [ebp - 8], 0x184
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [ebp - 4]
test eax, eax
je 0x405634
lea ecx, [ebp - 8]
push ecx
push esi
push 0
push 0
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40562a
mov bl, 1
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405f40
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp byte [0x444a84], 0
jne 0x405fec
push ebx
call fcn.004053d0
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x405f6d
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x405f64
sub eax, edx
add eax, 0x104
push eax
call fcn.0041ff97
add esp, 4
lea ecx, [ebp - 4]
push ecx
push eax
mov dword [0x444a58], eax
mov dword [ebp - 4], 0x100
call dword [sym.imp.KERNEL32.dll_GetComputerNameA]
test ebx, ebx
je 0x405fe4
mov ecx, dword [0x444a58]
push esi
push edi
lea edi, [ecx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x405fa1
mov dx, word [0x43c7b0]
mov eax, ebx
mov word [edi], dx
mov esi, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x405fb7
sub eax, esi
lea edi, [ecx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x405fc3
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
push ebx
rep movsb byte es:[edi], byte [esi]
call fcn.00420c59
add esp, 4
pop edi
pop esi
mov byte [0x444a84], 1
pop ebx
mov eax, dword [0x444a58]
mov esp, ebp
pop ebp
ret

Function at 0x406000
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0x43c2fc
push eax
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x4060e1
push ebx
push edi
push 2
push 0
push esi
call fcn.004225bb
push esi
call fcn.004224cc
mov edi, eax
push edi
call fcn.0041ff97
push 0
push 0
push esi
mov dword [ebp - 4], eax
call fcn.004225bb
add esp, 0x20
xor ebx, ebx
test edi, edi
jle 0x406076
lea ecx, [ecx]
push esi
call fcn.00420fbc
add esp, 4
test eax, eax
jne 0x406076
mov ecx, dword [ebp - 4]
push esi
push 1
lea edx, [ebx + ecx]
push 1
push edx
call fcn.004220ca
inc ebx
add esp, 0x10
cmp ebx, edi
jl 0x406050
push esi
call fcn.004226f5
add esp, 4
xor eax, eax
xor ecx, ecx
test edi, edi
jle 0x4060a2
cmp ecx, dword [ebp + 0x10]
jl 0x40608e
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov dl, byte [ecx + edx]
mov esi, dword [ebp - 4]
neg dl
xor byte [eax + esi], dl
inc eax
inc ecx
cmp eax, edi
jl 0x406087
mov eax, dword [ebp + 8]
push 0x43c304
push eax
call fcn.00421d73
mov esi, eax
add esp, 8
test esi, esi
je 0x4060d8
mov ecx, dword [ebp - 4]
push esi
push edi
push 1
push ecx
call fcn.004222be
push esi
call fcn.004226f5
add esp, 0x14
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408550
Capabilities:
Check if file exists

Disassembly:
push esi
push edi
push str.APPDATA
call fcn.00420d1e
add esp, 4
mov edi, eax
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408564
sub eax, edx
mov esi, eax
cmp byte [0x444a85], cl
jne 0x408583
call fcn.004060f0
mov byte [0x444a85], 1
mov eax, dword [0x444b3c]
mov eax, dword [eax + 0x90]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408591
sub eax, edx
lea ecx, [eax + esi + 0x10]
push ecx
call fcn.0041ff97
add esp, 4
cmp byte [0x444a85], 0
mov esi, eax
jne 0x4085be
call fcn.004060f0
mov byte [0x444a85], 1
mov edx, dword [0x444b3c]
mov eax, dword [edx + 0x90]
push eax
push edi
push 0x43c26c
push esi
call fcn.00420bd5
add esp, 0x10
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
pop edi
setne al
pop esi
ret

Function at 0x4085f0
Capabilities:
Check if file exists
Set file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x13c
mov eax, dword [0x441480]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
call fcn.00401330
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x40863a
push edi
call fcn.004232df
add esp, 4
push edi
call fcn.00401fe0
add esp, 4
push 6
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x408640
sub eax, edx
add eax, 8
push eax
call fcn.0041ff97
add esp, 4
push edi
mov esi, eax
push str._s
push esi
mov dword [esp + 0x20], esi
call fcn.00420bd5
add esp, 0xc
lea eax, [esp + 0x18]
push eax
push esi
call fcn.00422c32
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x408755
jmp 0x45ac28
push esi
call fcn.00420c59
add esp, 4
push edi
call fcn.00420c59
mov ecx, dword [esp + 0x148]
add esp, 4
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00420bc6
mov esp, ebp
pop ebp
ret
Function at 0x416510
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
cmp byte [esi + 0x6c], 0
jne 0x416640
cmp dword [esp + 0x10], 0
jbe 0x416640
push ebx
push ebp
push edi
jmp 0x416530
cmp byte [esi + 0x6c], 0
jne 0x41662a
mov ecx, dword [esp + 0x18]
movsx edi, byte [ecx]
mov eax, dword [esi + 0x10]
inc eax
and edi, 1
mov ecx, 0x18
sub ecx, eax
shl edi, cl
or edi, dword [esi + 0xc]
cmp eax, 8
jl 0x416624
mov ebp, eax
shr ebp, 3
mov edx, ebp
neg edx
lea eax, [eax + edx*8]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x70]
mov ebx, edi
sar ebx, 0x10
and ebx, 0xff
mov byte [ecx], bl
inc dword [esi + 0x70]
dec dword [esi + 0x74]
jne 0x4165c5
mov eax, dword [esi + 0x78]
mov ebp, dword [eax + 0x18]
mov edx, dword [ebp + 0xc]
push eax
call edx
add esp, 4
test al, al
jne 0x4165b5
mov eax, dword [esi + 0x78]
mov ecx, dword [eax]
mov dword [ecx + 0x14], 0x19
mov eax, dword [esi + 0x78]
mov edx, dword [eax]
push eax
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp]
mov dword [esi + 0x70], ecx
mov edx, dword [ebp + 4]
mov ebp, dword [esp + 0xc]
mov dword [esi + 0x74], edx
cmp ebx, 0xff
jne 0x416612
jmp 0x458ce8
shl edi, 8
dec ebp
mov dword [esp + 0xc], ebp
jne 0x416571
mov eax, dword [esp + 0x10]
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], eax
mov eax, 1
add dword [esp + 0x18], eax
sub dword [esp + 0x1c], eax
jne 0x416530
pop edi
pop ebp
pop ebx
add esp, 8
ret

Function at 0x420bc6
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x441480]
jne 0x420bd0
repz ret
jmp fcn.00425d71

Function at 0x42d139
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x42d160
call fcn.00426e1d
mov dword [eax], esi
call fcn.00426e0a
push 0x16
pop esi
mov dword [eax], esi
call fcn.00426db8
mov eax, esi
jmp 0x42d1b5
test dword [ebp + 0xc], 0xfffffff9
jne 0x42d146
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42d18d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00426e30
pop ecx
call fcn.00426e0a
mov eax, dword [eax]
jmp 0x42d1b5
test al, 0x10
jne 0x42d1b3
test al, 1
je 0x42d1b3
test byte [ebp + 0xc], 2
je 0x42d1b3
call fcn.00426e1d
mov dword [eax], 5
call fcn.00426e0a
mov dword [eax], 0xd
jmp 0x42d184
xor eax, eax
pop esi
pop ebp
ret
Function at 0x433a01
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x441480]
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.00426e53
and dword [ebp - 0x14], 0
cmp dword [0x444984], 0
mov dword [ebp - 0x18], eax
jne 0x433ab4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x433b5c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x433b5c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x444984], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x444988], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x44498c], eax
call edi
push eax
call esi
mov dword [0x444994], eax
test eax, eax
je 0x433ab4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x444990], eax
mov eax, dword [0x444990]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x433b0d
cmp dword [0x444994], ecx
je 0x433b0d
push eax
call esi
push dword [0x444994]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x433b0d
test ebx, ebx
je 0x433b0d
call edi
test eax, eax
je 0x433b04
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x433b04
test byte [ebp - 8], 1
jne 0x433b0d
or dword [ebp + 0x10], 0x200000
jmp 0x433b40
mov eax, dword [0x444988]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x433b40
mov eax, dword [0x44498c]
cmp eax, dword [ebp - 0x18]
je 0x433b40
push eax
call esi
test eax, eax
je 0x433b40
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x444984]
call esi
test eax, eax
je 0x433b5c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x433b5e
xor eax, eax
mov ecx, dword [ebp - 4]
jmp 0x45b010
Function at 0x41a800
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
jmp 0x41a81a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41a821
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41a810
mov eax, 1
add ebx, ebx
jne 0x41a833
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41a828
jne 0x41a844
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a828
xor ecx, ecx
sub eax, 3
jb 0x41a858
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41a8ca
mov ebp, eax
add ebx, ebx
jne 0x41a863
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41a870
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41a894
inc ecx
add ebx, ebx
jne 0x41a880
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41a875
jne 0x41a891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41a875
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41a8b4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41a8a5
jmp 0x41a816
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41a8b4
add edi, ecx
jmp 0x41a816
pop esi
mov edi, esi
mov ecx, 0x641
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41a8d2
cmp byte [edi], 0xb
jne 0x41a8d2
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 0x41a8d7
lea edi, [esi + 0x16000]
mov eax, dword [edi]
or eax, eax
je 0x41a94f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1adc0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1aed8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41a904
mov ecx, edi
jns 0x41a933
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 + 0x1aedc]
or eax, eax
je 0x41a949
mov dword [ebx], eax
add ebx, 4
jmp 0x41a921
call dword [esi + 0x1aeec]
mov ebp, dword [esi + 0x1aee0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x41a983
sub esp, 0xffffff80
jmp 0x40fd88
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x414460
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 0x414498
xor ecx, ecx
nop
mov edx, dword [eax + 0xc]
cmp edx, ebx
ja 0x41448e
add edx, dword [eax + 8]
cmp ebx, edx
jb 0x41449a
add ecx, 1
add eax, 0x28
cmp ecx, esi
jne 0x414480
xor eax, eax
pop ebx
pop esi
ret
Function at 0x408898
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42b7a4], 0
push ebp
mov ebp, esp
push esi
push ebx
mov edx, dword [ebp + 0xc]
je 0x4088b5
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
not eax
add ebx, edx
jmp 0x4088e3
xor ecx, ecx
mov eax, ecx
mov ebx, 8
mov esi, eax
and eax, 1
neg eax
shr esi, 1
and eax, 0xedb88320
xor eax, esi
dec ebx
jne 0x4088be
mov dword [ecx*4 + 0x42b7a0], eax
inc ecx
cmp ecx, 0x100
jne 0x4088b7
jmp 0x4088a9
cmp edx, ebx
je 0x4088fc
inc edx
mov cl, al
shr eax, 8
xor cl, byte [edx - 1]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x42b7a0]
jmp 0x4088e3
pop ebx
not eax
pop esi
pop ebp
ret 0xc

Function at 0x401318
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
mov eax, 0xa1f8
call fcn.00401a0c
call fcn.00401800
lea edi, [ebp - 0xa1e8]
mov esi, 0x403040
mov ecx, 0x2874
rep movsd dword es:[edi], dword [esi]
call sub.KERNEL32.dll_FreeConsole
lea esi, [ebp - 0xa1e8]
mov ebx, dword [ebp - 0x418]
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], 0x52e8
mov dword [esp], 0
call sub.KERNEL32.dll_VirtualAlloc
sub esp, 0x10
mov dword [ebp - 0xa1ec], eax
lea edi, [ebp - 0x418]
mov edx, eax
mov cl, byte [esi]
mov byte [edx], cl
inc edx
add esi, 2
cmp esi, edi
jne 0x401390
mov edx, dword [ebp - 0xa1ec]
add edx, 0x4ee8
mov ecx, 0x100
mov edi, edx
rep movsd dword es:[edi], dword [esi]
lea esi, [esi]
xor dword [eax], ebx
add ebx, 0x499602d2
add eax, 4
cmp eax, edx
jne 0x4013b4
call dword [ebp - 0xa1ec]
xor eax, eax
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
leave
lea esp, [ecx - 4]
ret
Function at 0x4114f7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x411536
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x411536
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x411536
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x411536
cmp dword [ecx + 0x74], 0xe
jbe 0x411536
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x41d7d6
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4341e0
push 0x4341d8
push str.FlsAlloc
push 0x1e
call fcn.0041d643
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d80a
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f16c]
call esi
jmp 0x41d810
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41d854
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4341f0
push 0x4341e8
push str.FlsGetValue
push 0x20
call fcn.0041d643
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41d88b
push dword [ebp + 8]
mov ecx, esi
call dword [0x42f16c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x401000
Capabilities:
Encode data using xor

Disassembly:
push ebx
sub esp, 0x44
mov eax, 0x401023
mov ecx, 0
mov bl, byte [eax]
add bl, 0x38
mov byte [eax], bl
add eax, 1
add ecx, 1
cmp ecx, 0xd137
jne 0x40100e
or al, 0xc8
or eax, ecx
or eax, 0x52c8c8c8
loopne 0x401078
mov esp, dword [eax + edx*2]
loopne 0x401080
mov ecx, ecx
dec ebx
mov cl, cl
dec ecx
rol edi, 0xef
enter 0x3dc8, 0xffffffffffffffb3
or al, 0xd8
or al, cl
or dword [ebx + 0x518b8b8b], 0xffffffe0
sbb byte [ebp + 0x4bc808a2], 0x88
enter 0xffffffffffff8c4b, 0xc
invalid
not dword [ecx - 0x74de3738]
and dword [eax - 0x4e37f611], 0xc8c86da6
mov al, 0xcd
out dx, eax
or eax, ecx
mov cl, 0xa6
insd dword es:[edi], dx
enter 0xffffffffffffb0c8, 0xffffffffffffffcd
enter 0xffffffffffffc8c8, 0xffffffffffffffb1
ror al, cl
enter 0xffffffffffff81c8, 0xffffffffffffffd0
invalid