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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x469038
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4691d5
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, dword [ebx + 0x10]
mov edx, 0x4691ec
call fcn.004047d8
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0xb
mov eax, dword [ebx + 8]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0
mov eax, dword [ebx + 4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 0xc], 0
lea edx, [ebp - 0x28]
mov ecx, 3
mov eax, 0x469200
call fcn.0040999c
mov edx, dword [ebp - 8]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x2c]
mov ecx, dword [ebx + 0x14]
mov edx, 0x469220
call fcn.004047d8
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x30]
mov ecx, dword [ebx + 0x20]
mov edx, 0x469230
call fcn.004047d8
mov edx, dword [ebp - 0x30]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x34]
mov ecx, dword [ebx + 0x1c]
mov edx, 0x469248
call fcn.004047d8
mov edx, dword [ebp - 0x34]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x38]
mov ecx, dword [ebx + 0x24]
mov edx, 0x469264
call fcn.004047d8
mov edx, dword [ebp - 0x38]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x3c]
mov ecx, dword [ebx + 0x28]
mov edx, 0x469288
call fcn.004047d8
mov edx, dword [ebp - 0x3c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x40]
mov ecx, dword [ebx + 0x34]
mov edx, 0x46929c
call fcn.004047d8
mov edx, dword [ebp - 0x40]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x44]
mov ecx, dword [ebx + 0x38]
mov edx, 0x4692b8
call fcn.004047d8
mov edx, dword [ebp - 0x44]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x48]
mov ecx, dword [ebx + 0x30]
mov edx, 0x4692d0
call fcn.004047d8
mov edx, dword [ebp - 0x48]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
mov edx, 0x4692e8
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
mov edx, dword [ebx + 0x2c]
mov ecx, dword [eax]
call dword [ecx + 0x40]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4691dc
lea eax, [ebp - 0x48]
mov edx, 8
call fcn.004044f8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004044f8
ret
Function at 0x46a1b4
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46a263
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00409434
mov esi, eax
push esi
push 0xff
call sub.kernel32.dll_GetLogicalDriveStringsA
mov ebx, eax
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.004044d4
mov edi, ebx
test edi, edi
jl 0x46a246
inc edi
xor ebx, ebx
cmp byte [esi + ebx], 0
je 0x46a23b
mov al, byte [esi + ebx]
mov edx, eax
add dl, 0xbf
sub dl, 0x1a
jb 0x46a219
add al, 0x9f
sub al, 0x1a
jae 0x46a242
mov al, byte [esi + ebx]
call fcn.00402b24
mov edx, eax
lea eax, [ebp - 8]
call fcn.004046b4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
add eax, 0x40
call fcn.00404794
jmp 0x46a242
cmp byte [esi + ebx + 1], 0
je 0x46a246
inc ebx
dec edi
jne 0x46a200
mov eax, esi
call fcn.00409480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a26a
lea eax, [ebp - 8]
call fcn.004044d4
ret

Function at 0x46a274
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x1c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46a36d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00409434
mov dword [ebp - 8], eax
lea edx, [ebx + 4]
lea eax, [ebp - 0x20]
call fcn.00402f40
mov edx, 0x46a380
lea eax, [ebp - 0x20]
mov cl, 3
call fcn.00402f10
lea edx, [ebp - 0x20]
lea eax, [ebp - 0x1c]
call fcn.00404730
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.004092c0
push 1
call sub.kernel32.dll_SetErrorMode
mov word [ebp - 4], ax
xor eax, eax
push ebp
push 0x46a350
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x46a322
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetDiskFreeSpaceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46a330
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a357
mov eax, dword [ebp - 8]
call fcn.00409480
movzx eax, word [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
Function at 0x46b840
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46b848
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46b975
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov ecx, dword [ebx + 4]
mov edx, 0x46b98c
call fcn.004047d8
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 8]
mov ecx, dword [ebx + 0x10]
mov edx, 0x46b99c
call fcn.004047d8
mov edx, dword [ebp - 8]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0xc]
mov ecx, dword [ebx + 0x2c]
mov edx, 0x46b9ac
call fcn.004047d8
mov edx, dword [ebp - 0xc]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x10]
mov ecx, dword [ebx + 0x28]
mov edx, 0x46b9c0
call fcn.004047d8
mov edx, dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x14]
mov ecx, dword [ebx + 0x30]
mov edx, 0x46b9dc
call fcn.004047d8
mov edx, dword [ebp - 0x14]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x18]
mov ecx, dword [ebx + 0x24]
mov edx, 0x46b9f0
call fcn.004047d8
mov edx, dword [ebp - 0x18]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push dword [ebx + 0xc]
push dword [ebx + 8]
lea eax, [ebp - 0x20]
call fcn.0040b31c
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x46ba10
call fcn.004047d8
mov edx, dword [ebp - 0x1c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
fld xword [ebx + 0x18]
add esp, 0xfffffff8
fistp qword [esp]
wait
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
xor edx, edx
mov al, 1
call fcn.00464d60
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x46ba24
call fcn.004047d8
mov edx, dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b97c
lea eax, [ebp - 0x28]
mov edx, 0xa
call fcn.004044f8
ret
Function at 0x46ba38
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x46ba40
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46bbfc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [esi]
mov edx, 0x46bc14
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 4]
mov edx, dword [ebx + 4]
mov eax, 0x46bc2c
call fcn.00464270
mov edx, dword [ebp - 4]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
mov edx, dword [ebx + 0x10]
mov eax, 0x46bc3c
call fcn.00464270
mov edx, dword [ebp - 8]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xc]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x2c]
mov eax, 0x46bc2c
call fcn.00464270
push dword [ebp - 0x14]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x28]
mov eax, 0x46bc4c
call fcn.00464270
push dword [ebp - 0x18]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x30]
mov eax, 0x46bc60
call fcn.00464270
push dword [ebp - 0x1c]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
mov edx, dword [ebx + 0x24]
mov eax, 0x46bc70
call fcn.00464270
push dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.0040484c
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov eax, 0x46bc88
call fcn.00464270
mov edx, dword [ebp - 0xc]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
push dword [ebx + 0xc]
push dword [ebx + 8]
lea eax, [ebp - 0x28]
call fcn.0040b31c
mov edx, dword [ebp - 0x28]
lea ecx, [ebp - 4]
mov eax, 0x46bc98
call fcn.00464270
mov edx, dword [ebp - 0x24]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
push 0xffffffffffffffff
lea eax, [ebp - 4]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x2c]
push eax
fld xword [ebx + 0x18]
add esp, 0xfffffff8
fistp qword [esp]
wait
lea eax, [ebp - 0x30]
push eax
xor ecx, ecx
xor edx, edx
mov al, 1
call fcn.00464d60
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 4]
mov eax, 0x46bcac
call fcn.00464270
mov edx, dword [ebp - 0x2c]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [esi]
mov edx, 0x46bcbc
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46bc03
lea eax, [ebp - 0x30]
mov edx, 0xc
call fcn.004044f8
ret
Function at 0x46bccc
Capabilities:
Initialize winsock library

Disassembly:
push ebx
add esp, 0xfffffe70
mov ebx, eax
push esp
push 0x101
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x46bd2a
lea eax, [ebx + 4]
lea edx, [esp + 4]
mov ecx, 0x101
call fcn.0040473c
lea eax, [ebx + 8]
lea edx, [esp + 0x105]
mov ecx, 0x81
call fcn.0040473c
mov ax, word [esp + 2]
shr ax, 8
mov word [ebx + 0xc], ax
mov ax, word [esp + 2]
and ax, 0xff
mov word [ebx + 0xe], ax
call sub.wsock32.dll_WSACleanup
jmp 0x46bd37
lea eax, [ebx + 8]
mov edx, 0x46bd48
call fcn.00404528
add esp, 0x190
pop ebx
ret

Function at 0x46bd68
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffe30
mov ebp, edx
lea eax, [esp + 0x40]
push eax
push 0x101
call sub.wsock32.dll_WSAStartup
mov eax, ebp
call fcn.004044d4
push 0x40
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
push esp
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x46bdc2
mov esi, dword [eax + 0xc]
xor ebx, ebx
jmp 0x46bdb6
push dword [edi]
call sub.wsock32.dll_inet_ntoa
mov edx, ebp
call fcn.00409420
inc ebx
mov edi, dword [esi + ebx*4]
test edi, edi
jne 0x46bda7
call sub.wsock32.dll_WSACleanup
add esp, 0x1d0
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4825d8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x482650
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00404984
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x48263a
lea eax, [ebp - 8]
mov edx, edi
call fcn.00404b10
mov eax, dword [ebp - 8]
call fcn.00404984
push eax
push edi
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00404984
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x482657
lea eax, [ebp - 8]
call fcn.004044d4
ret

Function at 0x482660
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x482675
add esp, 0xfffffff0
call fcn.00403aac
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00404984
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x4826aa
mov ecx, dword [0x489130]
mov dl, 1
mov eax, dword [0x482540]
call fcn.004820c0
call fcn.00403f14
lea eax, [ebx + 4]
mov edx, esi
call fcn.00404b10
mov eax, dword [ebx + 4]
call fcn.00404984
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.00404984
push eax
call sub.version.dll_GetFileVersionInfoA
call fcn.0040cef4
mov eax, ebx
call fcn.00482bec
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x4826f2
call fcn.00403b04
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x483ee8
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa0
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484054
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x24
call fcn.0040305c
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x18]
mov dword [0x488f48], eax
mov eax, dword [ebp - 0x10]
mov dword [0x488f4c], eax
mov eax, dword [ebp - 0x28]
mov dword [0x488f50], eax
xor eax, eax
mov dword [0x48b224], eax
push 0x484060
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.004825a8
cmp byte [0x488f38], 0
jne 0x483faf
mov eax, dword [ebp - 4]
call fcn.004825d8
test al, al
je 0x483faf
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4824bc]
call fcn.00482660
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x483fa8
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x60]
mov eax, dword [ebp - 8]
call fcn.00482e6c
mov eax, dword [ebp - 0x50]
mov dword [0x48b224], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483faf
mov eax, dword [ebp - 8]
call fcn.00403748
ret
mov eax, dword [0x489388]
cmp dword [eax], 2
sete byte [0x488f38]
call fcn.00483de8
and eax, 0x7f
cmp eax, 8
ja case.0x483fcb.0
jmp dword [eax*4 + 0x483fd2]
mov byte [0x488f24], 1
jmp case.0x483fcb.0
mov byte [0x488f28], 1
jmp case.0x483fcb.0
mov byte [0x488f2c], 1
jmp case.0x483fcb.0
mov byte [0x488f30], 1
jmp case.0x483fcb.0
mov byte [0x488f34], 1
jmp case.0x483fcb.0
mov byte [0x488f3c], 1
jmp case.0x483fcb.0
mov byte [0x488f40], 1
jmp case.0x483fcb.0
mov byte [0x488f44], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48405b
lea eax, [ebp - 4]
call fcn.004044d4
ret
Function at 0x484b94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x484d37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x548]
mov eax, dword [eax + 0x40]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x318]
call fcn.00440510
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x320]
call fcn.00440510
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x334]
call fcn.00440510
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x338]
call fcn.00440510
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x344]
call fcn.00440510
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x348]
call fcn.00440510
mov eax, dword [ebp - 8]
push dword [eax + 0xc]
push dword [eax + 8]
lea eax, [ebp - 0xc]
call fcn.0040b31c
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x358]
call fcn.00440510
mov eax, dword [ebp - 8]
fld xword [eax + 0x18]
add esp, 0xfffffff8
fistp qword [esp]
wait
lea eax, [ebp - 0x10]
push eax
xor ecx, ecx
xor edx, edx
mov al, 1
call fcn.00464d60
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x35c]
call fcn.00440510
mov eax, dword [ebp - 8]
cmp byte [eax + 0x35], 0
je 0x484ca7
mov edx, 0xff00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
call fcn.00440680
jmp 0x484cba
mov edx, 0xc0c0c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x360]
call fcn.00440680
mov eax, dword [ebp - 8]
cmp byte [eax + 0x36], 0
je 0x484cd8
mov edx, 0xff00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.00440680
jmp 0x484ceb
mov edx, 0xc0c0c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x364]
call fcn.00440680
mov eax, dword [ebp - 8]
cmp byte [eax + 0x34], 0
je 0x484d09
mov edx, 0xff00
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call fcn.00440680
jmp 0x484d1c
mov edx, 0xc0c0c0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x368]
call fcn.00440680
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x484d3e
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004044f8
ret
Function at 0x10001020
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x414], 0
mov edi, dword [ebp + 8]
jne 0x1000105c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 8
test edi, edi
je 0x100010ce
test ebx, ebx
je 0x100010ce
call fcn.100010f0
test eax, eax
js 0x100010ce
push str.UNO_Log
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100010ce
push ebx
push edi
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x100010af
push ebx
push edi
lea eax, [ebp - 0x20c]
push str._Boomerang_UNOPlug_set_value_FAILED_key_s_value_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
neg esi
sbb esi, esi
and esi, 0x80004005
pop edi
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov eax, 0x80004005
pop ebx
call fcn.1000d9da
mov esp, ebp
pop ebp
ret 8

Function at 0x100010f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x10016034]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi], 0
je 0x1000111c
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
push edi
push 8
push 0
lea edi, [esi + 4]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [esi], eax
test eax, eax
jne 0x10001169
push edi
lea eax, [ebp - 0x20c]
push str._Boomerang__UNOLoadLibrary_FAILED_path_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
cmp dword [esi + 0x414], 0
je 0x1000120e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.UNO_Init
push eax
call edi
test eax, eax
je 0x100011d2
push str.act_idBoomerang
push str.D8D760AC_ACA2_493e_9623_61E9D47DE89C
call eax
add esp, 8
test eax, eax
je 0x100011e7
lea eax, [esi + 0x20c]
push eax
lea eax, [ebp - 0x20c]
push str._Boomerang_UNO_Initialize_FAILED__Appreg_path_s_n
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esi], 0
pop edi
mov eax, 0x80004005
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
push str.UNO_Config
push dword [esi]
call edi
mov edi, eax
test edi, edi
je 0x1000120e
push 0
lea ecx, [esi + 0x20c]
push ecx
push 1
call edi
push 0
push 1
push 2
call edi
add esp, 0x18
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1000d9da
mov esp, ebp
pop ebp
ret
Function at 0x100012f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001309
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001344
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x10001340
lea ebx, [ebx]
cmp esi, edx
jae 0x10001344
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec ecx
jne 0x10001330
cmp esi, edx
jb 0x1000134b
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret