joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483fcc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 7
push 0
push 0
dec ecx
jne 0x483fd5
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00405098
mov eax, dword [ebp - 8]
call fcn.00405098
mov eax, dword [ebp + 0x10]
call fcn.00405098
xor eax, eax
push ebp
push 0x4841fc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov edx, dword [0x4b32a0]
mov edx, dword [edx]
call fcn.00404c3c
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 0x10]
call fcn.00404c80
mov eax, dword [ebp - 0x14]
mov edx, dword [0x4b32a0]
mov edx, dword [edx]
call fcn.00404ff4
je 0x484083
push 0x484214
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0x14]
lea eax, [ebp - 0x30]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x2c]
call fcn.00480a98
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x1c]
call fcn.00480b0c
push dword [ebp - 0x1c]
push 0x484220
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f68
jmp 0x4840c1
push 0x484214
lea eax, [ebp - 0x38]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 4]
call fcn.00404ef4
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x2c]
call fcn.00480a98
lea eax, [ebp - 0x2c]
lea edx, [ebp - 0x34]
call fcn.00480b0c
push dword [ebp - 0x34]
push 0x484220
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404f68
push 0x48422c
push dword [ebp - 0xc]
push 0x484244
mov eax, dword [ebp + 0xc]
mov edx, 3
call fcn.00404f68
mov dl, 1
mov eax, dword [0x41728c]
call fcn.00403d4c
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x4841bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
call fcn.00481140
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x4841a7
inc ebx
xor esi, esi
lea ecx, [ebp - 0x10]
mov edx, esi
mov eax, dword [ebp - 0x18]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, 0x484250
mov eax, dword [ebp - 0x10]
call fcn.004090dc
test al, al
jne 0x48419f
mov edx, 0x48425c
mov eax, dword [ebp - 0x10]
call fcn.004090dc
test al, al
jne 0x48419f
mov eax, dword [ebp - 0x10]
call fcn.004050a8
mov edi, eax
push edi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 3
jne 0x48419f
push edi
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 2
je 0x48419f
mov eax, dword [ebp - 0x10]
call fcn.00481200
test al, al
je 0x48419f
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x10]
call fcn.00404ef4
mov eax, dword [ebp - 0x3c]
call fcn.00409c6c
test al, al
je 0x48419f
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.00404ef4
jmp 0x4841a7
inc esi
dec ebx
jne 0x484116
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4841c4
mov eax, dword [ebp - 0x18]
call fcn.00403d7c
ret
Function at 0x484520
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
mov edi, ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x484630
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov eax, ebx
call fcn.004050a8
mov esi, eax
push esi
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x484615
mov eax, dword [ebp - 8]
call fcn.00408f04
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x48460d
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x484640
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
cmp dword [ebp - 0x10], 0
je 0x4845cb
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.00407c84
mov edx, dword [ebp - 0x10]
mov dx, word [edx]
call fcn.00407c78
lea ecx, [ebp - 0x14]
mov edx, 8
call fcn.00409868
push 0x484664
push dword [ebp - 0x14]
push 0x484680
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404f68
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
call fcn.004050a8
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x48460d
mov eax, edi
mov edx, dword [ebp - 0x10]
call fcn.00404de0
mov eax, dword [ebp - 0xc]
call fcn.00402b28
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484637
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404c0c
ret
Function at 0x4860a4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x41
push 0
push 0
dec ecx
jne 0x4860ac
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x486342
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c6408
call sub.kernel32.dll_EnterCriticalSection_1
xor eax, eax
push ebp
push 0x486305
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x4b3150]
cmp byte [eax], 1
jne 0x4860fb
mov eax, ebx
call fcn.00405478
push eax
call sub.kernel32.dll_OutputDebugStringW
jmp 0x4862ed
xor eax, eax
push ebp
push 0x4862b1
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x486358
call fcn.0040b5cc
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x1dc]
mov eax, 0x486364
call fcn.0040c2a0
push dword [ebp - 0x1dc]
push 0x486374
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404f68
mov eax, dword [ebp - 0x1d8]
push eax
lea edx, [ebp - 0x1e0]
xor eax, eax
call fcn.00402fa8
mov eax, dword [ebp - 0x1e0]
lea ecx, [ebp - 0x1d4]
pop edx
call fcn.00409efc
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 4]
call fcn.00405468
lea eax, [ebp - 0x1e8]
mov edx, dword [ebp - 4]
call fcn.00404e70
mov eax, dword [ebp - 0x1e8]
lea edx, [ebp - 0x1e4]
call fcn.00409f90
mov eax, dword [ebp - 0x1e4]
call fcn.00409c90
lea eax, [ebp - 0x1ec]
mov edx, dword [ebp - 4]
call fcn.00404e70
mov edx, dword [ebp - 0x1ec]
lea eax, [ebp - 0x1d0]
call fcn.00403388
xor eax, eax
push ebp
push 0x4862a0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x1f0]
mov edx, dword [ebp - 4]
call fcn.00404e70
mov eax, dword [ebp - 0x1f0]
call fcn.00409c5c
test al, al
je 0x4861ff
lea eax, [ebp - 0x1d0]
call fcn.00403124
call fcn.00402c84
jmp 0x48620f
lea eax, [ebp - 0x1d0]
call fcn.00403118
call fcn.00402c84
lea eax, [ebp - 0x1f4]
push eax
call fcn.0040b5f8
add esp, 0xfffffff8
fstp qword [esp]
wait
lea edx, [ebp - 0x208]
mov eax, 0x486384
call fcn.0040c2a0
mov eax, dword [ebp - 0x208]
mov dword [ebp - 0x204], eax
mov byte [ebp - 0x200], 0xb
mov dword [ebp - 0x1fc], ebx
mov byte [ebp - 0x1f8], 0xf
lea edx, [ebp - 0x204]
mov ecx, 1
mov eax, 0x4863a0
call fcn.0040a948
mov edx, dword [ebp - 0x1f4]
lea eax, [ebp - 0x1d0]
call fcn.00405298
call fcn.004037fc
call fcn.00402c84
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4862a7
lea eax, [ebp - 0x1d0]
call fcn.00403450
call fcn.00402c84
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48630c
push 0x4c6408
call sub.kernel32.dll_LeaveCriticalSection_1
ret

Function at 0x48766c
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
mov esi, eax
test esi, esi
jbe 0x48769e
push esp
push esi
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [esp]
push eax
push esi
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.kernel32.dll_CloseHandle_1
jmp 0x4876a0
mov bl, 1
mov eax, ebx
pop edx
pop esi
pop ebx
ret
Function at 0x487938
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe90
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x160], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405098
lea eax, [ebp - 0x15c]
mov edx, dword [0x40829c]
call fcn.004056dc
xor eax, eax
push ebp
push 0x487aff
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x160]
mov eax, dword [ebp - 4]
call fcn.0040e1a4
mov edx, dword [ebp - 0x160]
lea eax, [ebp - 4]
call fcn.00404c80
lea eax, [ebp - 0x164]
mov ecx, 0x487b14
mov edx, dword [ebp - 4]
call fcn.00404ef4
mov eax, dword [ebp - 0x164]
lea ecx, [ebp - 0x15c]
mov edx, 0x3f
call fcn.00409de4
mov esi, eax
xor eax, eax
push ebp
push 0x487ac1
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x487aa7
mov eax, dword [ebp - 0x150]
mov edx, 0x487b20
call fcn.00404ff4
je 0x487a92
mov eax, dword [ebp - 0x150]
mov edx, 0x487b2c
call fcn.00404ff4
je 0x487a92
test dword [ebp - 0x154], 0x10
setg al
test al, bl
je 0x487a6d
lea eax, [ebp - 0x168]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404ef4
mov eax, dword [ebp - 0x168]
mov dl, 1
call fcn.00487938
lea eax, [ebp - 0x16c]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404ef4
mov eax, dword [ebp - 0x16c]
call fcn.004050a8
push eax
call sub.kernel32.dll_RemoveDirectoryA_1
jmp 0x487a92
lea eax, [ebp - 0x170]
mov ecx, dword [ebp - 0x150]
mov edx, dword [ebp - 4]
call fcn.00404ef4
mov eax, dword [ebp - 0x170]
call fcn.004050a8
push eax
call sub.kernel32.dll_DeleteFileA
lea eax, [ebp - 0x15c]
call fcn.00409e34
mov esi, eax
test esi, esi
je 0x4879ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x487ac8
mov eax, dword [ebp - 0x148]
push eax
call sub.kernel32.dll_FindClose_1
ret
Function at 0x487ec8
Capabilities:
Acquire debug privileges
Terminate process

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeac
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x14c], edx
mov dword [ebp - 0x154], edx
mov dword [ebp - 0x150], edx
mov dword [ebp - 0x13c], edx
mov dword [ebp - 0x148], edx
mov dword [ebp - 0x140], edx
mov dword [ebp - 0x144], edx
mov dword [ebp - 0x138], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405098
xor eax, eax
push ebp
push 0x4880b4
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.0040a0ac
mov edx, dword [ebp - 0x138]
mov eax, dword [ebp - 4]
call fcn.004090dc
test al, al
je 0x488075
mov byte [ebp - 5], 0
xor eax, eax
mov cl, 1
mov edx, 0x4880cc
call fcn.00487e30
xor edx, edx
mov eax, 2
call fcn.0047f464
mov esi, eax
mov dword [ebp - 0x134], 0x128
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.0047f484
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x48805d
lea eax, [ebp - 0x144]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404e58
mov eax, dword [ebp - 0x144]
lea edx, [ebp - 0x140]
call fcn.0040a0ac
mov eax, dword [ebp - 0x140]
lea edx, [ebp - 0x13c]
call fcn.00408f98
mov eax, dword [ebp - 0x13c]
push eax
lea edx, [ebp - 0x148]
mov eax, dword [ebp - 4]
call fcn.00408f98
mov edx, dword [ebp - 0x148]
pop eax
call fcn.00404ff4
je 0x488029
lea eax, [ebp - 0x150]
lea edx, [ebp - 0x110]
mov ecx, 0x104
call fcn.00404e58
mov eax, dword [ebp - 0x150]
lea edx, [ebp - 0x14c]
call fcn.00408f98
mov eax, dword [ebp - 0x14c]
push eax
lea edx, [ebp - 0x154]
mov eax, dword [ebp - 4]
call fcn.00408f98
mov edx, dword [ebp - 0x154]
pop eax
call fcn.00404ff4
jne 0x48804a
push 0
mov eax, dword [ebp - 0x12c]
push eax
push 0
push 1
call sub.kernel32.dll_OpenProcess
push eax
call sub.kernel32.dll_TerminateProcess
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
lea edx, [ebp - 0x134]
mov eax, esi
call fcn.0047f4a4
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x487f84
push esi
call sub.kernel32.dll_CloseHandle_1
jmp 0x48808e
mov eax, dword [ebp - 0xc]
call fcn.0048766c
push 0
push 0
lea edx, [ebp - 0xc]
xor ecx, ecx
mov eax, dword [ebp - 4]
call fcn.004871f4
test al, al
jne 0x48806d
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4880bb
lea eax, [ebp - 0x154]
mov edx, 8
call fcn.00404c0c
lea eax, [ebp - 4]
call fcn.00404be8
ret
Function at 0x48b20c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
test esi, esi
js 0x48b226
shr esi, 2
mov edi, dword [ebx + esi*4]
dec esi
push edi
jns 0x48b21f
mov dword [ebp + 0xc], esp
lea eax, [ecx + 1]
mov ecx, eax
dec ecx
test ecx, ecx
jl 0x48b244
inc ecx
mov eax, edx
mov edx, dword [ebp + 0xc]
mov bl, byte [eax]
xor bl, byte [edx]
mov byte [eax], bl
inc edx
inc eax
dec ecx
jne 0x48b239
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov ebx, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8
Function at 0x48c8dc
Capabilities:
Hash data with md5

Disassembly:
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
xor edx, edx
mov dword [eax + 0x10], edx
xor edx, edx
mov dword [eax + 0x14], edx
add eax, 0x18
mov edx, 0x40
call fcn.00407ca0
ret

Function at 0x48d488
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
mov ebx, eax
push 0x48d5b0
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 4], eax
push 0x48d5c4
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 8], eax
push 0x48d5d8
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0xc], eax
push 0x48d5ec
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x10], eax
push 0x48d600
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x14], eax
push 0x48d610
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x18], eax
push 0x48d620
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x1c], eax
push 0x48d62c
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x20], eax
push 0x48d644
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x24], eax
push 0x48d660
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x28], eax
push 0x48d670
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x2c], eax
push 0x48d678
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x30], eax
push 0x48d688
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x34], eax
push 0x48d698
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x38], eax
push 0x48d6a8
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x3c], eax
push 0x48d6b8
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x40], eax
push 0x48d6c4
mov eax, dword [ebx + 0x48]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0x44], eax
pop ebx
ret
Function at 0x492c44
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x492cb3
push dword fs:[eax]
mov dword fs:[eax], esp
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404e58
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0040e1a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492cba
lea eax, [ebp - 0x104]
call fcn.00404be8
ret

Function at 0x492dc8
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff6c
push ebx
push esi
push edi
xor ecx, ecx
push ebp
push 0x492e30
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor ebx, ebx
mov dword [ebp - 0x94], 0x94
lea eax, [ebp - 0x94]
push eax
call sub.kernel32.dll_GetVersionExA
test eax, eax
je 0x492e26
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x84]
dec ecx
je 0x492e1a
dec ecx
jne 0x492e26
xor ebx, ebx
jmp 0x492e26
cmp eax, 4
jne 0x492e26
cmp edx, 0xa
jne 0x492e26
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x492e3c
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x492e48
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x492ece
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00492dc8
test al, al
jne 0x492eae
push pe_nt_image_headers32
lea eax, [ebp - 0x100]
push eax
push 0x492edc
call sub.kernel32.dll_GetEnvironmentVariableA
lea eax, [ebp - 0x104]
lea edx, [ebp - 0x100]
mov ecx, pe_nt_image_headers32
call fcn.00404e58
mov eax, dword [ebp - 0x104]
mov edx, ebx
call fcn.0040e1a4
jmp 0x492eb5
mov eax, ebx
call fcn.00492cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x492ed5
lea eax, [ebp - 0x104]
call fcn.00404be8
ret
Function at 0x4930c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x4930c8
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x493224
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00492eec
test al, al
je 0x4930fa
xor edx, edx
mov eax, 0x493238
call fcn.00485f04
jmp 0x4931d9
lea eax, [ebp - 8]
call fcn.00492b1c
mov esi, 2
mov ebx, 0x4b23b4
lea edx, [ebp - 0xc]
mov eax, dword [ebx]
call fcn.00492fdc
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
mov ecx, dword [ebp - 8]
call fcn.00404ef4
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov edx, 0x4932a4
call fcn.00404ef4
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
call fcn.00405468
mov eax, dword [ebp - 0x10]
xor edx, edx
call fcn.00485f04
mov eax, dword [ebp - 4]
call fcn.00409c5c
test al, al
je 0x4931aa
mov eax, dword [ebp - 4]
call fcn.004050a8
push eax
call sub.kernel32.dll_DeleteFileA
test eax, eax
jne 0x4931aa
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x2c]
mov ecx, 1
mov eax, 0x4932c8
call fcn.0040a948
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.00405468
mov eax, dword [ebp - 0x18]
xor ecx, ecx
xor edx, edx
call fcn.004863c4
lea eax, [ebp - 0x34]
mov ecx, dword [ebp - 4]
mov edx, 0x4932f4
call fcn.00404ef4
mov edx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
call fcn.00405468
mov eax, dword [ebp - 0x30]
xor edx, edx
call fcn.00485fd4
add ebx, 4
dec esi
jne 0x49310c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49322b
lea eax, [ebp - 0x34]
call fcn.00404be8
lea eax, [ebp - 0x30]
call fcn.00405304
lea eax, [ebp - 0x1c]
call fcn.00404be8
lea eax, [ebp - 0x18]
call fcn.00405304
lea eax, [ebp - 0x14]
call fcn.00404be8
lea eax, [ebp - 0x10]
call fcn.00405304
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404c0c
ret

Function at 0x499c9c
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x499cca
mov eax, ebx
call fcn.0049a750
cmp dword [ebx + 0x40], 0
je 0x499cc3
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x499d3b
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x499d2d
cmp dword [ebx + 8], 0
je 0x499cec
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x499cfe
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x499d2d
cmp dword [ebx + 8], 0
je 0x499cdf
cmp eax, 3
je 0x499d11
dec eax
jne 0x499cdf
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x499cdf
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x499cdf
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x499d59
cmp dword [ebx + 0x14], 0xcc
je 0x499d59
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00499d64
pop ebx
ret
Function at 0x402f37
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
nop
nop
nop
nop
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 1
jne 0x402fca
push OleUIBusyA
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x402f78
mov eax, 0x4722d5
push eax
push 1
mov ebx, 0x25c
call fcn.00446f90
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x20
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.00446fa0
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x402fd4
mov eax, 0
jmp 0x402fd4
mov esp, ebp
pop ebp
ret 4

Function at 0x403004
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [0x49d83f], eax
call fcn.00403157
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 0x49d80b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + pe_nt_image_headers32]
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x40304a
push ebx
call fcn.004435a3
add esp, 4
push 0x81
call fcn.00403226
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
push 1
push dword [ebp - 8]
push 0x49d80b
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 0x1a4]
push 0x417fcb
push 0x3e8
push 1
push dword [0x49d83f]
push 0x49d843
mov eax, dword [esp]
mov eax, dword [eax]
mov eax, dword [eax]
call dword [eax + 8]
push ioctlsocket
push 0
push 0x41b455
push 1
mov ebx, 0x9dc
call fcn.00446fc0
add esp, 0x10
push eax
push 0xfffffffc
push dword [0x49d83f]
call dword [sym.imp.USER32.dll_SetWindowLongA]
nop
nop
nop
nop
mov dword [0x49d847], eax
push dword [0x49d803]
call fcn.0040324d
call fcn.004045d5
push 0
push 0
push 0
push 0x41b876
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
nop
nop
nop
nop
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x403132
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
nop
nop
mov dword [ebp - 4], 0
jmp 0x403151
push 4
push 0
push 0x401
push dword [0x49d83f]
call dword [sym.imp.USER32.dll_PostMessageA]
nop
nop
nop
nop
mov esp, ebp
pop ebp
ret 4