joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406610
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x6c], eax
xor eax, eax
push ebp
push 0x406750
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x406760
push 0x40676c
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageA
push 0x406778
push 0x40678c
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageA
push 0x40679c
push 0x40678c
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageA
xor ebx, ebx
call sub.user32.dll_GetDesktopWindow
mov esi, eax
push 0
push 0x4067b0
push ebx
push esi
call sub.user32.dll_FindWindowExA
mov ebx, eax
push 7
lea eax, [ebp - 0x65]
push eax
push ebx
call sub.user32.dll_GetWindowTextA
lea eax, [ebp - 0x6c]
lea edx, [ebp - 0x65]
mov ecx, 0x65
call fcn.00403344
mov eax, dword [ebp - 0x6c]
mov edx, 0x4067c0
call fcn.004034a8
jne 0x4066d2
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageA
test ebx, ebx
jne 0x40668b
push 0
push 0x4067c8
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageA
push 0x4067d8
push 0x4067e4
call sub.user32.dll_FindWindowA
mov ebx, eax
push 0
push 0
push 0x10
push ebx
call sub.user32.dll_SendMessageA
mov eax, 0x4067f8
call fcn.00406840
mov eax, 0x40680c
call fcn.00406840
mov eax, 0x406820
call fcn.00406840
mov eax, 0x406834
call fcn.00406840
call fcn.00406318
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406757
lea eax, [ebp - 0x6c]
call fcn.0040311c
ret

Function at 0x406840
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffec8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 0x130], edx
mov dword [ebp - 0x134], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
lea esi, [ebp - 0x12c]
xor eax, eax
push ebp
push 0x406956
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
mov eax, 0xf
call fcn.0040567c
mov ebx, eax
mov edx, esi
mov eax, ebx
call fcn.0040569c
cmp eax, 1
sbb eax, eax
inc eax
jmp 0x406922
lea eax, [ebp - 0x134]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00403344
mov eax, dword [ebp - 0x134]
lea edx, [ebp - 0x130]
call fcn.00404700
mov eax, dword [ebp - 0x130]
mov edx, dword [ebp - 4]
call fcn.004046c8
test eax, eax
je 0x4068fb
lea eax, [ebp - 0x138]
lea edx, [esi + 0x24]
mov ecx, 0x104
call fcn.00403344
mov eax, dword [ebp - 0x138]
mov edx, dword [ebp - 4]
call fcn.004046c8
test eax, eax
jne 0x406913
mov eax, dword [esi + 8]
push eax
push 0xffffffffffffffff
push 0x1f0fff
call sub.kernel32.dll_OpenProcess
push 0
push eax
call sub.kernel32.dll_TerminateProcess
mov edx, esi
mov eax, ebx
call fcn.004056bc
cmp eax, 1
sbb eax, eax
inc eax
test al, al
jne 0x4068a0
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40695d
lea eax, [ebp - 0x138]
mov edx, 3
call fcn.00403140
lea eax, [ebp - 4]
call fcn.0040311c
ret
Function at 0x406a24
Capabilities:
Create thread
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov esi, 0x40b824
xor eax, eax
push ebp
push 0x406b73
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40a150]
mov eax, dword [eax + 8]
mov dword [esi], eax
mov edx, 0x40b80c
xor eax, eax
call fcn.004026c4
mov eax, 0x100000
call fcn.00402494
mov dword [0x40b810], eax
cmp dword [esi], 0x100000
jg 0x406b58
lea edx, [ebp - 0xc]
xor eax, eax
call fcn.004026c4
mov eax, dword [ebp - 0xc]
mov edx, 0x40
call fcn.00404904
mov ebx, eax
cmp ebx, 0xffffffff
je 0x406b58
mov eax, dword [esi]
call fcn.00402494
mov dword [0x40b814], eax
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [esi]
push eax
mov eax, dword [0x40b814]
push eax
push ebx
call sub.kernel32.dll_ReadFile
push ebx
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 8]
cmp eax, dword [esi]
jne 0x406b58
push 0x40b81c
mov ecx, 0x40b818
mov edx, dword [esi]
mov eax, dword [0x40b814]
call fcn.00405064
test al, al
je 0x406b58
call fcn.00406d78
call fcn.00408f6c
test al, al
jne 0x406b58
mov ecx, 0x406b80
mov edx, 0x406b88
mov eax, 0x80000002
call fcn.004051a4
test al, al
jne 0x406b27
call fcn.00406610
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x40914c
push 0
push 0
call sub.kernel32.dll_CreateThread
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x409278
push 0
push 0
call sub.kernel32.dll_CreateThread
call fcn.0040724c
lea eax, [ebp - 0x10]
call fcn.004083d0
mov eax, dword [ebp - 0x10]
mov edx, dword [0x40b80c]
call fcn.00407fa0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406b7a
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403140
ret
Function at 0x406bd0
Capabilities:
Connect network resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
lea edi, [ebp - 0x2c]
xor eax, eax
push ebp
push 0x406cfb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
push ebp
push 0x406cc0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x30]
mov ecx, dword [ebp - 4]
mov edx, 0x406d14
call fcn.004033a8
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc]
call fcn.00408250
mov eax, dword [ebp - 0xc]
call fcn.00403c24
mov esi, eax
test esi, esi
jl 0x406cb6
inc esi
xor ebx, ebx
xor eax, eax
mov dword [edi + 4], eax
xor eax, eax
mov dword [edi + 0x10], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
call fcn.0040355c
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [edi + 0x1c], eax
push 0
push 0
push 0x406d18
push edi
call sub.mpr.dll_WNetAddConnection2A
test eax, eax
je 0x406c7e
push 0
push 0
push 0
push edi
call sub.mpr.dll_WNetAddConnection2A
test eax, eax
jne 0x406cb2
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
mov edx, dword [eax + ebx*4]
lea eax, [ebp - 0x34]
mov ecx, 0x406d24
call fcn.004033a8
mov eax, dword [ebp - 0x34]
xor edx, edx
call fcn.00408740
push 0xffffffffffffffff
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + ebx*4]
call fcn.0040355c
push eax
call sub.mpr.dll_WNetCancelConnectionA
inc ebx
dec esi
jne 0x406c3e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x406cca
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406d02
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00403140
lea eax, [ebp - 0xc]
mov edx, dword [0x406bac]
call fcn.00403de4
lea eax, [ebp - 4]
call fcn.0040311c
ret
Function at 0x4075f8
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe2c
mov dword [esp], eax
mov edi, 0x40b804
lea eax, [esp + 0x44]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, dword [esp]
call fcn.0040311c
push 0x40
lea eax, [esp + 8]
push eax
call sub.wsock32.dll_gethostname
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x407692
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x407686
test ebx, ebx
jne 0x407656
push dword [ebp]
call sub.wsock32.dll_inet_ntoa
mov edx, dword [esp]
call fcn.004047a0
mov eax, dword [edi]
call fcn.00403c1c
inc eax
push eax
mov eax, edi
mov ecx, 1
mov edx, dword [0x406a00]
call fcn.00403dd8
add esp, 4
mov eax, dword [edi]
call fcn.00403c24
mov edx, dword [edi]
mov ecx, dword [esi + ebx*4]
mov ecx, dword [ecx]
mov dword [edx + eax*4], ecx
inc ebx
mov ebp, dword [esi + ebx*4]
test ebp, ebp
jne 0x407642
call sub.wsock32.dll_WSACleanup
add esp, 0x1d4
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x407d90
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
mov eax, dword [ebp - 8]
call fcn.0040354c
xor eax, eax
push ebp
push 0x407f6a
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x20
call fcn.00402794
mov eax, dword [ebp - 4]
call fcn.0040355c
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x40], 2
mov dword [ebp - 0x3c], 2
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x48]
push eax
push 2
push 1
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x407f42
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x18], 0x2000
mov eax, dword [ebp - 0x18]
call fcn.00402494
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x407f29
cmp eax, 0xea
jne 0x407e80
mov dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0x18]
call fcn.004024d4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
jne 0x407f42
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
dec eax
test eax, eax
jl 0x407e19
inc eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x4c]
mov edx, dword [esi + 0x14]
add edx, 2
call fcn.00403314
mov eax, dword [ebp - 0x4c]
mov edx, dword [ebp - 8]
call fcn.004034a8
je 0x407f18
mov byte [ebp - 0x21], 0
mov eax, dword [0x40b808]
call fcn.00403c24
mov ebx, eax
test ebx, ebx
jl 0x407efc
inc ebx
xor edi, edi
lea eax, [ebp - 0x54]
mov edx, dword [esi + 0x14]
add edx, 2
call fcn.00403314
mov eax, dword [ebp - 0x54]
lea ecx, [ebp - 0x50]
lea edx, [ebp - 0x20]
call fcn.00405288
mov eax, dword [0x40b808]
mov eax, dword [eax + edi*4]
cmp eax, dword [ebp - 0x20]
jne 0x407ef8
mov byte [ebp - 0x21], 1
jmp 0x407efc
inc edi
dec ebx
jne 0x407ec9
cmp byte [ebp - 0x21], 0
jne 0x407f18
lea eax, [ebp - 0x58]
mov edx, dword [esi + 0x14]
add edx, 2
call fcn.00403314
mov eax, dword [ebp - 0x58]
call fcn.00406bd0
add esi, 0x20
dec dword [ebp - 0x28]
jne 0x407e97
jmp 0x407e19
mov eax, dword [ebp - 0x1c]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x407f42
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x10]
call fcn.004024b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407f71
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00403140
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403140
ret
Function at 0x408250
Capabilities:
Enumerate network shares

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
xor eax, eax
push ebp
push 0x4083b2
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
lea eax, [ebp - 0x38]
xor ecx, ecx
mov edx, 0x20
call fcn.00402794
mov eax, dword [ebp - 4]
call fcn.0040355c
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x38]
push eax
push 1
push 0
push 2
call sub.mpr.dll_WNetOpenEnumA
test eax, eax
jne 0x408394
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x2000
mov eax, dword [ebp - 0x14]
call fcn.00402494
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetEnumResourceA
cmp eax, 0x103
je 0x40837b
cmp eax, 0xea
jne 0x408319
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004024d4
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetEnumResourceA
test eax, eax
jne 0x408394
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 0x10]
dec esi
test esi, esi
jl 0x4082b2
inc esi
mov eax, dword [ebx]
call fcn.00403c1c
inc eax
push eax
mov eax, ebx
mov ecx, 1
mov edx, dword [0x4069d4]
call fcn.00403dd8
add esp, 4
mov eax, dword [ebx]
call fcn.00403c24
mov edx, dword [ebx]
lea eax, [edx + eax*4]
push eax
lea eax, [ebp - 0x3c]
mov edx, dword [edi + 0x14]
add edx, 2
call fcn.00403314
mov ecx, dword [ebp - 0x3c]
mov edx, 0x4083cc
pop eax
call fcn.004033a8
add edi, 0x20
dec esi
jne 0x408329
jmp 0x4082b2
mov eax, dword [ebp - 0x18]
push eax
call sub.mpr.dll_WNetCloseEnum
test eax, eax
jne 0x408394
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0xc]
call fcn.004024b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4083b9
lea eax, [ebp - 0x3c]
call fcn.0040311c
lea eax, [ebp - 4]
call fcn.0040311c
ret
Function at 0x40847c
Capabilities:
Get file size
Read file on windows
Timestomp file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
xor eax, eax
push ebp
push 0x408644
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov edx, 2
mov eax, dword [ebp - 4]
call fcn.00404904
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40862e
push 0
push ebx
call sub.kernel32.dll_GetFileSize
mov esi, eax
cmp esi, 0xa00000
jae 0x408628
cmp esi, dword [0x40b824]
jl 0x408553
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [0x40b824]
push eax
mov eax, dword [0x40b810]
push eax
push ebx
call sub.kernel32.dll_ReadFile
mov eax, dword [0x40b81c]
sub eax, dword [0x40b814]
add eax, dword [0x40b818]
mov dword [ebp - 0xc], eax
mov ecx, dword [0x40b81c]
sub ecx, dword [0x40b814]
mov edx, dword [0x40b814]
mov eax, dword [0x40b810]
call fcn.00408400
test al, al
je 0x40854f
mov eax, dword [0x40b814]
mov edx, dword [ebp - 0xc]
lea edx, [eax + edx]
mov eax, dword [0x40b810]
mov ecx, dword [ebp - 0xc]
add eax, ecx
mov ecx, dword [0x40b824]
sub ecx, dword [ebp - 0xc]
call fcn.00408400
test al, al
je 0x40854f
xor eax, eax
jmp 0x408555
mov al, 1
jmp 0x408555
mov al, 1
test al, al
je 0x408628
mov eax, esi
call fcn.00402494
mov edi, eax
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, edi
mov ecx, esi
mov eax, ebx
call fcn.004045f8
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_GetFileTime
push 0
push 0
push 0
push ebx
call sub.kernel32.dll_SetFilePointer
mov edx, dword [0x40b814]
mov ecx, dword [0x40b824]
mov eax, ebx
call fcn.00404980
mov edx, edi
mov ecx, esi
mov eax, ebx
call fcn.00404980
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
mov edx, esi
mov eax, edi
call fcn.00405064
test al, al
je 0x40860d
cmp dword [ebp - 0x28], 0
jbe 0x40860d
cmp dword [ebp - 0x2c], 0
je 0x40860d
mov esi, dword [0x40b81c]
sub esi, dword [0x40b814]
push 0
push 0
push esi
push ebx
call sub.kernel32.dll_SetFilePointer
cmp esi, eax
jne 0x40860d
mov edx, dword [ebp - 0x28]
mov eax, dword [0x40b818]
call fcn.00406ba4
mov ecx, eax
mov edx, dword [ebp - 0x2c]
mov eax, ebx
call fcn.00404980
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.kernel32.dll_SetFileTime
mov edx, esi
mov eax, edi
call fcn.004024b4
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40864b
lea eax, [ebp - 4]
call fcn.0040311c
ret
Function at 0x408658
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040354c
xor eax, eax
push ebp
push 0x408717
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
mov ecx, 0x408730
mov edx, dword [ebp - 4]
call fcn.004033a8
mov eax, dword [ebp - 0xc]
call fcn.004048f4
test al, al
jne 0x4086f4
lea eax, [ebp - 0x10]
mov ecx, 0x408730
mov edx, dword [ebp - 4]
call fcn.004033a8
mov eax, dword [ebp - 0x10]
call fcn.0040495c
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x4086f4
lea edx, [ebp - 8]
mov ecx, 1
mov eax, dword [ebp - 8]
call fcn.00404980
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle
push 6
lea eax, [ebp - 0x14]
mov ecx, 0x408730
mov edx, dword [ebp - 4]
call fcn.004033a8
mov eax, dword [ebp - 0x14]
call fcn.0040355c
push eax
call sub.kernel32.dll_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40871e
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00403140
lea eax, [ebp - 4]
call fcn.0040311c
ret

Function at 0x409038
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call fcn.0040354c
mov eax, dword [ebp - 0x18]
call fcn.0040354c
mov eax, dword [ebp - 0x1c]
call fcn.0040354c
xor eax, eax
push ebp
push 0x40913c
push dword fs:[eax]
mov dword fs:[eax], esp
push ebp
mov eax, dword [ebp - 0x14]
call fcn.0040355c
push eax
mov eax, dword [ebp - 0x18]
call fcn.0040355c
mov edx, eax
mov eax, dword [0x40b650]
pop ecx
call fcn.00408fc0
pop ecx
test al, al
je 0x409121
mov eax, dword [ebp - 0x1c]
call fcn.004048f4
test al, al
je 0x4090b2
mov eax, dword [ebp - 0x1c]
call fcn.0040355c
push eax
call sub.kernel32.dll_DeleteFileA
xor eax, eax
push ebp
push 0x409106
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80
push 2
push 0
push 0
push 0xc0000000
mov eax, dword [ebp - 0x1c]
call fcn.0040355c
push eax
call sub.kernel32.dll_CreateFileA
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.kernel32.dll_WriteFile_1
push ebx
call sub.kernel32.dll_CloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x409110
mov eax, dword [ebp - 0x10]
call fcn.0040453c
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_FreeResource
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409143
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.00403140
ret
Function at 0x53b730
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xde000]
push edi
jmp 0x53b74a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x53b751
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b740
mov eax, 1
add ebx, ebx
jne 0x53b763
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x53b774
jne 0x53b793
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b793
dec eax
add ebx, ebx
jne 0x53b780
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x53b758
add ebx, ebx
jne 0x53b78f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x53b7e5
xor ecx, ecx
sub eax, 3
jb 0x53b7ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x53b81a
sar eax, 1
mov ebp, eax
jmp 0x53b7b6
add ebx, ebx
jne 0x53b7b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b784
inc ecx
add ebx, ebx
jne 0x53b7c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x53b784
add ebx, ebx
jne 0x53b7d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x53b7c6
jne 0x53b7e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x53b7c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x53b804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x53b7f6
jmp 0x53b746
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x53b804
add edi, ecx
jmp 0x53b746
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x53b822
cmp byte [edi], 0x11
jne 0x53b822
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 0x53b827
lea edi, [esi + 0x134000]
mov eax, dword [edi]
or eax, eax
je 0x53b89f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19135c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1914d8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x53b854
mov ecx, edi
jns 0x53b883
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 + 0x1914dc]
or eax, eax
je 0x53b899
mov dword [ebx], eax
add ebx, 4
jmp 0x53b871
call dword [esi + 0x1914ec]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x53b8d0
cmp al, 0xef
ja 0x53b8c3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x53b8a5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x53b8b2
mov ebp, dword [esi + 0x1914e0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
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 0x53b904
sub esp, 0xffffff80
jmp 0x420577
Function at 0x40351c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x472020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4035b4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403594
xor eax, eax
push ebp
push 0x40358d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4035d0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403594
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x472020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x472020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404260
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x474048], 0
je 0x4042c1
cmp word [0x47421c], 0xd7b2
jne 0x404289
cmp dword [0x474224], 0
jbe 0x404289
mov eax, 0x474218
call dword [0x474234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x472090
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4042e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x472030], 0
jne 0x4042dd
push 0
push 0x472088
push 0x472090
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404414
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.0040270c
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x474049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4043dc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc