joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
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 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
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 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x594310
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.data
lea edi, [esi - 0xf7000]
mov dword [edi + 0x189894], 0x4fb81b6b
push edi
or ebp, 0xffffffff
jmp 0x59433a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x594341
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x594330
mov eax, 1
add ebx, ebx
jne 0x594353
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x594364
jne 0x594383
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x594383
dec eax
add ebx, ebx
jne 0x594370
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x594348
add ebx, ebx
jne 0x59437f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5943d5
xor ecx, ecx
sub eax, 3
jb 0x59439b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59440a
sar eax, 1
mov ebp, eax
jmp 0x5943a6
add ebx, ebx
jne 0x5943a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x594374
inc ecx
add ebx, ebx
jne 0x5943b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x594374
add ebx, ebx
jne 0x5943c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5943b6
jne 0x5943d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5943b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5943f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5943e6
jmp 0x594336
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5943f4
add edi, ecx
jmp 0x594336
pop esi
mov edi, esi
mov ecx, 0x67ed
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x594412
cmp byte [edi], 0x11
jne 0x594412
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 0x594417
lea edi, [esi + 0x191000]
mov eax, dword [edi]
or eax, eax
je 0x59448f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1957d0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x195870]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x594444
mov ecx, edi
jns 0x594473
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 + 0x195874]
or eax, eax
je 0x594489
mov dword [ebx], eax
add ebx, 4
jmp 0x594461
call dword [esi + 0x195878]
popal
jmp 0x4bc86b
Function at 0x4c8620
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7e000]
push edi
jmp 0x4c863a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4c8641
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8630
mov eax, 1
add ebx, ebx
jne 0x4c8653
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4c8664
jne 0x4c8683
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8683
dec eax
add ebx, ebx
jne 0x4c8670
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4c8648
add ebx, ebx
jne 0x4c867f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4c86d5
xor ecx, ecx
sub eax, 3
jb 0x4c869b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4c870a
sar eax, 1
mov ebp, eax
jmp 0x4c86a6
add ebx, ebx
jne 0x4c86a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8674
inc ecx
add ebx, ebx
jne 0x4c86b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4c8674
add ebx, ebx
jne 0x4c86c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4c86b6
jne 0x4c86d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4c86b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4c86f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4c86e6
jmp 0x4c8636
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4c86f4
add edi, ecx
jmp 0x4c8636
pop esi
mov edi, esi
mov ecx, 0x3b1d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4c8712
cmp byte [edi], 0x11
jne 0x4c8712
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 0x4c8717
lea edi, [esi + 0xc5000]
mov eax, dword [edi]
or eax, eax
je 0x4c878f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdc14c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdc250]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4c8744
mov ecx, edi
jns 0x4c8773
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 + 0xdc254]
or eax, eax
je 0x4c8789
mov dword [ebx], eax
add ebx, 4
jmp 0x4c8761
call dword [esi + 0xdc264]
mov ebp, dword [esi + 0xdc258]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x4c87c3
sub esp, 0xffffff80
jmp 0x45d6ef
Function at 0x1002408
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003040]
jne 0x1002419
test ecx, 0xffff0000
jne 0x1002419
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x1003150], eax
mov dword [0x100314c], ecx
mov dword [0x1003148], edx
mov dword [0x1003144], ebx
mov dword [0x1003140], esi
mov dword [0x100313c], edi
mov word [0x1003168], ss
mov word [0x100315c], cs
mov word [0x1003138], ds
mov word [0x1003134], es
mov word [0x1003130], fs
mov word [0x100312c], gs
pushfd
pop dword [0x1003160]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x1003164], ecx
mov dword [0x1003158], eax
mov dword [0x10030a0], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x100305c], eax
mov eax, dword [0x1003040]
xor edi, edi
mov dword [0x1003154], ecx
mov dword [0x1003050], 0xc0000409
inc edi
mov dword [0x1003054], edi
mov dword [ebp - 4], eax
mov eax, dword [0x1003044]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10024fc
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405e40
Capabilities:
Query environment variable

Disassembly:
push esi
push edi
mov ecx, 0x80
xor eax, eax
mov edi, 0x432660
push 0x1ff
push 0x432660
push str.userprofile
rep stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov edi, str.login.log
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, 0x432660
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov eax, 0x432660
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
ret

Function at 0x405ea0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x100
push ebx
call fcn.00405e40
mov ebx, dword [esp + 0x108]
push eax
mov ecx, ebx
call fcn.00407a50
test eax, eax
je 0x405f34
push str.c:login.log
mov ecx, ebx
call fcn.00407a50
test eax, eax
je 0x405f34
push ebp
push esi
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x10]
push eax
push 0xff
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
mov edi, str.__login.log
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, ebx
call fcn.00407a50
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x100
ret
Function at 0x4065c0
Capabilities:
Create udp socket
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x42534b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x62c
push ebx
push ebp
mov ebp, dword [esp + 0x64c]
push esi
push edi
lea eax, [esp + 0x3c]
push 0x9352
lea ecx, [esp + 0x14]
push eax
xor ebx, ebx
push ecx
push ebp
mov dword [esp + 0x20], ebx
call fcn.004069b0
mov esi, eax
add esp, 0x10
cmp esi, ebx
jge 0x40661d
push esi
push str.ERR:Encrypt_message_failed__ret:__d_n
call fcn.00407b20
add esp, 8
jmp 0x4067e7
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
mov dword [esp + 0x28], eax
lea edx, [esp + 0x2c]
push edx
call fcn.00408a50
mov eax, dword [esp + 0x34]
add esp, 4
cmp eax, ebx
je 0x406742
cmp dword [ebp + 0xa0], eax
je 0x406742
push eax
call sub.WS2_32.dll_inet_ntoa
mov edx, eax
mov al, byte [esp + 0x17]
mov byte [esp + 0x18], al
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
lea ecx, [esp + 0x20]
call fcn.00404520
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x644], ebx
cmp eax, ebx
jne 0x406698
mov eax, 0x4271ac
push eax
push str.IP_change_to__s__send_logon_info_again_n
call fcn.00407b20
mov eax, dword [esp + 0x654]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push ebp
push edx
push eax
mov dword [ebp + 0xa0], ecx
call fcn.00406800
add esp, 0x14
test eax, eax
jne 0x4067b6
push str.IP_change__kick_user_success__n
call fcn.00407b20
lea ecx, [esp + 0x40]
push 0x9352
lea edx, [esp + 0x18]
push ecx
push edx
push ebp
call fcn.004069b0
mov esi, eax
add esp, 0x14
cmp esi, ebx
jl 0x40678e
push 0x3a98
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x644], 0xffffffff
cmp ecx, ebx
je 0x406731
mov al, byte [ecx - 1]
cmp al, bl
je 0x406727
cmp al, 0xff
je 0x406727
dec al
mov byte [ecx - 1], al
jmp 0x406731
dec ecx
push ecx
call fcn.0040a3f2
add esp, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
jmp 0x40662c
push str.Send_heart_boom_message_to_ac__n
call fcn.00407b20
mov eax, dword [esp + 0x650]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
add esp, 4
push 0x10
push eax
push ebx
push esi
push ecx
push edx
call sub.WS2_32.dll_sendto
mov esi, eax
cmp esi, ebx
jg 0x40677e
push esi
push str.ERR:Send_hear_message_failed_ret:__d
call fcn.00407b20
add esp, 8
push 0x7530
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40662c
push esi
push str.ERR:Encrypt_message_failed__ret:__d_n
call fcn.00407b20
mov ecx, dword [esp + 0x24]
add esp, 8
cmp ecx, ebx
je 0x4067e7
mov al, byte [ecx - 1]
cmp al, bl
je 0x4067dd
cmp al, 0xff
je 0x4067dd
dec al
mov byte [ecx - 1], al
jmp 0x4067e7
push str.IP_change__kick_user_failed__n
call fcn.00407b20
mov ecx, dword [esp + 0x20]
add esp, 4
cmp ecx, ebx
je 0x4067e7
mov al, byte [ecx - 1]
cmp al, bl
je 0x4067dd
cmp al, 0xff
je 0x4067dd
dec al
mov byte [ecx - 1], al
jmp 0x4067e7
dec ecx
push ecx
call fcn.0040a3f2
add esp, 4
mov ecx, dword [esp + 0x63c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x638
ret
Function at 0x406800
Capabilities:
Create udp socket
Get socket status
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x714
push ebx
push ebp
push esi
mov esi, dword [esp + 0x72c]
push edi
lea eax, [esp + 0x124]
push 0x9351
lea ecx, [esp + 0x14]
push eax
push ecx
push esi
mov dword [esp + 0x20], 0
call fcn.004069b0
mov edi, eax
add esp, 0x10
test edi, edi
jge 0x406856
push edi
push str.ERR:Encrypt_message_failed__ret:__d_n
call fcn.00407b20
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x714
ret
mov eax, dword [0x42d9d4]
mov ebp, 1
cmp eax, ebp
jl 0x406927
mov ebx, dword [esp + 0x728]
add esi, 0x40
mov dword [esp + 0x14], esi
mov edx, dword [esp + 0x14]
push edx
push ebp
push str.Send_message_to_AC___d_..._user:__s_n
call fcn.00407b20
add esp, 0xc
push 0x11
push 2
push 2
call sub.WS2_32.dll_socket
push 0x10
mov esi, eax
mov eax, dword [esp + 0x14]
push ebx
push 0
push edi
push eax
push esi
call sub.WS2_32.dll_sendto
mov edi, eax
test edi, edi
jle 0x40693b
lea ecx, [esp + 0x18]
lea edx, [esp + 0x20]
push ecx
push 0
push 0
lea eax, [esi + 1]
push edx
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], 1
mov dword [esp + 0x2c], 5
mov dword [esp + 0x30], 0
call sub.WS2_32.dll_select
test eax, eax
jle 0x4068f4
mov ecx, dword [0x42d9d8]
test ecx, ecx
jne 0x406957
test eax, eax
jge 0x406913
mov eax, dword [0x433044]
push eax
push eax
call fcn.0040b008
add esp, 4
push eax
push str.ERR:_s__ERR_NO:_d
call fcn.00407b20
add esp, 0xc
push esi
call sub.WS2_32.dll_closesocket
mov eax, dword [0x42d9d4]
inc ebp
cmp ebp, eax
jle 0x406876
mov eax, dword [0x42d9d8]
pop edi
neg eax
pop esi
pop ebp
sbb eax, eax
pop ebx
add esp, 0x714
ret
push edi
push str.ERR:Send_login_message_failed_ret:__d
call fcn.00407b20
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x714
ret
push 0
push 0
push 0
lea ecx, [esp + 0x130]
push 0x400
push ecx
push esi
call sub.WS2_32.dll_recvfrom
test eax, eax
jle 0x406996
lea edx, [esp + 0x124]
push 0x28d
push edx
push str.Reply:_s__d__n
mov byte [esp + eax + 0x130], 0
call fcn.00407b20
add esp, 0xc
push esi
call sub.WS2_32.dll_closesocket
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x714
ret

Function at 0x4088c0
Capabilities:
Get hostname
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push eax
push 0x202
call sub.WS2_32.dll_WSAStartup
mov esi, eax
test esi, esi
je 0x408906
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sub.WS2_32.dll_WSAGetLastError
push eax
push 0xea
push str._nError_LINE:_d__ErrNo:_u_LastErr:_d_Ret:_d_n
call fcn.00407b20
add esp, 0x14
mov eax, esi
pop esi
add esp, 0x190
ret
mov ecx, dword [esp + 0x19c]
mov edx, dword [esp + 0x198]
push ecx
push edx
call sub.WS2_32.dll_gethostname
test eax, eax
je 0x408940
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call sub.WS2_32.dll_WSAGetLastError
push eax
push 0xf0
push str._nError_LINE:_d__ErrNo:_u_LastErr:_d_Ret:_d_n
call fcn.00407b20
add esp, 0x14
xor eax, eax
pop esi
add esp, 0x190
ret
Function at 0x408950
Capabilities:
Query environment variable

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x100
push ebx
push esi
mov esi, str.seclogon
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x408989
test cl, cl
je 0x408985
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x408989
add eax, 2
add esi, 2
test cl, cl
jne 0x408961
xor eax, eax
jmp 0x40898e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x4089a0
pop esi
mov eax, 3
pop ebx
add esp, 0x100
ret
mov esi, dword [esp + 0x10c]
push str.BUILTIN
push esi
call fcn.0041eea0
add esp, 8
test eax, eax
je 0x4089da
mov eax, dword [esp + 0x110]
push esi
push eax
call fcn.0041eea0
add esp, 8
neg eax
sbb eax, eax
pop esi
add eax, 2
pop ebx
add esp, 0x100
ret
push edi
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
push 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x10]
push ecx
push str.userdomain
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea edx, [esp + 0xc]
push edx
call fcn.0041edfc
add esp, 4
push eax
push str.userdomain_s_n
call fcn.00407b20
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.0041eea0
add esp, 0x10
neg eax
sbb eax, eax
pop edi
pop esi
add eax, 2
pop ebx
add esp, 0x100
ret
Function at 0x408a50
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Initialize winsock library

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42543b
push eax
mov dword fs:[0], esp
sub esp, 0x1b8
lea eax, [esp + 0x28]
push ebx
push eax
push 0x101
call sub.WS2_32.dll_WSAStartup
xor ebx, ebx
cmp eax, ebx
je 0x408a93
push 0x1c6
push str.ERR:WSAStartup_failed__ERR_NO:_d_n
call fcn.00407b20
add esp, 8
mov ax, word [esp + 0x2c]
cmp al, 1
jne 0x408aa4
xor ecx, ecx
mov cl, ah
cmp cl, al
je 0x408abb
call sub.WS2_32.dll_WSACleanup
push 0x1cc
push str.ERR:Init_socket_failed__ERR_NO:_d_n
call fcn.00407b20
add esp, 8
push ebp
push esi
push edi
push ebx
push 2
push 2
call sub.WS2_32.dll_socket
push str.202.96.137.75
mov esi, eax
call sub.WS2_32.dll_inet_addr
push 0x1f90
mov dword [esp + 0x30], eax
mov word [esp + 0x2c], 2
call sub.WS2_32.dll_htons
lea edx, [esp + 0x28]
push 0x10
push edx
push esi
mov word [esp + 0x36], ax
call sub.WS2_32.dll_connect
mov ebp, dword [esp + 0x1d8]
push ebx
mov word [ebp], 2
lea edi, [ebp + 4]
call sub.WS2_32.dll_htonl
mov dword [edi], eax
lea eax, [esp + 0x24]
push eax
push ebp
push esi
mov dword [esp + 0x30], 0x10
call sub.WS2_32.dll_getsockname
cmp eax, 0xffffffff
jne 0x408b3e
push 0x1dd
push str.ERR:_Getsockname_failed__ERR_NO:_d_n
call fcn.00407b20
add esp, 8
push esi
call sub.WS2_32.dll_closesocket
push edi
call fcn.00408c20
mov ecx, dword [edi]
add esp, 4
push ecx
call sub.WS2_32.dll_inet_ntoa
mov dl, byte [esp + 0x13]
mov esi, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov byte [esp + 0x14], dl
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x18]
push ebp
call fcn.00404660
test al, al
je 0x408ba8
mov edi, dword [esp + 0x18]
mov ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x1c], ebp
mov byte [ecx + ebp], bl
mov eax, dword [esp + 0x18]
pop edi
pop esi
cmp eax, ebx
mov dword [esp + 0x1c8], ebx
pop ebp
jne 0x408bbf
mov eax, 0x4271ac
push eax
push str.SelfIP:_s_n
call fcn.00407b20
mov ecx, dword [esp + 0x14]
add esp, 8
cmp ecx, ebx
je 0x408c05
mov al, byte [ecx - 1]
cmp al, bl
je 0x408bfb
cmp al, 0xff
je 0x408bfb
dec al
pop ebx
mov byte [ecx - 1], al
mov ecx, dword [esp + 0x1b8]
mov dword fs:[0], ecx
add esp, 0x1c4
ret
dec ecx
push ecx
call fcn.0040a3f2
add esp, 4
mov ecx, dword [esp + 0x1bc]
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c4
ret
Function at 0x419a20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.IaDsgWGk
lea edi, [esi - 0x10000]
push edi
or ebp, 0xffffffff
jmp 0x419a42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419a49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419a38
mov eax, 1
add ebx, ebx
jne 0x419a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419a50
jne 0x419a6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a50
xor ecx, ecx
sub eax, 3
jb 0x419a80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419af2
mov ebp, eax
add ebx, ebx
jne 0x419a8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419a98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419abc
inc ecx
add ebx, ebx
jne 0x419aa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419a9d
jne 0x419ab9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419a9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419adc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419acd
jmp 0x419a3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419adc
add edi, ecx
jmp 0x419a3e
pop esi
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419b44
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x199f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19a74]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419af9
mov ecx, edi
jns 0x419b28
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 + 0x19a7c]
or eax, eax
je 0x419b3e
mov dword [ebx], eax
add ebx, 4
jmp 0x419b16
call dword [esi + 0x19a78]
mov ebp, dword [esi + 0x19a80]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
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 0x419b78
sub esp, 0xffffff80
jmp section.VHqxTUpa

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x408e84
nop
mov ecx, 0x2edf5285
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
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
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x2daa5e91
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x430084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219