joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dbf0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x493470
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x4a3b1c
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x54]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x48], esi
je 0x45dd6f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.0048a59c
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x45dcb0
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x45dc77
xor eax, eax
jmp 0x45dc7a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.0048a2a0
mov eax, dword [ebx + 0x4c]
cmp dword [eax + 0x10], esi
je 0x45dc99
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x45dceb
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.0048a2a0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00454a80
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x50]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x50]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x30]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x10], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.0048a608
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x4a3b10
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.0048a608
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x45f8d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4937c3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [0x4bf0d0]
mov dword [esp + 0x14], 0
mov dword [esi + 0x14], eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov byte [esp + 0x1c], 1
mov dword [esi], 0x4a3b90
call fcn.00483361
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.0045f980
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004835ec
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x14

Function at 0x4627d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x493b4c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x174
push ebx
mov ebx, dword [ecx + 0x10]
push esi
xor esi, esi
cmp ebx, esi
mov dword [esp + 8], ecx
je 0x462bf9
mov eax, dword [ebx + 0x44]
push ebp
push edi
mov edi, dword [esp + 0x194]
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], edi
mov eax, dword [ebx + 0x40]
lea ecx, [esp + 0x70]
neg eax
sbb eax, eax
push esi
and eax, 0xfffff810
push ecx
add eax, 0x7f6
push eax
call fcn.004653f0
mov eax, dword [esp + 0x17c]
xor ecx, ecx
mov ebp, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], 0x4a3d3c
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x3c], esi
cmp eax, esi
mov dword [esp + 0x18c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
jle 0x462ab6
mov dword [esp + 0x74], edi
mov eax, dword [ebx + 0x40]
neg eax
sbb eax, eax
lea edx, [esp + 0x70]
and eax, 0xfffff810
push esi
add eax, 0x7f6
push edx
push eax
call fcn.004653f0
xor ecx, ecx
cmp eax, esi
mov dword [esp + 0x2c], ecx
je 0x462ab2
jmp 0x4628b6
Function at 0x467450
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4940d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
call fcn.004899ba
xor eax, eax
mov dword [esi + 0x10], 0x4a4004
mov dword [esp + 0x10], eax
mov dword [esi + 0x14], eax
mov ecx, 1
mov dword [esi], method.CDC.virtual_0
mov byte [esp + 0x10], cl
mov dword [esi + 0x30], ecx
lea ecx, [esi + 0x20]
mov dword [esi + 0x1c], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [ecx], eax
mov edx, dword [esp + 0x24]
mov dword [ecx + 4], eax
push edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
push edx
mov ecx, esi
call fcn.00467550
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x4674e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4940fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], method.CDC.virtual_0
mov eax, dword [esi + 0x30]
mov dword [esp + 0x14], 1
push eax
call fcn.00468190
lea ecx, [esi + 0x10]
mov dword [esp + 8], ecx
mov dword [ecx], method.CGdiObject.virtual_0
mov byte [esp + 0x14], 2
call fcn.0048a608
mov ecx, esi
mov dword [esp + 0x14], 0xffffffff
call fcn.00489aef
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x46ac30
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x46ac7a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x46aca9
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x46aceb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x46f1a0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x46f243
test eax, eax
jbe 0x46f243
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x46f243
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x46f1ee
xor esi, esi
jmp 0x46f1f4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x46f21f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.00471660
add esi, eax
push esi
mov ebx, esi
call fcn.00471660
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x46f200
pop ebp
test edi, edi
pop edi
jne 0x46f243
test ebx, ebx
je 0x46f243
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.00473ca0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc

Function at 0x46f385
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46f49d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46f49d
mov eax, dword [esi + 0x3c]
push eax
call fcn.00484fff
mov esi, eax
test esi, esi
je 0x46f49d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46f49d
mov ecx, esi
call fcn.0046f2f0
cmp edi, eax
jge 0x46f49d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46f423
mov dword [esp + 0x34], 1
jmp 0x46f47e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46f49d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046db90
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc
Function at 0x4859a2
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4859da
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00483a47
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00483a1f
jmp 0x4859e6
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x487090
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4870d2
call fcn.0048d523
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4870d2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4870c9
xor eax, eax
jmp 0x4870da
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004870e0
pop edi
pop esi
pop ebx
ret 4
Function at 0x408a70
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x444
push ebx
push esi
push edi
lea edi, [ebp - 0x444]
mov ecx, 0x111
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x404]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0x400
lea eax, [ebp - 0x400]
push eax
call fcn.00447a60
add esp, 0x10
mov dword [ebp - 0x404], 0
mov esi, esp
lea ecx, [ebp - 0x400]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.004479c0
pop edi
pop esi
pop ebx
add esp, 0x444
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret

Function at 0x40b250
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x318c
call fcn.004483b0
push ebx
push esi
push edi
lea edi, [ebp - 0x318c]
mov ecx, 0xc63
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push 0x1000
push 0
lea eax, [ebp - 0x1144]
push eax
call fcn.00447a00
add esp, 0xc
mov esi, esp
lea ecx, [ebp - 0x1144]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
cmp esi, esp
call fcn.004479c0
push 0x1000
push 0
lea edx, [ebp - 0x2144]
push edx
call fcn.00447a00
add esp, 0xc
push str.map.map
lea eax, [ebp - 0x1144]
push eax
push str._s_s
lea ecx, [ebp - 0x2144]
push ecx
call fcn.004482b0
add esp, 0x10
mov esi, esp
lea edx, [ebp - 0x140]
push edx
lea eax, [ebp - 0x2144]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp esi, esp
call fcn.004479c0
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0xffffffff
je 0x40b3ef
push 0x1000
push 0
lea ecx, [ebp - 0x3144]
push ecx
call fcn.00447a00
add esp, 0xc
lea edx, [ebp - 0x114]
push edx
push str.map_
lea eax, [ebp - 0x1144]
push eax
push str._s_s_s
lea ecx, [ebp - 0x3144]
push ecx
call fcn.004482b0
add esp, 0x14
push 0x4d5674
lea edx, [ebp - 0x3144]
push edx
call fcn.00448290
add esp, 8
mov dword [ebp - 0x3148], eax
cmp dword [ebp - 0x3148], 0
je 0x40b3ef
push 2
push 0
mov eax, dword [ebp - 0x3148]
push eax
call fcn.00448070
add esp, 0xc
mov ecx, dword [ebp - 0x3148]
push ecx
call fcn.00447de0
add esp, 4
mov dword [ebp - 0x314c], eax
mov edx, dword [ebp - 0x314c]
push edx
call fcn.00411d70
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov edx, dword [ebp + 8]
cmp dword [edx], 0
je 0x40b3ef
push 0
push 0
mov eax, dword [ebp - 0x3148]
push eax
call fcn.00448070
add esp, 0xc
mov ecx, dword [ebp - 0x3148]
push ecx
push 1
mov edx, dword [ebp - 0x314c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00447c10
add esp, 0x10
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x314c]
mov dword [edx], eax
jmp 0x40b3f8
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0xffffffff
pop edi
pop esi
pop ebx
add esp, 0x318c
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret
Function at 0x411e70
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x358
push ebx
push esi
push edi
lea edi, [ebp - 0x358]
mov ecx, 0xd6
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov dword [ebp - 4], 0
jmp 0x411ea0
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc8
jge 0x411ebc
mov ecx, dword [ebp - 4]
mov edx, dword [ecx*4 + 0x6e3200]
cmp edx, dword [ebp + 8]
jne 0x411eba
jmp 0x411ebc
jmp 0x411e97
cmp dword [ebp - 4], 0xc8
jl 0x412052
mov dword [ebp - 4], 0
jmp 0x411edb
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc8
jge 0x411ef5
mov ecx, dword [ebp - 4]
cmp dword [ecx*4 + 0x6e3200], 0
jne 0x411ef3
jmp 0x411ef5
jmp 0x411ed2
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov dword [eax*4 + 0x6e3200], ecx
mov esi, esp
lea edx, [ebp - 0x10c]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp esi, esp
call fcn.004479c0
mov esi, esp
lea eax, [ebp - 0x210]
push eax
push 0
push 0x4d58c8
lea ecx, [ebp - 0x10c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp esi, esp
call fcn.004479c0
lea edx, [ebp - 0x210]
push edx
lea eax, [ebp - 0x314]
push eax
call fcn.004483e0
add esp, 8
lea ecx, [ebp - 0x314]
push ecx
call fcn.004487d0
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov al, byte [edx + 8]
test eax, eax
jne 0x411f9e
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x317], 0x6d
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x316], 0x69
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x315], 0x64
jmp 0x411fbf
mov ecx, dword [ebp - 4]
mov byte [ebp + ecx - 0x317], 0x77
mov edx, dword [ebp - 4]
mov byte [ebp + edx - 0x316], 0x61
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x315], 0x76
mov esi, esp
lea ecx, [ebp - 0x314]
push ecx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
cmp esi, esp
call fcn.004479c0
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp + 8]
add ecx, 9
push ecx
call fcn.004483e0
add esp, 8
push 0x4d58c4
mov edx, dword [ebp + 8]
add edx, 9
push edx
call fcn.00448290
add esp, 8
mov dword [ebp - 0x318], eax
cmp dword [ebp - 0x318], 0
je 0x412044
mov eax, dword [ebp - 0x318]
push eax
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00448930
add esp, 0x10
mov edx, dword [ebp - 0x318]
push edx
call fcn.00448850
add esp, 4
jmp 0x412052
mov eax, dword [ebp - 8]
mov dword [eax*4 + 0x6e3200], 0
pop edi
pop esi
pop ebx
add esp, 0x358
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret
Function at 0x412100
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
lea edi, [ebp - 0x44]
mov ecx, 0x11
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
push 0
push 0
push 0
push str.close_nn
call dword [sym.imp.WINMM.dll_mciSendStringA]
cmp esi, esp
call fcn.004479c0
mov dword [ebp - 4], 0
jmp 0x412144
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xc8
jge 0x412179
mov ecx, dword [ebp - 4]
cmp dword [ecx*4 + 0x6e3200], 0
je 0x412177
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x6e3200]
add eax, 9
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp esi, esp
call fcn.004479c0
jmp 0x41213b
pop edi
pop esi
pop ebx
add esp, 0x44
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret
Function at 0x41acd0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48c
push ebx
push esi
push edi
lea edi, [ebp - 0x48c]
mov ecx, 0x123
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x40], 0
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x3f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.00448720
add esp, 8
mov dword [ebp - 0x44], eax
push 0x2e
mov ecx, dword [ebp + 8]
push ecx
call fcn.00448720
add esp, 8
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], 0
mov byte [ebp - 0x44c], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x44b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp - 0x48]
sub edx, dword [ebp - 0x44]
sub edx, 1
push edx
mov eax, dword [ebp - 0x44]
add eax, 1
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0044af30
add esp, 0xc
push 0x5f
lea edx, [ebp - 0x40]
push edx
call fcn.00448720
add esp, 8
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
je 0x41ada6
mov eax, dword [ebp - 0x4c]
add eax, 1
push eax
call fcn.004487d0
add esp, 4
cmp eax, 3
jne 0x41ada6
mov ecx, dword [ebp - 0x4c]
add ecx, 1
push ecx
call fcn.0044ade0
add esp, 4
cmp eax, 0x3e8
jge 0x41ada6
jmp 0x41ae27
lea edx, [ebp - 0x40]
push edx
push str.C:_soyououtexe_s
lea eax, [ebp - 0x44c]
push eax
call fcn.004482b0
add esp, 0xc
push 0
lea ecx, [ebp - 0x44c]
push ecx
call fcn.0045cd60
add esp, 8
test eax, eax
jge 0x41ade2
lea edx, [ebp - 0x44c]
push edx
call fcn.0045cd10
add esp, 4
mov eax, dword [0x4e0d54]
push eax
mov ecx, dword [0x4e0d50]
push ecx
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x40]
push eax
push str.C:_soyououtexe_s_s__d__d.exe
lea ecx, [ebp - 0x44c]
push ecx
call fcn.004482b0
add esp, 0x18
mov esi, esp
push 0
lea edx, [ebp - 0x44c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp esi, esp
call fcn.004479c0
pop edi
pop esi
pop ebx
add esp, 0x48c
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret

Function at 0x41b060
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0xc], 0x6d
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x76
mov byte [ebp - 6], 0x32
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x6c
mov byte [ebp - 1], 0
push 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004474c0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret
Function at 0x41d160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
lea edi, [ebp - 0x4c]
mov ecx, 0x13
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0xc], 0x6d
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x73
mov byte [ebp - 8], 0x72
mov byte [ebp - 7], 0x76
mov byte [ebp - 6], 0x32
mov byte [ebp - 5], 0x2e
mov byte [ebp - 4], 0x64
mov byte [ebp - 3], 0x6c
mov byte [ebp - 2], 0x6c
mov byte [ebp - 1], 0
push 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004474c0
add esp, 0xc
pop edi
pop esi
pop ebx
add esp, 0x4c
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret
Function at 0x41d700
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push ebx
push esi
push edi
lea edi, [ebp - 0x68]
mov ecx, 0x1a
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
push str.sy_server
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x41d732
xor al, al
jmp 0x41d801
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0
je 0x41d763
push 4
mov eax, dword [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.0044b720
add esp, 0xc
mov edx, dword [ebp - 4]
push edx
call sub.WSOCK32.dll_inet_ntoa
mov dword [ebp - 8], eax
jmp 0x41d76a
xor al, al
jmp 0x41d801
push 6
push 1
push 2
call sub.WSOCK32.dll_socket
mov dword [0x703b28], eax
cmp dword [0x703b28], 0xffffffff
jne 0x41d787
xor al, al
jmp 0x41d801
mov eax, dword [ebp - 8]
push eax
call sub.WSOCK32.dll_inet_addr
mov dword [ebp - 0x18], eax
push 2
push 4
lea ecx, [ebp - 0x18]
push ecx
call sub.WSOCK32.dll_gethostbyaddr
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x41d7b9
mov edx, dword [0x703b28]
push edx
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x41d801
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x24], eax
mov word [ebp - 0x28], 2
push 0x7d8
call sub.WSOCK32.dll_htons
mov word [ebp - 0x26], ax
push 0x10
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [0x703b28]
push edx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x41d7ff
mov eax, dword [0x703b28]
push eax
call sub.WSOCK32.dll_closesocket
xor al, al
jmp 0x41d801
mov al, 1
pop edi
pop esi
pop ebx
add esp, 0x68
cmp ebp, esp
call fcn.004479c0
mov esp, ebp
pop ebp
ret