joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45df64
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 0x10]
xor eax, eax
push ebp
push 0x45e074
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [edi], 0
jne 0x45e054
mov eax, ebx
call fcn.00404c58
push eax
call sub.kernel32.dll_GetModuleHandleA_2
xor ecx, ecx
mov edx, dword [ebp - 4]
call fcn.0040fcc0
mov dword [edi], eax
test esi, esi
je 0x45dfc2
cmp word [esi], 0x25ff
jne 0x45dfc2
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x45dfc4
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x45dfe2
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x52ff04]
je 0x45dfe2
cmp byte [0x52ff10], 0
je 0x45dff9
lea eax, [ebp - 0x10]
call fcn.00430e94
mov eax, dword [ebp - 0x10]
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
call fcn.004312d0
jmp 0x45e008
mov edx, dword [edi]
mov ecx, dword [ebp + 0xc]
mov eax, dword [0x52ff04]
call fcn.00431218
test ebx, ebx
je 0x45e017
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
je 0x45e01b
xor eax, eax
jmp 0x45e01d
mov al, 1
mov byte [ebp - 5], al
cmp byte [ebp - 5], 0
je 0x45e058
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45e058
mov eax, dword [ebp + 0xc]
mov dword [ebx], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
jmp 0x45e058
mov byte [ebp - 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e07b
lea eax, [ebp - 0x10]
mov edx, dword [0x430e68]
call fcn.004061b8
ret

Function at 0x45e088
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x45e163
push dword fs:[eax]
mov dword fs:[eax], esp
test edi, edi
je 0x45e147
test esi, esi
je 0x45e0c9
cmp word [esi], 0x25ff
jne 0x45e0c9
mov eax, esi
add eax, 2
mov eax, dword [eax]
mov ebx, dword [eax]
jmp 0x45e0cb
xor ebx, ebx
cmp byte [ebp + 8], 0
jne 0x45e0e9
push 0
call sub.kernel32.dll_GetModuleHandleA_2
cmp eax, dword [0x52ff04]
je 0x45e0e9
cmp byte [0x52ff10], 0
je 0x45e100
lea eax, [ebp - 0xc]
call fcn.00430e94
mov eax, dword [ebp - 0xc]
mov ecx, edi
mov edx, dword [ebp - 4]
call fcn.004312d0
jmp 0x45e10f
mov ecx, edi
mov edx, dword [ebp - 4]
mov eax, dword [0x52ff04]
call fcn.00431218
test ebx, ebx
je 0x45e147
mov eax, esi
add eax, 2
mov eax, dword [eax]
cmp ebx, dword [eax]
jne 0x45e147
add esi, 2
mov ebx, dword [esi]
lea eax, [ebp - 8]
push eax
push 0x40
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45e147
mov dword [ebx], edi
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 4
push ebx
call sub.kernel32.dll_VirtualProtect
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45e16a
lea eax, [ebp - 0xc]
mov edx, dword [0x430e68]
call fcn.004061b8
ret
Function at 0x45e98c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov ebx, eax
lea eax, [ebp - 0x50]
mov edx, dword [0x410b60]
call fcn.004054d0
xor eax, eax
push ebp
push 0x45eaf9
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
mov eax, dword [ebp + 0x14]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 0x10]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
lea edx, [ebp - 0x50]
mov eax, ebx
call fcn.00415db0
cmp byte [ebp - 0x50], 0
je 0x45eadd
mov eax, dword [ebp - 0x30]
call fcn.00405ee4
test eax, eax
jl 0x45eadd
inc eax
xor esi, esi
mov edx, esi
shl edx, 3
sub edx, esi
mov ecx, dword [ebp - 0x30]
lea ebx, [ecx + edx*4]
mov ecx, dword [ebx + 0xc]
cmp ecx, dword [ebp - 4]
jne 0x45ead5
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + edx*4 + 4]
cmp byte [eax], 0xe8
jne 0x45ea77
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x14]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45eadd
mov edx, dword [ebp + 0x14]
mov eax, dword [ebx + 0x14]
mov dword [edx], eax
mov edx, dword [ebp + 0x14]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], edx
mov edx, dword [ebp - 8]
sub edx, dword [ebx + 8]
mov dword [eax], edx
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x10]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov byte [ebp - 9], 1
jmp 0x45eadd
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + edx*4 + 4]
cmp word [eax], 0x15ff
jne 0x45eadd
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45eadd
mov eax, dword [ebx + 0x18]
mov eax, dword [eax]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov edx, dword [ebp + 0xc]
mov edx, dword [edx]
mov edx, dword [edx]
mov ecx, dword [ebp + 8]
mov dword [ecx], edx
mov edx, dword [ebp - 8]
mov dword [eax], edx
lea edx, [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x10]
push edx
push 4
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [ebp + 0x18]
mov edx, dword [ebx + 0xc]
mov dword [eax], edx
mov byte [ebp - 9], 1
jmp 0x45eadd
inc esi
dec eax
jne 0x45e9ff
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45eb00
lea eax, [ebp - 0x50]
mov edx, dword [0x410b60]
call fcn.004055a0
ret
Function at 0x45ed0c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
mov byte [0x53088c], 0
cmp dword [0x530890], 0
je 0x45ed53
push esp
push 0x40
push 4
mov eax, dword [0x530890]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45eda9
mov eax, dword [0x530890]
mov edx, dword [0x530894]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x530890]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x45eda9
cmp dword [0x530898], 0
je 0x45ed92
push esp
push 0x40
push 4
mov eax, dword [0x530898]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x45eda9
mov eax, dword [0x530898]
mov edx, dword [0x53089c]
mov dword [eax], edx
push esp
mov eax, dword [esp + 4]
push eax
push 4
mov eax, dword [0x530898]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x45eda9
push 0
mov ecx, 0x45e6a4
mov eax, sub.kernel32.dll_CreateThread_1
mov edx, dword [0x530884]
call fcn.0045e088
push 0
mov ecx, 0x45e960
mov edx, dword [0x530888]
xor eax, eax
call fcn.0045e088
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
pop edx
ret

Function at 0x45f328
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov esi, eax
lea eax, [ebp - 8]
mov edx, dword [0x45f214]
call fcn.004054d0
xor eax, eax
push ebp
push 0x45f405
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x45f414
call sub.user32.dll_FindWindowA
mov ebx, eax
test ebx, ebx
je 0x45f3dc
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
call sub.user32.dll_GetWindowThreadProcessId
mov cl, 0x30
mov edx, 1
call fcn.0040ab60
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x45f428
call fcn.00404aa4
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.0040bec8
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
call fcn.00404820
lea eax, [ebp - 4]
mov edx, 0x45f44c
call fcn.00404a60
mov eax, dword [ebp - 4]
call fcn.00404a58
cmp eax, 0x104
jge 0x45f3ce
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00404de8
lea eax, [ebp - 8]
push eax
push 0x45f24c
call sub.user32.dll_EnumWindows
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f40c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.004047ac
lea eax, [ebp - 8]
mov edx, dword [0x45f214]
call fcn.004055a0
ret
Function at 0x45f470
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
xor eax, eax
push ebp
push 0x45f6cc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [0x5308b4], 0
jne 0x45f6b1
call fcn.00402b84
mov esi, eax
push 0x45f6dc
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jne 0x45f4e2
lea edx, [ebp - 0xc]
mov eax, dword [0x52ff04]
call fcn.00430190
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 8]
call fcn.0040c11c
lea eax, [ebp - 8]
mov edx, 0x45f6f0
call fcn.00405114
mov eax, dword [ebp - 8]
call fcn.004050f8
push eax
call sub.kernel32.dll_LoadLibraryW
mov ebx, eax
test ebx, ebx
jne 0x45f4f2
push 0x45f710
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
jne 0x45f54c
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov edx, 0x45f738
mov eax, 0x80000002
call fcn.004309e0
mov eax, dword [ebp - 4]
xor edx, edx
call fcn.00405220
jne 0x45f52c
lea eax, [ebp - 4]
push eax
xor ecx, ecx
mov edx, 0x45f738
mov eax, 0x80000001
call fcn.004309e0
lea eax, [ebp - 0x10]
mov ecx, 0x45f778
mov edx, dword [ebp - 4]
call fcn.00405174
mov eax, dword [ebp - 0x10]
call fcn.004050f8
push eax
call sub.kernel32.dll_LoadLibraryW
mov ebx, eax
mov eax, esi
call fcn.00402b74
test ebx, ebx
je 0x45f6aa
cmp ebx, dword [0x52ff04]
je 0x45f6aa
push 0x45f7b8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308b8], eax
cmp dword [0x5308b8], 0
je 0x45f68e
call dword [0x5308b8]
cmp eax, 2
jne 0x45f68e
push 0x45f7c8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308bc], eax
push 0x45f7dc
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308c0], eax
push 0x45f7f0
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308c4], eax
push 0x45f808
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308c8], eax
push 0x45f818
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308cc], eax
push 0x45f828
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308d0], eax
push 0x45f83c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308d4], eax
push 0x45f848
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5358ec], eax
push 0x45f858
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308d8], eax
push 0x45f86c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308dc], eax
cmp dword [0x5308dc], 0
jne 0x45f64c
push 0x45f878
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308dc], eax
push 0x45f888
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308e0], eax
push 0x45f894
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308e4], eax
push 0x45f8a4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308e8], eax
push 0x45f8b4
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x5308ec], eax
jmp 0x45f6aa
cmp dword [0x5308b8], 0
je 0x45f6aa
push 0x10
push 0x45f8c8
push 0x45f8d4
push 0
call sub.user32.dll_MessageBoxA_1
mov byte [0x5308b4], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f6d3
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00404f5c
ret
Function at 0x45fb34
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
xor eax, eax
push ebp
push 0x45fc09
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
push eax
call sub.kernel32.dll_GetCurrentProcessId
mov cl, 0x30
mov edx, 1
call fcn.0040ab60
mov ecx, dword [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x45fc20
call fcn.00404aa4
mov eax, dword [ebp - 4]
call fcn.00404c58
push eax
push 0
push 4
call sub.kernel32.dll_OpenFileMappingA
mov ebx, eax
test ebx, ebx
je 0x45fbee
mov byte [0x52fe7c], 1
push 0
push 0
push 0
push 4
push ebx
call sub.kernel32.dll_MapViewOfFile
mov esi, eax
test esi, esi
je 0x45fbe8
mov eax, dword [esi + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esi]
push eax
push 0
push 0x100000
call sub.kernel32.dll_OpenProcess
mov edi, eax
test edi, edi
je 0x45fbd0
push 0xffffffffffffffff
push edi
call sub.kernel32.dll_WaitForSingleObject
push edi
call sub.kernel32.dll_CloseHandle_1
mov edx, 0x52ff54
lea eax, [esi + 8]
mov ecx, 0x50
call fcn.00402978
push esi
call sub.kernel32.dll_UnmapViewOfFile
push ebx
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45fc10
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047ac
ret
Function at 0x460154
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4602cd
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
mov edx, 0x4602dc
mov ecx, 0x4602e8
mov eax, ebx
call fcn.004101e0
mov eax, dword [ebp - 4]
call fcn.00404a58
cmp eax, 0x14
jne 0x4602b7
cmp ebx, dword [0x52ff04]
sete al
mov edx, dword [ebp - 4]
test byte [edx + 3], 0x80
sete dl
cmp al, dl
jne 0x4602b7
mov eax, ebx
call fcn.0040f9f0
mov esi, eax
cmp word [esi + 0x18], 0x20b
jne 0x46022a
lea eax, [ebp - 8]
push eax
push 0x40
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x52ff04]
jne 0x4601f0
mov eax, 0x42fb28
mov edx, dword [ebp - 4]
sub eax, dword [edx]
sub eax, ebx
mov dword [esi + 0x2c], eax
jmp 0x4601fd
mov eax, dword [ebp - 4]
mov eax, dword [eax]
and eax, 0x7fffffff
mov dword [esi + 0x2c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xf0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
jmp 0x4602a8
lea eax, [ebp - 8]
push eax
push 0x40
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
cmp ebx, dword [0x52ff04]
jne 0x460264
mov edx, 0x42fb28
mov eax, dword [ebp - 4]
sub edx, dword [eax]
sub edx, ebx
mov dword [esi + 0x2c], edx
mov edx, 0x52fe90
sub edx, dword [eax + 4]
sub edx, ebx
mov dword [esi + 0x30], edx
jmp 0x46027d
mov eax, dword [ebp - 4]
mov edx, dword [eax]
and edx, 0x7fffffff
mov dword [esi + 0x2c], edx
mov eax, dword [eax + 4]
and eax, 0x7fffffff
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov dword [esi + 0x1c], edx
mov edx, dword [eax + 0xc]
mov dword [esi + 0x20], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x24], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 8]
push eax
push 0xe0
lea eax, [esi + 0x18]
push eax
call sub.kernel32.dll_VirtualProtect
push 0
push 0
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4602d4
lea eax, [ebp - 4]
call fcn.00404788
ret
Function at 0x4603e4
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4605ac
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x4605c4
call fcn.00404820
mov eax, dword [ebp - 8]
call fcn.00404c58
push eax
call sub.kernel32.dll_GetModuleHandleA_2
test eax, eax
jne 0x460596
xor edx, edx
push ebp
push 0x46058c
push dword fs:[edx]
mov dword fs:[edx], esp
xor ebx, ebx
xor esi, esi
jmp 0x46056d
cmp dword [ebp - 0x14], 0x1000
jne 0x460565
cmp dword [ebp - 0x10], 1
je 0x460565
cmp esi, dword [ebp - 0x20]
je 0x460565
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x24]
jne 0x460565
push 0x104
lea eax, [ebp - 0x22e]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_GetModuleFileNameW
test eax, eax
jbe 0x460565
mov eax, dword [ebp - 0x20]
call fcn.00433bc8
mov esi, eax
test esi, esi
je 0x460565
push esi
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_LoadResource
test eax, eax
je 0x460565
push eax
call sub.kernel32.dll_LockResource
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x460565
push esi
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov edi, dword [0x5330f0]
mov edi, dword [edi]
mov eax, 0x4605d4
mov ecx, 0xe
mov edx, dword [ebp - 4]
call edi
test eax, eax
jl 0x460529
push esi
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov edi, dword [0x5330f0]
mov edi, dword [edi]
mov eax, 0x4605e4
mov ecx, 0x10
mov edx, dword [ebp - 4]
call edi
inc eax
sete dl
mov eax, dword [ebp - 0x20]
call fcn.0045faf4
push esi
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_SizeofResource
sub eax, 0x10
push eax
push 0
push 0
push 0x7fffffff
mov esi, dword [0x5330f0]
mov esi, dword [esi]
mov eax, 0x4605f8
mov ecx, 0xc
mov edx, dword [ebp - 4]
call esi
test eax, eax
jl 0x460565
xor edx, edx
mov eax, dword [ebp - 0x20]
call fcn.0045f920
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
add ebx, eax
push 0x1c
lea eax, [ebp - 0x24]
push eax
push ebx
call sub.kernel32.dll_VirtualQuery_1
cmp eax, 0x1c
je 0x46043d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x460596
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4605b3
lea eax, [ebp - 8]
call fcn.00404788
ret
Function at 0x46220c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.00404788
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00404c58
push eax
push esi
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4622ca
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404c58
mov edi, eax
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
cmp dword [ebp - 0xc], 0
je 0x4622c1
mov eax, dword [ebp - 0xc]
add eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
push 0x40
call sub.kernel32.dll_LocalAlloc_2
mov esi, eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x10]
push eax
push 0
push edi
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4622bb
cmp dword [ebp - 0x10], 1
jne 0x4622af
mov eax, ebx
mov edx, esi
call fcn.00404990
jmp 0x4622bb
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov edx, esi
call fcn.00404878
push esi
call sub.kernel32.dll_LocalFree_1
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46590c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.00404c58
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x465925
test al, 0x10
jne 0x465929
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x465a18
Capabilities:
Set file attributes

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor ebx, ebx
push edi
mov eax, esi
call fcn.00404c58
push eax
call sub.kernel32.dll_SetFileAttributesA
test eax, eax
jne 0x465a3a
call sub.kernel32.dll_GetLastError_1
mov ebx, eax
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x4687a4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x4687dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404878
jmp 0x4687e6
mov eax, ebx
mov edx, esi
call fcn.004047dc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4687f0
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x468811
mov al, byte [esp]
jmp 0x468813
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x468e98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x468d10
mov eax, dword [0x533458]
cmp byte [eax], 0
je 0x468f14
mov eax, dword [0x53304c]
call fcn.00402edc
call fcn.004028e4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00465db8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x468f5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x468f4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x532fa8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x534668]
call fcn.004062a0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x4697f8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4698ce
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404820
lea eax, [ebp - 8]
call fcn.00404ca8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c58
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x4698b8
mov eax, ebx
call fcn.00402754
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4698b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404c58
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x46989b
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4698e0
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x46989b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4698b8
mov eax, dword [ebp - 0x10]
call fcn.00402774
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4698d5
lea eax, [ebp - 8]
call fcn.00404788
ret

Function at 0x469e8c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x469ef0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404a08
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0046556c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469ef7
lea eax, [ebp - 0xc]
call fcn.00404788
ret

Function at 0x47be34
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov al, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x47be81
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0047bc74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47be99
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x47bea0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0047bc74
dec esi
jne 0x47bec2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret