joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42ee90
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
call fcn.00405a70
lea eax, [ebp - 0x2c]
mov ecx, eax
lea eax, [ebp - 0x44]
mov edx, eax
mov eax, 1
call fcn.00404e40
call fcn.00404f40
push eax
test eax, eax
jne 0x42efc2
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
test eax, eax
jne 0x42eedf
jmp 0x42eee4
jmp 0x42efc2
mov ebx, dword [ebp - 0xc]
lea edx, [ebx + 0xc]
mov eax, edx
call fcn.00404f70
mov dword [ebx + 0xc], 0
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x10], 0
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 0xc]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x42ef1f
jmp 0x42ef2c
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
jmp 0x42efc2
mov cl, 0
mov eax, 0x10
lea ebx, [ebp - 0x20]
mov edx, eax
mov eax, ebx
call fcn.00401f00
mov word [ebp - 0x20], 2
movzx eax, word [ebp - 8]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x1e], ax
mov eax, dword [ebp - 4]
test eax, eax
jne 0x42ef5f
mov eax, 0x43b790
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x1c], eax
push 0x10
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
call sub.wsock32.dll_connect
test eax, eax
jne 0x42ef7f
jmp 0x42ef9e
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
push dword [eax + 8]
call sub.wsock32.dll_closesocket
mov eax, dword [ebp - 0xc]
mov dword [eax + 8], 0
jmp 0x42efc2
mov eax, dword [ebp - 4]
call fcn.00405a70
mov ebx, dword [ebp - 0xc]
lea edx, [ebx + 0xc]
mov eax, edx
call fcn.00404f70
mov eax, dword [ebp - 4]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov dword [eax + 0x10], edx
call fcn.00405040
lea edx, [ebp - 4]
mov eax, edx
call fcn.00404f70
mov dword [ebp - 4], 0
pop eax
test eax, eax
je 0x42efe2
call fcn.004050d0
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x4c]
leave
ret

Function at 0x42fea0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], edx
mov dword [ebp - 8], ecx
jmp 0x42feff
push 0
push dword [ebp - 8]
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
call sub.wsock32.dll_send
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0xffffffff
je 0x42fed5
jmp 0x42fef0
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2733
je 0x42fee3
jmp 0x42feec
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 1
jmp 0x42feee
jmp 0x42ff15
jmp 0x42feff
mov eax, dword [ebp - 0x10]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 4]
add eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x42ff0b
jmp 0x42ff15
mov eax, dword [ebp - 8]
cmp eax, 0
ja 0x42feb4
jmp 0x42ff15
leave
ret
Function at 0x430090
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], eax
mov word [ebp - 4], dx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x4300ac
jmp 0x4300b1
jmp 0x430154
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 0xc]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax + 0x10], 0
mov word [ebp - 0x1c], 2
movzx eax, word [ebp - 4]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x1a], ax
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4300e9
mov eax, 0x43b790
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x18], eax
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
call sub.wsock32.dll_connect
test eax, eax
jne 0x430109
jmp 0x430120
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
call sub.wsock32.dll_closesocket
mov eax, dword [ebp - 0xc]
mov dword [eax + 0xc], 0
jmp 0x430154
push 0x23
push 0x400
push dword [0x43b7d0]
mov eax, dword [ebp - 0xc]
push dword [eax + 0xc]
call sub.wsock32.dll_WSAAsyncSelect
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x24], 0
jne 0x430143
jmp 0x430154
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ecx + 0x24]
call ecx
leave
ret

Function at 0x430200
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1b8
mov eax, dword [0x43b7d0]
cmp eax, 0
ja 0x430215
jmp 0x430217
jmp 0x43028d
lea eax, [ebp - 0x1b8]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov edx, 0x28
lea eax, [ebp - 0x28]
call fcn.0041aa80
mov eax, 0x430330
mov dword [ebp - 0x24], eax
mov eax, dword [str.TSocket]
mov dword [ebp - 4], eax
mov eax, dword [0x43a800]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_RegisterClassA
push 0
push dword [0x43a800]
push 0
push 0
push 0
push 0
push 0
push 0
push 0x80000000
push 0
push dword [ebp - 4]
push pe_nt_image_headers32
call sub.user32.dll_CreateWindowExA
mov dword [0x43b7d0], eax
call fcn.00402df0
mov dword [0x43b7e0], eax
leave
ret
Function at 0x432f60
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ebp - 0x18], edx
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
mov eax, dword [0x43a750]
test eax, eax
je 0x432f85
jmp 0x433025
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [0x43a740]
mov dword [eax], edx
mov ecx, 2
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, 0x4394e0
call fcn.00401f20
mov edx, 0x433090
mov eax, dword [ebp - 0xc]
lea eax, [eax + 5]
call fcn.004330c0
mov edx, dword [ebp - 0xc]
mov dword [edx + 6], eax
mov eax, dword [ebp - 0xc]
lea eax, [eax + 0xa]
mov dword [ebp - 0x10], eax
mov esi, esi
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xe8
mov eax, dword [ebp - 0xc]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x10]
call fcn.004330c0
mov edx, dword [ebp - 0x10]
mov dword [edx + 1], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [0x43a750]
mov dword [eax + 5], edx
mov eax, dword [ebp - 0x10]
mov dword [0x43a750], eax
add dword [ebp - 0x10], 0xd
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0xc]
cmp eax, 0x52b
jge 0x43301d
jmp 0x432fdc
mov eax, dword [ebp - 0xc]
mov dword [0x43a740], eax
mov eax, dword [0x43a750]
mov dword [ebp - 8], eax
mov eax, dword [0x43a750]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 5]
mov dword [0x43a750], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0x14]
mov dword [edx + 9], eax
mov eax, dword [ebp - 8]
leave
ret
Function at 0x406260
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x4000]
push edi
jmp 0x40627a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x406281
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x406270
mov eax, 1
add ebx, ebx
jne 0x406293
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x406288
jne 0x4062a4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x406288
xor ecx, ecx
sub eax, 3
jb 0x4062b8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40632a
mov ebp, eax
add ebx, ebx
jne 0x4062c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4062d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4062f4
inc ecx
add ebx, ebx
jne 0x4062e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4062d5
jne 0x4062f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4062d5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x406314
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x406305
jmp 0x406276
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x406314
add edi, ecx
jmp 0x406276
pop esi
mov edi, esi
mov ecx, 0x67
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x406332
cmp byte [edi], 1
jne 0x406332
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 0x406337
lea edi, [esi + 0x4000]
mov eax, dword [edi]
or eax, eax
je 0x4063a6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x6000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x6064]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x406364
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x6068]
or eax, eax
je 0x4063a0
mov dword [ebx], eax
add ebx, 4
jmp 0x406381
call dword [esi + 0x6078]
mov ebp, dword [esi + 0x606c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x4063da
sub esp, 0xffffff80
jmp 0x4023ab

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x430005
Capabilities:
Encode data using xor

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408e54
nop
mov ecx, 0x4da909f0
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
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
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x3f656833
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x411d10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x417920], ecx
add edx, 1
cmp edx, 0x100
jb 0x411d12
cmp edx, 0x800
jae 0x411dfb
mov edi, edi
mov eax, dword [edx*4 + 0x417520]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x417920]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x41791c], eax
jb 0x411dd0
mov dword [0x41790c], 0x412450
call fcn.00411f40
test eax, eax
jne 0x411e18
mov dword [0x41790c], 0x412370
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x5808483e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x62d874e4
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4afce4
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffb4
mov dword [esp], eax
lea esi, [esp + 0x30]
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edi, dword [esp]
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
jmp 0x4afda3
cmp dword [esi + 0x10], 0x1000
jne 0x4afd8f
test byte [esi + 0x15], 1
jne 0x4afd8f
mov byte [esp + 4], 0
mov ebp, dword [esi + 0x14]
cmp ebp, 1
je 0x4afd40
cmp ebp, 2
je 0x4afd40
cmp ebp, 0x10
je 0x4afd40
cmp ebp, 0x20
jne 0x4afd5c
lea eax, [esp + 8]
push eax
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4afd5c
mov byte [esp + 4], 1
xor ebx, ebx
jmp 0x4afd6d
mov eax, dword [esi]
add eax, ebx
call fcn.004afcdc
add ebx, dword [esp + 0x10]
cmp ebx, dword [esi + 0xc]
jb 0x4afd60
cmp byte [esp + 4], 0
je 0x4afd8f
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 0xc]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov edi, eax
push 0x1c
push esi
push edi
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x4afdaf
mov eax, dword [esi + 4]
cmp eax, dword [esp]
je 0x4afd15
add esp, 0x4c
pop ebp
pop edi
pop esi
pop ebx
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x559f2e73
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x430060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
je 0x4300d2
nop
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x474c0c91
nop
nop
nop
xor dword [eax], esi
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x1000129b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x100012b2
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x100012e7
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x100012e3
cmp edi, eax
jae 0x100012e7
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x100012d5
cmp edi, eax
jb 0x100012eb
xor eax, eax
jmp 0x100012f4
movzx eax, word [edi]
neg eax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x10008ddf
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10040344]
jne 0x10008de9
repz ret
jmp fcn.1000fc97

Function at 0x10023353
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.10010773
and dword [ebp - 4], 0
cmp dword [0x1004245c], 0
mov ebx, eax
jne 0x10023404
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x100234b5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x100234b5
push eax
call fcn.10010701
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1004245c], eax
call esi
push eax
call fcn.10010701
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x10042460], eax
call esi
push eax
call fcn.10010701
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x10042464], eax
call esi
push eax
call fcn.10010701
pop ecx
mov dword [0x1004246c], eax
test eax, eax
je 0x10023404
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10010701
pop ecx
mov dword [0x10042468], eax
mov eax, dword [0x10042468]
cmp eax, ebx
je 0x1002345c
cmp dword [0x1004246c], ebx
je 0x1002345c
push eax
call fcn.1001077c
push dword [0x1004246c]
mov esi, eax
call fcn.1001077c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1002345c
test edi, edi
je 0x1002345c
call esi
test eax, eax
je 0x10023453
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10023453
test byte [ebp - 0xc], 1
jne 0x1002345c
or dword [ebp + 0x10], 0x200000
jmp 0x10023495
mov eax, dword [0x10042460]
cmp eax, ebx
je 0x10023495
push eax
call fcn.1001077c
pop ecx
test eax, eax
je 0x10023495
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10023495
mov eax, dword [0x10042464]
cmp eax, ebx
je 0x10023495
push eax
call fcn.1001077c
pop ecx
test eax, eax
je 0x10023495
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1004245c]
call fcn.1001077c
pop ecx
test eax, eax
je 0x100234b5
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x100234b7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1003073a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10040344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x14], eax
xor edi, edi
call fcn.100333ee
mov esi, eax
test esi, esi
je 0x100307b0
lea eax, [ebp - 0x10]
push eax
push esi
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 0xb], 0x67
mov byte [ebp - 8], 0x6f
mov byte [ebp - 0xc], 0x61
mov byte [ebp - 5], 0
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 7], 0x78
mov byte [ebp - 9], 0x42
mov byte [ebp - 6], 0x41
mov byte [ebp - 0x10], 0x4d
mov byte [ebp - 0xd], 0x73
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100307a9
push 0x40
push dword [ebp - 0x14]
push ebx
push edi
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10008ddf
leave
ret

Function at 0x10030eb1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10040344]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov dword [ebp - 0x14], eax
xor edi, edi
call fcn.100333ee
mov esi, eax
test esi, esi
je 0x10030f24
lea eax, [ebp - 0x10]
push eax
push esi
mov byte [ebp - 0xb], 0x69
mov byte [ebp - 6], 0x41
mov byte [ebp - 0xe], 0x6e
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 0x10], 0x46
mov byte [ebp - 0xd], 0x64
mov byte [ebp - 5], 0
mov byte [ebp - 0xc], 0x57
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 9], 0x64
mov byte [ebp - 7], 0x77
mov byte [ebp - 8], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10030f1d
push dword [ebp - 0x14]
push ebx
call eax
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.10008ddf
leave
ret
Function at 0x10031244
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10040344]
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
mov dword [ebp - 0x24], eax
xor ebx, ebx
call fcn.10034e98
mov esi, eax
cmp esi, ebx
je 0x100312eb
lea eax, [ebp - 0x1c]
push eax
push esi
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0x1a], 0x6a
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0x1b], 0x64
mov byte [ebp - 0x18], 0x73
mov byte [ebp - 0x19], 0x75
mov byte [ebp - 0x1c], 0x41
mov byte [ebp - 0x12], 0x6e
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x73
mov byte [ebp - 0x11], 0x50
mov byte [ebp - 0xb], 0x65
mov byte [ebp - 0xa], 0x67
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 7], bl
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0xe], 0x76
mov byte [ebp - 0x15], 0x6f
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x100312e4
push ebx
push ebx
push 0x10
push dword [ebp - 0x24]
push ebx
push dword [ebp - 0x20]
call eax
mov ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10008ddf
leave
ret

Function at 0x100312fb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10040344]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0xd], 0x32
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x4b
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10008ddf
leave
ret

Function at 0x10031355
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10040344]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp - 0x18]
push eax
or esi, 0xffffffff
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x11], 0x65
mov byte [ebp - 0xe], 0x50
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x15], 0x43
mov byte [ebp - 0x14], 0x75
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xd], 0x72
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0x10], 0x6e
mov byte [ebp - 9], 0x73
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0xb], 0x63
mov byte [ebp - 0x16], 0x74
mov byte [ebp - 7], 0
mov byte [ebp - 8], 0x73
call fcn.100312fb
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100313c9
call eax
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.10008ddf
leave
ret