joyce8/EMBER2024-capa huggingface dataset:
Function at 0x441aa5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x441b5a
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x441b39
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x441b14
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
jmp 0x441b37
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x441b37
push 0x2225
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
jmp 0x441b58
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
push 0
push 0
push dword [ebp - 0x34]
push 0x3aab
push 0x63c0
call fcn.00432ee1
add esp, 0x14
jmp 0x441ba9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x3c], eax
push 0x3730
push 0x4bfa
push dword [ebp - 0x38]
push 0x3356
push 0x14f
push 1
push 0
push dword [ebp - 0x3c]
push 0x6d39
push 0x2f38
push 0x7afc
push dword [ebp - 0x40]
push 0x1f75
call fcn.0043535e
add esp, 0x34
mov esp, ebp
pop ebp
ret
Function at 0x4432e1
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x443328
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
push eax
push dword [ebp - 8]
push 1
push 1
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call fcn.00443416
add esp, 0x18
jmp 0x443412
lea eax, [ebp + 0x28]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax]
test eax, eax
je 0x4433ce
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x443396
push 0
push 0x7e9
push 0
push 0
push 0x77d
push 0xe4f
push 0x268c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_ExtTextOutA]
jmp 0x4433cc
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x4433cc
push 0x1cc
push 0x1730
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
jmp 0x443412
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x4433ee
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
jmp 0x443412
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x443412
push 0
push 0x2a01
call fcn.00444b4f
pop ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x444bfa
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push esi
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x444d6d
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax]
test eax, eax
je 0x444c88
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x444c72
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
add eax, 0x24
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x444c83
push 0x1575
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x444d6b
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x444d59
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.0042bd87
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x64]
cmp dword [eax], 0xff57
jne 0x444cf8
mov dword [ebp - 0x10], 1
jmp 0x444cfc
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 4]
mov esi, dword [eax]
push 2
mov ecx, dword [ebp - 0xc]
call fcn.0042bd87
cmp esi, dword [eax]
jne 0x444d20
mov dword [ebp - 0x14], 1
jmp 0x444d24
and dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jge 0x444d35
mov dword [ebp - 0x18], 1
jmp 0x444d39
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0x687e
jl 0x444d4b
mov dword [ebp - 0x1c], 1
jmp 0x444d4f
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x444d6b
push 0x943
push 0x120b
push 0
call dword [sym.imp.USER32.dll_DeleteMenu]
jmp 0x444d98
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x68], eax
push 0x250a
push 0x4057
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push 0
push 0x7be1
call fcn.0044a3a1
add esp, 0x18
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44d20b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x44d2c2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x44d24f
push 1
push 0x2dd5
call fcn.0044d2e9
pop ecx
pop ecx
jmp 0x44d2c0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x44d275
push 0
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
jmp 0x44d2c0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x44d2a3
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x44d2c0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x2c]
call fcn.0042bd87
mov dword [eax], 0x1aa435c5
jmp 0x44d298
jmp 0x44d2e5
push 0x3c4
push 0x17ad
push 0x2f81
push 0x47fb
push 0
push 0x19fa
call fcn.00437841
add esp, 0x18
mov esp, ebp
pop ebp
ret
Function at 0x451aa9
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x451aca
push 1
push 0x3fb8
call fcn.00451bad
pop ecx
pop ecx
jmp 0x451ba9
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 8], eax
lea eax, [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
lea eax, [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
movzx eax, byte [eax]
test eax, eax
je 0x451b89
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c]
movzx eax, byte [eax]
test eax, eax
je 0x451b6b
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x451b4c
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x451b69
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x30]
call fcn.0042bd87
mov dword [eax], 0x55bb2c21
jmp 0x451b41
jmp 0x451b87
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x451b87
call dword [sym.imp.KERNEL32.dll_GetConsoleCP]
jmp 0x451ba9
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x451ba3
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
jmp 0x451ba9
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
mov esp, ebp
pop ebp
ret
Function at 0x45e2a5
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push edi
mov dword [ebp - 0xc], ebx
xor edi, edi
mov dword [ebp - 8], 0x9c28ade1
inc edi
mov dword [ebp - 8], ebx
jmp 0x45e2ce
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc], ebx
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x45e2c4
mov dword [ebp - 8], ebx
jmp 0x45e2e6
mov eax, dword [ebp - 8]
mov dword [ebp + eax*4 - 0xc], 0x29be
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jl 0x45e2d8
mov dword [ebp - 8], ebx
cmp dword [ebp - 8], ebx
jl 0x45e31e
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x45e319
push 0x1c40
push 0x17c2
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
dec dword [ebp - 8]
jns 0x45e2f3
push esi
push edi
push 0x2351
push edi
push 0x6599
push 0x7ea9
push edi
call fcn.004521ad
push esi
call fcn.00426f70
mov dword [ebp - 8], 2
add esp, 0x20
mov byte [ebp - 1], bl
mov esi, eax
cmp byte [ebp - 1], bl
je 0x45e358
push ebx
push ebx
call dword [sym.imp.USER32.dll_EnumWindows]
mov byte [ebp - 1], bl
cmp byte [ebp - 1], bl
je 0x45e37b
push 0x194a
push 0x1e5
push 0x219
push 0x242
push ebx
call dword [sym.imp.USER32.dll_CheckMenuRadioItem]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x47fdb5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x48ddff
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4a0484]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0047dc14
mov dword [ebp - 0x14], eax
cmp dword [0xa9a190], esi
jne 0x48def2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x48de7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x48dfd2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x48dfd2
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48dfd2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0xa9a190], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0xa9a194], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0xa9a198], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9a1a0], eax
test eax, eax
je 0x48deef
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0xa9a19c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x48df17
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48df0a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x48df2c
push 4
pop eax
jmp 0x48dfd4
cmp dword [ebp - 0x14], esi
je 0x48df2c
push dword [0xa9a190]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x48df11
mov eax, dword [0xa9a19c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x48df8a
cmp dword [0xa9a1a0], edi
je 0x48df8a
push eax
call ebx
push dword [0xa9a1a0]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x48df8a
test eax, eax
je 0x48df8a
call ecx
test eax, eax
je 0x48df7f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x48df7f
test byte [ebp - 8], 1
jne 0x48df8a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x48dfba
mov eax, dword [0xa9a194]
cmp eax, edi
je 0x48dfb7
push eax
call ebx
test eax, eax
je 0x48dfb7
call eax
mov esi, eax
test esi, esi
je 0x48dfb7
mov eax, dword [0xa9a198]
cmp eax, edi
je 0x48dfb7
push eax
call ebx
test eax, eax
je 0x48dfb7
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0xa9a190]
call ebx
test eax, eax
je 0x48dfd2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x48dfd4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0047d0bb
mov esp, ebp
pop ebp
ret
Function at 0x40bd80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x844
push esi
mov esi, eax
push esi
call fcn.0040a384
cmp eax, 0x3f6
jae 0x40bf94
push ebx
push edi
push 0x3c
pop edi
push edi
xor ebx, ebx
push ebx
lea eax, [ebp - 0x44]
push eax
call fcn.0040a289
mov cl, byte [esi]
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], 0x5c0
cmp cl, 0x22
jne 0x40bdc8
lea eax, [esi + 1]
mov dword [ebp - 0x34], eax
jmp 0x40bdcb
mov dword [ebp - 0x34], esi
xor eax, eax
cmp cl, bl
je 0x40be10
mov ecx, esi
cmp byte [ecx], 0x22
jne 0x40bdec
jmp 0x40bde0
cmp byte [eax + esi], 0x22
je 0x40bde8
inc eax
cmp byte [eax + esi], bl
jne 0x40bdda
jmp 0x40bdec
mov byte [eax + esi], 0x20
cmp byte [eax + esi], 0x20
je 0x40be03
cmp byte [eax + esi + 1], 0x2f
je 0x40be03
inc eax
lea ecx, [eax + esi]
cmp byte [ecx], bl
jne 0x40bdd3
jmp 0x40be10
add eax, esi
cmp byte [eax], 0x20
jne 0x40be0c
mov byte [eax], bl
inc eax
mov dword [ebp - 0x30], eax
cmp byte [ebp + 8], bl
jne 0x40be24
cmp byte [0x41a392], bl
je 0x40be24
mov dword [ebp - 0x30], 0x41a392
push dword [ebp - 0x34]
mov dword [ebp - 0x28], 1
call fcn.00407690
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40be50
push str..inf
push eax
call fcn.0040a59a
test eax, eax
jne 0x40be50
mov dword [ebp - 0x38], str.Install
push ebx
push dword [ebp - 0x34]
call fcn.00405767
mov byte [ebp - 1], al
cmp al, bl
je 0x40be78
lea eax, [ebp - 0x844]
push eax
push dword [ebp - 0x34]
call fcn.00405822
lea eax, [ebp - 0x844]
mov dword [ebp - 0x34], eax
cmp byte [ebp + 8], bl
je 0x40beb7
cmp byte [ebp - 1], bl
jne 0x40beb7
push dword [ebp - 0x34]
lea eax, [ebp - 0x444]
push eax
call fcn.0040a477
push str..exe
lea eax, [ebp - 0x444]
push eax
call fcn.0040a5e2
push ebx
lea eax, [ebp - 0x444]
push eax
call fcn.00405767
test al, al
je 0x40bf92
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
lea eax, [ebp - 0x44]
push eax
call edi
test eax, eax
setne al
cmp al, bl
jne 0x40bee9
and dword [ebp - 0x40], 0xfffffbff
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x34], esi
call edi
test eax, eax
setne al
cmp al, bl
je 0x40bf92
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 1], bl
cmp byte [0x419f88], bl
jne 0x40beff
cmp byte [ebp + 8], bl
je 0x40bf36
mov eax, dword [0x419f80]
cmp eax, ebx
je 0x40bf20
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40bf20
push ebx
push dword [0x419f80]
call esi
mov byte [ebp - 1], 1
push 0x7d0
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push dword [ebp - 0xc]
call fcn.0040b6ea
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 8], ebx
je 0x40bf55
push str..exe
push dword [ebp - 8]
call fcn.0040a59a
test eax, eax
je 0x40bf83
cmp byte [0x419f88], bl
je 0x40bf69
cmp byte [ebp + 8], bl
jne 0x40bf69
push 0x1b58
jmp 0x40bf7d
xor eax, eax
cmp byte [ebp + 8], bl
sete al
dec eax
and eax, 0xfffffce0
add eax, 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [ebp - 1], bl
je 0x40bf92
push 1
push dword [0x419f80]
call esi
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x10017fd
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1001dd8
call fcn.010019a4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x100357c
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001612
cmp eax, esi
jne 0x1001605
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1001615
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10015ec
xor esi, esi
inc esi
mov eax, dword [0x1003578]
cmp eax, esi
jne 0x1001628
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001663
mov eax, dword [0x1003578]
test eax, eax
jne 0x100165d
mov dword [0x1003578], esi
push 0x1001104
push 0x10010f8
call fcn.01001569
pop ecx
pop ecx
test eax, eax
je 0x1001663
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x100172d
mov dword [0x10030a0], esi
mov eax, dword [0x1003578]
cmp eax, esi
jne 0x1001687
push 0x10010f4
push 0x10010ec
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1003578], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1001694
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1003580], ebx
je 0x10016b5
push 0x1003580
call fcn.01001919
pop ecx
test eax, eax
je 0x10016b5
push ebx
push 2
push ebx
call dword [0x1003580]
push dword [0x1003088]
push dword [0x100308c]
push dword [0x1003084]
call fcn.01001493
add esp, 0xc
mov dword [0x100309c], eax
cmp dword [0x1003090], ebx
jne 0x1001713
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x10030a0], ebx
jne 0x1001721
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100309c]
call fcn.010019e9
ret
call fcn.01001af1
jmp 0x10015ca

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [sym.imp.WS2_32.dll_send]
push 0xa
pop esi
jmp 0x1001d96
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2747
jne 0x1001dab
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
imul esi, esi, 0xa
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call edi
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1001d7f
pop edi
pop esi
mov eax, ebx
pop ebx
pop ebp
ret 0x10

Function at 0x431001
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40915c
nop
mov ecx, 0x70701c8a
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43104e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x431024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x3ec0ea9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219
Function at 0x405330
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44dd28
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x45e200]
xor eax, esp
mov dword [esp + 0x1e8], eax
push ebx
push esi
push edi
mov eax, dword [0x45e200]
xor eax, esp
push eax
lea eax, [esp + 0x200]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
xor ebx, ebx
push 0x103
lea ecx, [esp + 0xf1]
push ebx
push ecx
mov byte [esp + 0xf8], bl
call fcn.00433c80
add esp, 0xc
push 2
mov esi, 0xf
push 0x454f90
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x40], ebx
mov byte [esp + 0x30], bl
call fcn.004048c0
mov dword [esp + 0x208], ebx
push 2
push 0x454f94
lea ecx, [esp + 0x48]
mov dword [esp + 0x60], esi
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x4c], bl
call fcn.004048c0
mov byte [esp + 0x208], 1
push 2
push 0x454f98
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
call fcn.004048c0
mov byte [esp + 0x208], 2
push 2
push 0x454f9c
lea ecx, [esp + 0x80]
mov dword [esp + 0x98], esi
mov dword [esp + 0x94], ebx
mov byte [esp + 0x84], bl
call fcn.004048c0
mov byte [esp + 0x208], 3
push 2
push 0x454fa0
lea ecx, [esp + 0x9c]
mov dword [esp + 0xb4], esi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.004048c0
mov byte [esp + 0x208], 4
push 2
push 0x454fa4
lea ecx, [esp + 0xb8]
mov dword [esp + 0xd0], esi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.004048c0
mov byte [esp + 0x208], 5
push 2
push 0x454fa8
lea ecx, [esp + 0xd4]
mov dword [esp + 0xec], esi
mov dword [esp + 0xe8], ebx
mov byte [esp + 0xd8], bl
call fcn.004048c0
mov dword [esp + 0x208], 6
movzx eax, word [esp + 0x18]
lea edx, [eax*8]
sub edx, eax
cmp dword [esp + edx*4 + 0x3c], 0x10
lea eax, [esp + edx*4 + 0x24]
jb 0x4054ed
mov eax, dword [eax + 4]
jmp 0x4054f0
add eax, 4
movzx ecx, word [esp + 0x1a]
movzx edx, word [esp + 0x16]
push ecx
push edx
push eax
push 0x454fac
lea edx, [esp + 0xfc]
call fcn.00403d70
mov eax, dword [edi + 4]
push eax
lea edi, [esp + 0x100]
mov esi, 0x7d3
call fcn.0040b160
add esp, 0x14
push fcn.00404350
push 7
push 0x1c
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x218], 0xffffffff
call fcn.00432ee1
mov ecx, dword [esp + 0x200]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1e8]
xor ecx, esp
call fcn.0043270e
mov esp, ebp
pop ebp
ret