joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eefef
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
push 4
pop eax
call fcn.004e2130
mov ebx, esp
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4ef084
mov edi, dword [ebp - 0x20]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x44]
lea esi, [eax - 1]
not esi
and esi, ebx
sub esi, eax
mov dword [ebp - 4], eax
mov eax, dword [0x5805d8]
mov ecx, eax
dec ecx
neg ecx
sbb ecx, ecx
and ecx, 0xffff1000
add ecx, 0x11000
add ecx, edi
cmp esi, ecx
jb 0x4ef084
cmp eax, 1
je 0x4ef09c
mov ebx, edi
mov edi, 0x1000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x4ef084
add ebx, dword [ebp - 0x18]
test dword [ebp - 0x14], edi
je 0x4ef059
test byte [ebp - 0xf], 1
mov ebx, dword [ebp - 0x24]
je 0x4ef080
xor eax, eax
inc eax
jmp 0x4ef0b8
cmp esi, ebx
jae 0x4ef088
xor eax, eax
jmp 0x4ef0b8
push 4
push edi
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov eax, dword [0x5805d8]
jmp 0x4ef09e
mov ebx, esi
dec eax
neg eax
sbb eax, eax
and eax, 0x103
lea ecx, [ebp - 8]
push ecx
inc eax
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea esp, [ebp - 0x54]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f1932
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x580a5c], ebx
push esi
push edi
jne 0x4f19b2
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4f19ed
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x51e5ec
push edi
call esi
test eax, eax
mov dword [0x580a5c], eax
je 0x4f19ed
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x580a60], eax
call esi
cmp dword [0x5805d8], 2
mov dword [0x580a64], eax
jne 0x4f19b2
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x580a6c], eax
je 0x4f19b2
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x580a68], eax
mov eax, dword [0x580a68]
test eax, eax
je 0x4f19f7
call eax
test eax, eax
je 0x4f19de
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x580a6c]
test eax, eax
je 0x4f19de
test byte [ebp - 8], 1
jne 0x4f19f7
cmp dword [0x5805e4], 4
jb 0x4f19f1
or byte [ebp + 0x12], 0x20
jmp 0x4f1a16
xor eax, eax
jmp 0x4f1a26
or byte [ebp + 0x12], 4
jmp 0x4f1a16
mov eax, dword [0x580a60]
test eax, eax
je 0x4f1a16
call eax
mov ebx, eax
test ebx, ebx
je 0x4f1a16
mov eax, dword [0x580a64]
test eax, eax
je 0x4f1a16
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x580a5c]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4f3b23
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
xor ebx, ebx
cmp dword [ebp + 8], ebx
push esi
push edi
mov dword [ebp - 8], ebx
je 0x4f3b8e
push 0x3d
push dword [ebp + 8]
call fcn.004f4a8a
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], esi
je 0x4f3b8e
cmp dword [ebp + 8], esi
je 0x4f3b8e
xor eax, eax
cmp byte [esi + 1], al
sete al
mov dword [ebp - 4], eax
mov eax, dword [0x5805f8]
cmp eax, dword [0x5805fc]
jne 0x4f3b74
mov edi, eax
call fcn.004f3ac2
mov dword [0x5805f8], eax
cmp eax, ebx
jne 0x4f3bcd
cmp dword [ebp + 0xc], ebx
je 0x4f3b96
cmp dword [0x580600], ebx
je 0x4f3b96
call fcn.004eed6c
test eax, eax
je 0x4f3bcd
or eax, 0xffffffff
pop edi
pop esi
pop ebx
leave
ret
cmp dword [ebp - 4], ebx
jne 0x4f3cd1
push 4
call fcn.004e5130
cmp eax, ebx
pop ecx
mov dword [0x5805f8], eax
je 0x4f3b8e
mov dword [eax], ebx
cmp dword [0x580600], ebx
jne 0x4f3bcd
push 4
call fcn.004e5130
cmp eax, ebx
pop ecx
mov dword [0x580600], eax
je 0x4f3b8e
mov dword [eax], ebx
mov ebx, dword [0x5805f8]
mov edi, esi
mov esi, dword [ebp + 8]
sub edi, esi
push esi
call fcn.004f3a75
mov edi, eax
test edi, edi
pop ecx
jl 0x4f3c26
cmp dword [ebx], 0
je 0x4f3c26
lea esi, [ebx + edi*4]
push dword [esi]
call fcn.004e2b1a
xor eax, eax
cmp dword [ebp - 4], eax
pop ecx
jne 0x4f3c0e
mov eax, dword [ebp + 8]
mov dword [esi], eax
jmp 0x4f3c5c
mov ecx, dword [esi + 4]
mov dword [esi], ecx
inc edi
add esi, 4
cmp dword [esi], eax
jne 0x4f3c05
mov eax, edi
shl eax, 2
push eax
push ebx
call fcn.004e4823
test eax, eax
pop ecx
pop ecx
je 0x4f3c5c
jmp 0x4f3c57
cmp dword [ebp - 4], 0
jne 0x4f3cca
test edi, edi
jge 0x4f3c36
neg edi
lea eax, [edi*4 + 8]
push eax
push ebx
call fcn.004e4823
test eax, eax
pop ecx
pop ecx
je 0x4f3b8e
lea ecx, [eax + edi*4]
and dword [ecx + 4], 0
mov dword [ecx], esi
mov dword [0x5805f8], eax
cmp dword [ebp + 0xc], 0
je 0x4f3cb3
push dword [ebp + 8]
call fcn.004e52e0
inc eax
inc eax
push eax
call fcn.004e5130
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x4f3cb3
push dword [ebp + 8]
push esi
call fcn.004ea020
mov eax, esi
sub eax, dword [ebp + 8]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
and byte [eax], 0
mov ecx, dword [ebp - 4]
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x4f3cac
or dword [ebp - 8], 0xffffffff
push esi
call fcn.004e2b1a
pop ecx
cmp dword [ebp - 4], 0
je 0x4f3cc2
push dword [ebp + 8]
call fcn.004e2b1a
pop ecx
mov eax, dword [ebp - 8]
jmp 0x4f3b91
push esi
call fcn.004e2b1a
pop ecx
xor eax, eax
jmp 0x4f3b91
Function at 0x4f3cd8
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x51e6a8
call fcn.004ea2b8
xor edi, edi
xor ebx, ebx
inc ebx
cmp dword [0x580a74], edi
jne 0x4f3d1c
push edi
push edi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4f3d07
mov dword [0x580a74], ebx
jmp 0x4f3d1c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4f3d1c
mov dword [0x580a74], 2
mov eax, dword [0x580a74]
cmp eax, ebx
jne 0x4f3d3c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
jmp 0x4f3dff
cmp eax, 2
je 0x4f3d45
cmp eax, edi
jne 0x4f3d6d
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [ebp + 0x18], edi
jne 0x4f3d58
mov eax, dword [0x5809dc]
mov dword [ebp + 0x18], eax
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
mov dword [ebp - 0x24], eax
cmp eax, edi
jne 0x4f3d74
xor eax, eax
jmp 0x4f3dff
mov dword [ebp - 4], edi
add eax, 3
and eax, 0xfffffffc
call fcn.004e2130
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [ebp - 0x28], esi
or dword [ebp - 4], 0xffffffff
jmp 0x4f3da7
cmp esi, edi
jne 0x4f3dbd
push dword [ebp - 0x24]
call fcn.004e5130
pop ecx
mov esi, eax
cmp esi, edi
je 0x4f3d6d
mov dword [ebp - 0x20], ebx
push dword [ebp - 0x24]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
je 0x4f3df0
cmp dword [ebp + 0x14], edi
jne 0x4f3dda
push edi
push edi
jmp 0x4f3de0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push esi
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], edi
je 0x4f3dfc
push esi
call fcn.004e2b1a
pop ecx
mov eax, dword [ebp - 0x1c]
lea esp, [ebp - 0x34]
call fcn.004ea2f3
ret
Function at 0x4f3e08
Capabilities:
Get geographical location

Disassembly:
push 0x18
push 0x51e6b8
call fcn.004ea2b8
xor esi, esi
cmp dword [0x580a78], esi
jne 0x4f3e4c
push esi
push esi
xor edi, edi
inc edi
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4f3e37
mov dword [0x580a78], edi
jmp 0x4f3e4c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4f3e4c
mov dword [0x580a78], 2
mov eax, dword [0x580a78]
cmp eax, 2
je 0x4f3f2d
cmp eax, esi
je 0x4f3f2d
cmp eax, 1
jne 0x4f3e91
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], esi
cmp dword [ebp + 0x18], esi
jne 0x4f3e7a
mov eax, dword [0x5809dc]
mov dword [ebp + 0x18], eax
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, esi
jne 0x4f3e98
xor eax, eax
jmp 0x4f3f3f
mov dword [ebp - 4], esi
lea eax, [ebx + ebx]
add eax, 3
and eax, 0xfffffffc
call fcn.004e2130
mov dword [ebp - 0x18], esp
mov edi, esp
mov dword [ebp - 0x28], edi
or dword [ebp - 4], 0xffffffff
jmp 0x4f3ece
cmp edi, esi
jne 0x4f3ee9
lea eax, [ebx + ebx]
push eax
call fcn.004e5130
pop ecx
mov edi, eax
cmp edi, esi
je 0x4f3e91
mov dword [ebp - 0x20], 1
push ebx
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x4f3f1c
push esi
push esi
cmp dword [ebp + 0x14], esi
jne 0x4f3f06
push esi
push esi
jmp 0x4f3f0c
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0xffffffffffffffff
push edi
push esi
push dword [ebp + 0x18]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], esi
je 0x4f3f28
push edi
call fcn.004e2b1a
pop ecx
mov eax, dword [ebp - 0x1c]
jmp 0x4f3f3f
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea esp, [ebp - 0x34]
call fcn.004ea2f3
ret
Function at 0x4f4924
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.004e2130
mov eax, dword [0x532ae0]
xor eax, dword [ebp + 4]
push ebx
push esi
push 1
xor esi, esi
push esi
push dword [ebp + 8]
mov dword [ebp - 4], eax
call fcn.004ed358
or ebx, 0xffffffff
add esp, 0xc
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x4f4a4e
push 2
push esi
push dword [ebp + 8]
call fcn.004ed358
add esp, 0xc
cmp eax, ebx
je 0x4f4a4e
push edi
mov edi, dword [ebp + 0xc]
sub edi, eax
test edi, edi
jle 0x4f49f1
mov ebx, 0x1000
push ebx
lea eax, [ebp - 0x100c]
push esi
push eax
call fcn.004e6930
push 0x8000
push dword [ebp + 8]
call fcn.004f4e35
add esp, 0x14
mov dword [ebp - 0xc], eax
cmp edi, ebx
mov eax, ebx
jge 0x4f49aa
mov eax, edi
push eax
lea eax, [ebp - 0x100c]
push eax
push dword [ebp + 8]
call fcn.004eb75d
add esp, 0xc
cmp eax, 0xffffffff
je 0x4f49ca
sub edi, eax
test edi, edi
jg 0x4f49a2
jmp 0x4f49e2
call fcn.004e3b36
cmp dword [eax], 5
jne 0x4f49df
call fcn.004e3b2d
mov dword [eax], 0xd
or esi, 0xffffffff
push dword [ebp - 0xc]
push dword [ebp + 8]
call fcn.004f4e35
pop ecx
pop ecx
jmp 0x4f4a39
jge 0x4f4a39
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004ed358
push dword [ebp + 8]
call fcn.004f1c07
add esp, 0x10
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov esi, eax
neg esi
sbb esi, esi
neg esi
dec esi
cmp esi, ebx
jne 0x4f4a39
call fcn.004e3b2d
mov dword [eax], 0xd
call fcn.004e3b36
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi], eax
push 0
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.004ed358
add esp, 0xc
mov eax, esi
pop edi
jmp 0x4f4a50
mov eax, ebx
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
pop esi
pop ebx
call fcn.004e19df
leave
ret
Function at 0x406ac9
Capabilities:
Set registry value

Disassembly:
push 4
lea eax, [esp + 0xc]
push eax
push 4
push 0
push dword [esp + 0x14]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
ret 8

Function at 0x406ae3
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 8], 0
push ebp
mov ebp, ecx
jne 0x406af2
push 0xd
pop eax
jmp 0x406b23
push ebx
mov ebx, dword [esp + 0x10]
push edi
xor edi, edi
push ebx
call fcn.00445520
inc eax
add ebx, eax
add edi, eax
pop ecx
cmp eax, 1
jne 0x406afa
push edi
push dword [esp + 0x18]
push 7
push 0
push dword [esp + 0x20]
push dword [ebp]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop ebp
ret 8

Function at 0x409ce9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateEventA]
xor ebx, ebx
push edi
mov edi, dword [ebp + 8]
push ebx
push ebx
push 1
mov dword [edi + 0xc], 0xbc2
mov eax, dword [0x496fc8]
push ebx
mov dword [edi + 0x18], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x20], eax
call esi
push ebx
push ebx
push 1
push ebx
mov dword [edi + 0x24], eax
call esi
mov dword [edi + 0x38], eax
call fcn.00411efe
mov dword [edi + 0x3c], eax
call fcn.0040c52d
push dword [edi + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
mov dword [edi + 0x40], eax
call esi
push dword [edi + 0x24]
call esi
push dword [edi + 0x38]
call esi
lea eax, [ebp - 0x10c]
push eax
push ebx
push edi
push 0x409b2b
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x409d7d
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0xffffffffffffffff
push dword [edi + 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [edi + 0x20]
call esi
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
lea eax, [edi + 0x54]
mov ebx, 0x104
push ebx
push eax
push 0x7b
push dword [edi + 0x18]
call esi
push ebx
lea eax, [ebp - 0x108]
push eax
push 0x7c
push dword [edi + 0x18]
call esi
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.00409e0f
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f9b7
leave
ret 4
Function at 0x40b10d
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
mov ebp, dword [esp + 0x10]
lea ecx, [eax - 1]
push esi
mov ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
mov esi, edi
sar ebx, 1
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
cmp edi, ebx
jge 0x40b169
add esi, esi
lea eax, [esi + 2]
imul ecx, eax, 0x30
add ecx, ebp
lea eax, [ecx - 0x30]
push eax
call fcn.004099ab
movzx eax, al
xor eax, 1
imul ecx, edi, 0x30
inc eax
add esi, eax
imul eax, esi, 0x30
add ecx, ebp
add eax, ebp
push eax
call fcn.0040bea0
mov edi, esi
cmp esi, ebx
jl 0x40b133
mov eax, dword [esp + 0x20]
cmp esi, ebx
jne 0x40b188
test al, 1
jne 0x40b188
imul eax, eax, 0x30
imul ecx, edi, 0x30
add eax, 0xffffffd0
add eax, ebp
add ecx, ebp
push eax
call fcn.0040bea0
mov edi, dword [esp + 0x1c]
push dword [esp + 0x28]
push dword [esp + 0x28]
push dword [esp + 0x18]
push edi
push ebp
call fcn.0040b22e
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x42f038
Capabilities:
Reference sql statements

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x46c043
mov eax, dword fs:[0]
push eax
sub esp, 0x150
mov eax, dword [0x494284]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 0x78]
sub esp, 0x18
mov eax, dword [ebp + 0x7c]
mov ecx, esp
mov dword [ebp + 8], edi
mov dword [ebp + 8], esp
push eax
call fcn.004028df
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
push 1
call fcn.004027f4
lea eax, [ebp - 0xc4]
mov byte [ebp - 4], 1
push str.SELECT_Value_FROM_Property_WHERE_Property__
push eax
call fcn.00402085
pop ecx
pop ecx
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 2
call fcn.0040a7be
mov esi, eax
push 0x471c40
push esi
call fcn.00402085
pop ecx
pop ecx
lea eax, [ebp + 0x54]
push eax
lea ecx, [esi + 4]
call fcn.00408808
lea ecx, [ebp - 0xc4]
call fcn.0040332e
xor esi, esi
mov dword [ebp + 8], esi
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp + 0x54]
push eax
push ebx
lea ecx, [ebp + 0x34]
call fcn.0042eb62
mov byte [ebp - 4], 8
cmp dword [ebp + 8], esi
je 0x42f10d
push dword [ebp + 8]
call fcn.0042d91f
pop ecx
lea eax, [ebp + 0x34]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp + 4]
mov dword [ebp + 4], esi
call fcn.0042ee1a
lea ecx, [ebp + 4]
mov byte [ebp - 4], 9
call fcn.0042ef25
cmp eax, 1
jne 0x42f17f
push eax
push edi
lea ecx, [ebp + 4]
call fcn.0042dd8d
cmp dword [ebp + 4], 0
mov byte [ebp - 4], 0x10
je 0x42f14e
push dword [ebp + 4]
call fcn.0042d91f
pop ecx
lea ecx, [ebp + 0x34]
call fcn.0042ed75
lea ecx, [ebp + 0x54]
call fcn.00407d8d
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.0043f9b7
add ebp, 0x70
leave
ret 8
push 0x48
push str.msi::Database::getProperty
push str.c:_jenkins_workspace_8_2_build_windows_i586_cygwin_sans_NAS_jdk8u421_1068_install_src_windows_common_MsiDb.cpp
lea ecx, [ebp - 0x1c]
call fcn.00402aa6
push eax
push esi
push str.__returned_unexpected_value
sub esp, 0x18
lea eax, [ebp + 0x54]
mov ecx, esp
mov dword [ebp + 8], esp
push eax
call fcn.004028df
push 0x473048
sub esp, 0x18
mov byte [ebp - 4], 0xa
mov ecx, esp
mov dword [ebp - 0x10], esp
push ebx
call fcn.004028df
lea ecx, [ebp - 0x15c]
mov byte [ebp - 4], 0xb
call fcn.00402c0e
mov byte [ebp - 4], 0xc
push str.record.getFieldCount_
mov ecx, eax
call fcn.00402070
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0040a7be
mov ecx, eax
call fcn.00402070
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.0040a7be
mov ecx, eax
call fcn.00402070
push eax
lea ecx, [ebp - 0x2c]
call fcn.0042d619
push eax
lea eax, [ebp + 0xc]
mov byte [ebp - 4], 0xf
push eax
call fcn.0042d423
add esp, 0xc
lea eax, [ebp + 0xc]
push 0x48f068
push eax
call fcn.004417dd
int3
Function at 0x437fda
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x46d826
call fcn.0043f9f7
push 0x476edc
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
xor ebx, ebx
push eax
call fcn.00437843
add esp, 0xc
mov cl, byte [eax + 4]
mov edi, dword [eax]
mov byte [ebp - 0xd], cl
mov byte [eax + 4], bl
mov dword [ebp - 0x18], edi
mov byte [ebp - 0x14], cl
xor esi, esi
inc esi
mov dword [ebp - 4], esi
cmp byte [ebp - 0x1c], bl
je 0x438024
push dword [ebp - 0x20]
mov byte [ebp - 0x1c], bl
call fcn.00465faa
pop ecx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0xe]
mov byte [ebp - 4], 2
push eax
push 0x100001
lea ecx, [ebp - 0x24]
call fcn.00416084
push edi
push 0x100000
push esi
mov esi, dword [ebp - 0x24]
push esi
call fcn.0044a728
mov ebx, eax
add esp, 0x10
cmp ebx, 0x100000
ja 0x4380f5
push edi
call fcn.00452f0b
pop ecx
test eax, eax
je 0x438078
push 0x133
jmp 0x4380fa
push edi
call fcn.00452edf
pop ecx
test eax, eax
jne 0x43808a
push 0x13b
jmp 0x4380fa
push ebx
push esi
call fcn.00438706
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0xe]
push eax
lea eax, [esi + ebx]
push eax
push esi
call fcn.00416044
test esi, esi
je 0x4380d8
mov eax, dword [ebp - 0x1c]
sub eax, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x4380cf
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004078a4
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
pop ecx
pop ecx
push eax
push esi
call fcn.0043f54d
pop ecx
pop ecx
cmp byte [ebp - 0xd], 0
mov dword [ebp - 4], 3
je 0x4380ec
push edi
call fcn.00465faa
pop ecx
mov eax, dword [ebp + 8]
call fcn.0043f9c5
ret
push 0xc8
lea ecx, [ebp - 0x38]
call fcn.0040fdcc
push 0x48a1b0
lea eax, [ebp - 0x38]
push eax
call fcn.004417dd
int3
Function at 0x402700
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bd7e5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x507074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1c], 0x4df404
mov dword [ebp - 0x18], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x4df40c
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
call dword [eax + 4]
push 0xf0000000
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push 0
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40279f
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call dword [eax + 4]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x800c
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4027a7
call ebx
mov esi, eax
test esi, esi
jne 0x4027c0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4027ca
call ebx
mov esi, eax
mov eax, 0xc
mov dword [edi + eax], esi
jmp 0x4027d6
push dword [ebp - 0x10]
mov ecx, edi
call fcn.00402c80
mov esi, eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], 0x4df40c
test eax, eax
je 0x4027ef
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x4df404
test eax, eax
je 0x402814
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x403f70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdb70
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x507074]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x403ff7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x403ff7
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 8]
lea edx, [esi + eax]
and ecx, 0xf
jbe 0x403fd7
cmp esi, edx
jae 0x403ff7
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub ecx, 1
jne 0x403fc5
cmp esi, edx
jae 0x403ff7
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404500
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bdbf6
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x507074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x30], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
push 0
mov dword [ebp - 0x38], esi
push 0
mov dword [ebp - 0x2c], 0
mov eax, dword [eax + 0xc]
push 0x2000003
add eax, 0x30
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CertNameToStrW]
mov edi, eax
xorps xmm0, xmm0
test edi, edi
je 0x404604
push edi
push 0
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0
call fcn.00404ab0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x30]
cmovae ecx, dword [ebp - 0x28]
push edi
push ecx
mov eax, dword [eax + 0xc]
push 0x2000003
add eax, 0x30
push eax
push 1
call dword [sym.imp.CRYPT32.dll_CertNameToStrW]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
dec eax
xorps xmm0, xmm0
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], eax
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
mov word [ecx + eax*2], dx
xor eax, eax
movups xmmword [esi], xmm0
movups xmm0, xmmword [ebp - 0x28]
mov word [ebp - 0x28], ax
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x2c], 1
mov byte [ebp - 4], al
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
jmp 0x404632
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004965ce
mov esp, ebp
pop ebp
ret