joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101c482b
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x10217620], 0x1938
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101cbd64]
mov dh, byte [eax + 0x101cbd35]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x101c484d
lea eax, [ebp - 0x24]
mov dword [0x10217624], 0x14f9
mov dword [ebp - 0x34], eax
call fcn.101c3e42
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.101c3cdb
mov ecx, dword [0x10217620]
add ecx, 0xfffffb5f
mov dword [0x10217624], ecx
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x101c4959
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.101c4466
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
mov dword [0x10217620], 0x2cd
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x30], ecx
mov dword [0x10217624], 0x2226
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x14], ecx
add ecx, 0x155b
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x101c4950
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x101c4961
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1021762c], 0
mov byte [0x10217630], 0
mov dword [0x10217628], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x101c49b7
xor eax, eax
mov ecx, 0x1fdd
mov dword [0x10217628], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
jmp 0x101c49e9
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov dword [0x10217620], 0x1fdd
mov eax, dword [0x10217628]
add eax, 1
mov dword [0x10217628], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101c49b7
jmp 0x101c499e
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [ebp - 0x28]
add edi, 0xfffff6b9
mov dword [0x10217634], 0
mov ebx, dword [0x1021762c]
mov esi, dword [ebp - 0x18]
movzx esi, byte [esi + ecx]
add esi, ebx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add esi, edx
mov dword [0x10217634], esi
mov dword [0x10217624], 0x1dfc
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x1021762c], edx
mov dword [0x10217620], edi
mov edi, dword [ebp - 0x18]
mov bl, byte [edi + ecx]
mov byte [0x10217630], bl
mov dword [0x10217624], 0xe30
mov bl, byte [edi + edx]
mov byte [edi + ecx], bl
mov ecx, dword [0x10217624]
add ecx, 0xfffffd81
mov dword [0x10217620], ecx
mov bl, byte [0x10217630]
mov ecx, dword [0x1021762c]
mov byte [edi + ecx], bl
mov ecx, dword [0x10217628]
add ecx, 1
mov dword [0x10217628], ecx
cmp ecx, 0x100
mov dword [ebp - 0x30], ecx
jge 0x101c4ac1
mov eax, dword [0x10217620]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
jmp 0x101c49e9
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c5030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10217628], 0
mov dword [0x1021762c], 0
mov dword [0x10217638], 0
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
je 0x101c518d
jmp 0x101c50a2
mov eax, dword [0x1021762c]
mov ecx, dword [0x10217628]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10217620], 0x1e8a
add eax, 1
mov edi, ecx
add edi, 1
mov dword [ebp - 0x30], edx
cdq
idiv esi
mov dword [0x10217628], edx
mov ebx, dword [ebp - 0x20]
movzx ebx, byte [ebx + edx]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x30]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1021762c], edx
mov dword [0x10217620], 0x40c5
mov ecx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10217630], cl
mov dword [0x10217624], 0x471
mov ebx, dword [ebp - 0x20]
mov cl, byte [ebx + edx]
mov byte [ebx + esi], cl
mov cl, byte [0x10217630]
mov edx, dword [0x1021762c]
mov byte [ebx + edx], cl
mov edx, dword [0x10217628]
movzx edx, byte [ebx + edx]
mov ecx, dword [0x1021762c]
movzx ecx, byte [ebx + ecx]
add ecx, edx
and ecx, 0xff
mov dword [0x10217638], ecx
mov dword [0x10217620], 0x1cd9
mov cl, byte [ebx + ecx]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x34]
mov ch, byte [edx + esi]
mov dword [0x10217624], 0xbad
mov dword [0x10217620], 0x1439
xor ch, cl
mov edx, dword [ebp - 0x1c]
mov byte [edx + esi], ch
mov edx, dword [ebp - 0x10]
cmp edi, edx
mov dword [ebp - 0x2c], edi
jne 0x101c508b
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x101c5195
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x10217620], 0x20bf
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.101c3eef
lea ecx, [0x101c4ac9]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x38], edx
mov dword [esp + 0x40], 0x13b400
mov edx, dword [0x1021760c]
mov dword [esp + 0x7c], edx
mov edx, dword [0x10217610]
mov dword [esp + 0x5c], edx
mov edx, dword [0x10217614]
mov dword [esp + 0x8c], edx
mov edx, dword [0x10217618]
mov dword [esp + 0x58], edx
mov edx, dword [0x1021761c]
mov dword [esp + 0x6c], edx
mov dword [0x10217620], 0x212d
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
jmp 0x101c5250
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], eax
mov dword [0x10217624], 0x1fcc
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x74], edx
call fcn.101c4240
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
je 0x101c5287
jmp 0x101c52bb
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x101c5273
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x101c521e
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x101c5250
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101c482b
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10217620], 0x1ed4
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
popal
mov ch, 0xc8
mov bl, 0xd9
ror dword [esi + 0x4d], 1
into
imul ecx, dword [ecx - 0x39], 0xec7d0434
into
adc eax, dword [eax + 0x71]
cmp eax, 0xd43adcec
fdivr qword [edx]
aam 0x2a
mov word [ebx + 0x60], fs
lodsd eax, dword [esi]
mov dword [edx - 0xeb4c3a7], esi
fdivr qword [edx]
aam 0x2a
mov word [ebx + 0x60], fs
lodsd eax, dword [esi]
mov dword [edx - 0xeb4c3a7], esi
xor dword [esi + 0x294b5b7f], eax
ja 0x414b22
popal
add al, 0x2d
jne 0x414aaa
adc esi, dword [eax]
mov bl, 0xd1
scasb al, byte es:[edi]
mov dword [ecx], ecx
xor eax, 0x89b3cb0c
fsub st(1), st(0)
xor dword [ecx + ebx*8], eax
dec esp
into
adc esp, dword [ecx - 0x18]
into
adc esi, dword [esi + 0xb]
and dword [eax + ecx*8 + 0xf3dd9b3], ecx
dec esp
into
and eax, 0xec31b34a
mov dword [ebx - 0x4c7613cf], esi
xor esp, ebp
mov dword [ebx + 0x4c76ec31], esi
into
adc ecx, dword [ecx + 0x76ec31b3]
dec esp
into
adc ecx, dword [ecx - 0x7613ce4d]
mov bl, 0x31
in al, dx
xor esp, ebp
mov dword [ebx - 0x4c7613cf], esi
mov dl, 0
lea esi, [ebp + esi - 0x38]
sbb esi, dword gs:[ebx - 0x14]
mov dword [ebx + 0x748d00b2], esi
xor eax, 0x731b65c8
in al, dx
or byte [eax + 0x7e], 0x84
mov ebx, eax
jo 0x414b28
invalid
Function at 0x4014b8
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 0x1369e
lea edi, [esi + 0x10]
mov dword [esi], 0x416ae0
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
mov dword [esi + 0x4da8c], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0xffffffff
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret

Function at 0x4015d0
Capabilities:
Allocate or change rwx memory
Create thread
Execute shellcode via indirect call
Spawn thread to rwx shellcode

Disassembly:
push ecx
mov eax, dword [0x41b070]
push esi
push edi
mov edi, ecx
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x4015ee
pop edi
pop esi
pop ecx
ret
mov ecx, dword [0x41b070]
push ebx
push ebp
add edi, 0x4da90
push ecx
push edi
push esi
call fcn.00401560
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0xc
push str.VirtualProtect
push str.KERNEL32.dll
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.CreateThread
push str.KERNEL32.dll
mov ebp, eax
call edi
push eax
call ebx
lea edx, [esp + 0x10]
push edx
push 0x40
push 0x4da78
push esi
call ebp
push 0
push 0
push esi
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
pop ecx
ret

Function at 0x405280
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x38
push edi
mov edi, ecx
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x405296
mov al, 1
pop edi
add esp, 0x38
ret 8
push ebx
push ebp
push esi
push 0xd
mov dword [esp + 0x20], 9
xor esi, esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x20]
push esi
push esi
push 0x1200
push eax
mov byte [esp + 0x23], 1
call ebx
xor ebp, ebp
mov dword [esp + 0x18], eax
test eax, eax
jle 0x405321
mov edx, dword [edi + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push ebp
push 0x1203
push edx
call ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
add esi, eax
mov eax, 1
shl eax, cl
test dword [edi + 0x48], eax
je 0x405318
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x4c]
cdq
sub eax, edx
mov edx, esi
sar eax, 1
sub edx, eax
cmp ecx, edx
jle 0x405318
add eax, esi
cmp ecx, eax
jge 0x405318
mov byte [esp + 0x13], 0
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jl 0x4052d1
mov al, byte [esp + 0x13]
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x38
ret 8
Function at 0x405b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x414392
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
call fcn.004137b8
lea edi, [esi + 0x5c]
mov byte [esp + 0x18], 1
mov ecx, edi
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x6c]
mov byte [esp + 0x18], 2
call fcn.00407270
lea ecx, [esi + 0xcc]
mov byte [esp + 0x18], 3
call fcn.00407df0
lea ecx, [esi + 0x114]
mov byte [esp + 0x18], 4
call fcn.004079e0
mov al, byte [esp + 0x34]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x20]
mov byte [esi + 0x46], al
mov eax, dword [esp + 0x24]
push 0x7fe2
push ebx
mov byte [esp + 0x20], 5
mov dword [esi], 0x4172f8
mov dword [esi + 0x64], ecx
mov dword [esi + 0x54], edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x60], ebx
call dword [sym.imp.USER32.dll_LoadBitmapA]
lea ecx, [esp + 0x28]
mov dword [esi + 0x68], eax
push ecx
mov ecx, edi
call fcn.00413752
push 0x15
mov dword [esi + 0x154], esi
mov dword [esi + 0xc0], esi
mov dword [esi + 0x10c], esi
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dl, byte [esp + 0x30]
or edi, 0xffffffff
push 8
mov dword [esi + 0x50], eax
mov dword [esi + 0x40], ebx
mov byte [esi + 0x4c], dl
mov byte [esi + 0x160], 1
mov dword [esi + 0x48], edi
mov byte [esi + 0x44], bl
mov byte [esi + 0x45], 1
call dword [sym.imp.USER32.dll_GetSysColor]
lea ecx, [esp + 0x28]
mov dword [esi + 0x164], eax
mov dword [esp + 0x18], edi
call fcn.00413728
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x4116b0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x415067
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x4181f8
mov dword [esi + 4], ebx
lea ecx, [esi + 0x1c]
mov dword [esp + 0x16c], ebx
call sub.MFC42.DLL_CImageList::CImageList
lea ecx, [esi + 0x24]
mov byte [esp + 0x16c], 1
call sub.MFC42.DLL_CImageList::CImageList
mov edi, dword [sym.imp.USER32.dll_GetSysColor]
push 7
mov byte [esp + 0x170], 2
mov dword [esi], 0x4181dc
call edi
push 0xe
mov dword [esi + 0x2c], eax
call edi
push 0xf
mov dword [esi + 0x30], eax
call edi
push 4
mov dword [esi + 0x34], eax
call edi
push 0xd
mov dword [esi + 0x38], eax
call edi
push 0x14
mov dword [esi + 0x3c], eax
call edi
push 0x10
mov dword [esi + 0x40], eax
call edi
push 0x11
mov dword [esi + 0x44], eax
call edi
push 0xf
mov dword [esi + 0x48], eax
call edi
push 0x14
mov dword [esi + 0x4c], eax
call edi
push 0x10
mov dword [esi + 0x50], eax
call edi
mov dword [esi + 0x54], eax
mov eax, 0x14
mov ecx, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], ecx
mov ecx, 0x55
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
push ebx
push eax
push ebx
push 0x29
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], 0x154
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0xb0]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
mov ecx, esi
mov dword [esi + 0x10], eax
mov dword [esi + 8], ebx
call fcn.004121d0
mov eax, esi
mov ecx, dword [esp + 0x164]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x164
ret
Function at 0x412220
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x415140
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
push esi
push edi
and ebx, 0xffff
push 0xf1
mov esi, ecx
push ebx
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, eax
xor ebp, ebp
cmp edi, ebp
jne 0x412262
xor al, al
jmp 0x412384
push 0xf1
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, ebp
jne 0x41227a
xor al, al
jmp 0x412384
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, ebp
jne 0x41228d
xor al, al
jmp 0x412384
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
cmp edi, ebp
jne 0x4122a1
xor al, al
jmp 0x412384
xor eax, eax
xor ecx, ecx
mov ax, word [edi + 2]
push ebp
mov dword [esi + 0x14], eax
xor eax, eax
mov ax, word [edi + 4]
mov edx, dword [esi + 0x14]
mov dword [esi + 0x18], eax
mov cx, word [edi + 6]
push ecx
push 5
push eax
push edx
lea ecx, [esi + 0x1c]
call sub.MFC42.DLL_CImageList::Create
test eax, eax
jne 0x4122d5
xor al, al
jmp 0x412384
mov eax, dword [esi + 0x34]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_SetBkColor]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x10], 0x41717c
push ebx
push 2
push ebx
mov dword [esp + 0x2c], ebp
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov edx, dword [esp + 0x14]
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x10]
push 0xc0c0c0
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
xor ecx, ecx
lea ebx, [edi + 8]
cmp word [edi + 6], cx
jbe 0x412369
mov ax, word [ebx]
test ax, ax
je 0x41235b
mov edx, ecx
inc ecx
mov dword [esp + 0x28], ecx
push eax
push edx
mov ecx, esi
call fcn.004123a0
mov ecx, dword [esp + 0x28]
xor edx, edx
inc ebp
mov dx, word [edi + 6]
add ebx, 2
cmp ebp, edx
jl 0x41233f
mov dword [esp + 0x10], 0x4171a4
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov al, 1
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4
Function at 0x401750
Capabilities:
Send data
Send data on socket

Disassembly:
adc byte [ebx], bl
adc dword [edx], edx
mov eax, dword [0x1615141b]
pop ss
sbb byte [ecx], bl
sbb dl, byte [eax - 0x336f6f35]
nop
nop
nop
nop
nop
nop
nop
nop
popal
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [sym.imp.MSVCRT.dll__iob]
push eax
adc dword [eax + eax*2], 0x59
je 0x401735
inc eax
add byte [ecx - 1], dl
adc eax, sym.imp.MSVCRT.dll_fprintf
mov eax, dword [0x2a02ac]
add esp, 0xc
test esi, ecx
adc dword [edi], ecx
push eax
push 0x40cc54
fst dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
push 1
call dword [sym.imp.WS2_32.dll_WSASend]
nop
push ebp
mov esi, dword [0xb8ecf9]
add byte [eax], al
mov eax, dword [0x410278]
test eax, eax
mov eax, dword [0xc337544c]
mov dl, 0x14
push 0x41c02b
push eax
lea ebx, [esi + 0x66000040]
mov edx, dword [edx]
inc eax
add byte [eax], al
mov dx, word [edx]
in eax, 2
mov cl, 0
jmp 0x4017cf
dec dword [eax]
sbb byte [ecx], al
mov eax, dword [0x3a0288]
lds edx, [esi - 0x75]
xor eax, 0xe2be07
mov word [0x4155b4], cx
test dword [eax + 0x57], eax
jne 0x4017af
inc ecx
adc eax, 0x18660c
push edx
push 0x40d4c0
push dword [ebx + 0x310278a1]
add byte [ebx - 0x3f7af73c], al
je 0x40181c
mov eax, dword [0xa9410274]
push eax
push 0x2bdc40
mov eax, dword [esp + edx*8 - 0x2968ffc0]
cmp ecx, 0xc
mov eax, dword [0x40d014]
test eax, eax
mov eax, 0x40d499
jne 0x40182f
mov eax, 0x40017c
push eax
push str._be_patient__s
invalid
Function at 0x401e40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and eax, 0x8b56d8ec
jne 0x401e56
push esi
lea eax, [ebp - 0x78]
mov edx, ebp
push eax
push esi
call 0x2b3886e0
mov ecx, dword [ebp + 0x18]
mov edx, dword [sym.imp.MSVCRT.dll__iob]
sub cl, byte [ebx + 0x158b184d]
enter 0x40c0, 0
push eax
push ecx
adc edx, eax
mov edx, 0x40d20d68
add byte [eax], bl
call dword [0x40d68d]
mov eax, dword [0x410245]
xor dword [ecx - 0x58], 0xffffff85
sal byte [edi + ecx + 0x50], 0x68
push esp
rol byte [eax], cl
call dword [0xca40cf64]
add esp, 8
push esi
call dword [sym.imp.MSVCRT.dll_exit]
pop esi
nop
nop
nop
sbb dword [eax - 0x6fff6f70], edx
nop
nop
and byte [ebp - 0x75], dl
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
ja 0x401ef4
adc al, 0x89
inc ebp
or al, ch
dec ecx
cmpsb byte [esi], byte es:[edi]
add byte [eax], al
mov dword [0x410ba0], eax
mov dword [0x4125a4], edx
mov ebx, eax
lodsb al, byte [esi]
inc esi
adc al, 0x85
ror byte [ebx - 0x74bf8a06], 0x4e
add al, 0x6a
add byte [edx - 0x49], ch
push ecx
rcl byte [esi - 0x76ffff93], cl
sahf
cmp byte [eax], cl
add byte [eax], al
mov dword [esi + 0x83c], edi
mov dword [esi + 0x18], 0x8800
mov edx, dword [0x4117ec]
mov dword [esi + 0x40], edx
push esi
inc eax
xchg byte [eax + 2], ah
test byte [eax], 0x85
sal byte [ebx + edi - 0x5f], 0x70
add al, byte [ecx]
mov ecx, edx
add ecx, eax
mov dword [esp + edx - 0x1d], ebx
sub eax, 0x38fb8e8b
add byte [eax], al
mov eax, dword [0xc940d028]
mov edx, dword [0x442c2c]
add esp, ecx
mov eax, dword [esi + 0xeb3c]
adc edi, dword [esi - 0x70f007c5]
in eax, 0
add byte [eax], al
push es
or byte [ebx], bh
fstp dword [edi - 0x79]
mov al, 0
add byte [eax], al
loopne 0x401f04
sbb byte [ebx + 0x4087e71d], cl
dec byte [ebx + 0x4dc10446]
or byte [ebx], al
rcl dword [ecx + 0x52], cl
in eax, 0xe8
insd dword es:[edi], dx
imul edi, dword [esi], 0
faddp st(0)
jle 0x401f8a
sbb dword [ebx + ecx], 0xffffffbf
cmp eax, 0x560afd68
lds esp, [edi]
cmp eax, 0x880afcd9
je 0x401f8a
and al, byte [eax + 0x74000ac9]
sbb dword [0xafd24], edi
je 0x401f8a
cmp eax, 0x390afca1
je 0x401f8a
cmp eax, 0xb23a9
jne 0xba2030
mov ebx, dword [ecx + 8]
mov ebx, dword [0x8d0a02a0]
sub edi, dword [0x9f41021d]
add ebx, eax
rcl dword [eax + 0x1f1d8900], 2
cld
add byte [ecx + 0x4102a43d], cl
push ecx
mov ebp, esi
sbb byte [ebx - 0x2ffceb60], cl
sub edi, dword [eax - 0x4d]
push esi
jmp dword [esi]
Function at 0x401a84
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42914c]
jne 0x401a8e
repz ret
jmp fcn.004025b5

Function at 0x40b18e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42914c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004043e4
and dword [ebp - 0x14], 0
cmp dword [0x42b7d8], 0
mov dword [ebp - 0x18], eax
jne 0x40b241
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40b2e9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40b2e9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42b7d8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42b7dc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42b7e0], eax
call edi
push eax
call esi
mov dword [0x42b7e8], eax
test eax, eax
je 0x40b241
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42b7e4], eax
mov eax, dword [0x42b7e4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40b29a
cmp dword [0x42b7e8], ecx
je 0x40b29a
push eax
call esi
push dword [0x42b7e8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40b29a
test ebx, ebx
je 0x40b29a
call edi
test eax, eax
je 0x40b291
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40b291
test byte [ebp - 8], 1
jne 0x40b29a
or dword [ebp + 0x10], 0x200000
jmp 0x40b2cd
mov eax, dword [0x42b7dc]
cmp eax, dword [ebp - 0x18]
je 0x40b2cd
push eax
call esi
test eax, eax
je 0x40b2cd
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40b2cd
mov eax, dword [0x42b7e0]
cmp eax, dword [ebp - 0x18]
je 0x40b2cd
push eax
call esi
test eax, eax
je 0x40b2cd
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42b7d8]
call esi
test eax, eax
je 0x40b2e9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40b2eb
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401a84
leave
ret