joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ff30c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ff3fb
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.0040956c
cmp dword [ebp - 0x2c], 0
jne 0x4ff35d
mov ecx, 0x4ff414
mov dl, 1
mov eax, dword [0x408468]
call fcn.0040e550
call fcn.00403ef0
lea edx, [ebp - 8]
mov eax, esi
call fcn.004f526c
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.004f3a2c
mov eax, 0x4ff430
call fcn.004e6660
mov edx, eax
lea eax, [ebp - 0x34]
call fcn.0040477c
mov ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x30]
mov edx, ebx
call fcn.00404890
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0x28]
call fcn.004f3a2c
mov edx, 0x10
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x28]
mov esi, dword [ebp - 4]
mov bl, byte [eax]
xor bl, byte [ecx]
mov byte [esi], bl
inc esi
inc ecx
inc eax
dec edx
jne 0x4ff3ac
xor edx, edx
lea eax, [ebp - 0x28]
lea ecx, [edx + 0x10]
mov ebx, dword [ebp - 4]
lea ecx, [ebx + ecx]
push ecx
mov cl, byte [eax]
xor cl, byte [eax + 8]
pop ebx
mov byte [ebx], cl
inc edx
inc eax
cmp edx, 8
jne 0x4ff3bd
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ff402
lea eax, [ebp - 0x34]
mov edx, 3
call fcn.00404598
lea eax, [ebp - 8]
call fcn.00404574
ret

Function at 0x4ffbd4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff5c
mov ebx, edx
mov dword [esp], eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, ebx
call fcn.004ffa18
lea eax, [esp + 8]
mov ecx, 4
mov edx, ebx
call fcn.004ffa18
lea eax, [esp + 0xc]
mov ecx, 8
mov edx, ebx
call fcn.004ffa18
lea eax, [esp + 0x10]
mov ecx, 0xc
mov edx, ebx
call fcn.004ffa18
mov eax, dword [esp + 4]
xor eax, dword [0x64c794]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 8]
xor eax, dword [0x64c798]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
xor eax, dword [0x64c79c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
xor eax, dword [0x64c7a0]
mov dword [esp + 0x20], eax
mov ebp, 0x20
lea ebx, [esp + 0x14]
mov esi, 0x64c7a4
mov edi, dword [esp]
mov eax, dword [ebx + 4]
xor eax, dword [ebx + 8]
xor eax, dword [ebx + 0xc]
xor eax, dword [esi]
call fcn.004ffb54
xor eax, dword [ebx]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x10]
mov dword [edi], eax
add edi, 4
add esi, 4
add ebx, 4
dec ebp
jne 0x4ffc69
add esp, 0xa4
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4ffdc4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffd8
mov edi, edx
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
test edi, edi
jbe 0x4ffeb8
call fcn.004ff95c
lea eax, [esp + 0x18]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f1c
mov eax, dword [esp]
add eax, edi
mov dword [eax], edi
lea edx, [eax + 4]
mov ecx, 4
mov eax, 0x4ffecc
call fcn.00402a14
add edi, 8
cmp edi, 0x10
jb 0x4ffe5f
mov eax, dword [esp]
mov edx, dword [esp + 4]
lea esi, [eax + edx]
xor eax, eax
lea edx, [esp + 0x18]
mov cl, byte [esi + eax]
mov bl, byte [edx]
xor cl, bl
mov byte [esi + eax], cl
inc eax
inc edx
cmp eax, 0x10
jne 0x4ffe23
mov ecx, esi
mov edx, esi
mov eax, 0x658470
call fcn.004ffc9c
lea edx, [esp + 0x18]
mov eax, esi
mov ecx, 0x10
call fcn.00402a14
sub edi, 0x10
add dword [esp + 4], 0x10
cmp edi, 0x10
jae 0x4ffe13
test edi, edi
jbe 0x4ffeb8
mov eax, dword [esp]
mov edx, dword [esp + 4]
lea esi, [eax + edx]
lea eax, [esp + 8]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f1c
lea edx, [esp + 8]
mov eax, esi
mov ecx, edi
call fcn.00402a14
xor eax, eax
lea edx, [esp + 8]
lea edi, [esp + 0x18]
mov cl, byte [edx]
mov bl, byte [edi]
xor cl, bl
mov byte [esi + eax], cl
inc eax
inc edi
inc edx
cmp eax, 0x10
jne 0x4ffe94
mov ecx, esi
mov edx, esi
mov eax, 0x658470
call fcn.004ffc9c
add dword [esp + 4], 0x10
mov eax, dword [esp + 4]
add esp, 0x28
pop edi
pop esi
pop ebx
ret

Function at 0x4ffed0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4fffea
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 8], 0
jbe 0x4fffd4
call fcn.004ff95c
lea eax, [ebp - 0x2c]
xor ecx, ecx
mov edx, 0x10
call fcn.00402f1c
jmp 0x4fff67
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
lea esi, [eax + edx]
lea edx, [ebp - 0x1c]
mov eax, esi
mov ecx, 0x10
call fcn.00402a14
mov ecx, esi
mov edx, esi
mov eax, 0x6584f4
call fcn.004ffc9c
xor ebx, ebx
lea eax, [ebp - 0x2c]
mov dl, byte [esi + ebx]
mov cl, byte [eax]
xor dl, cl
mov byte [esi + ebx], dl
inc ebx
inc eax
cmp ebx, 0x10
jne 0x4fff42
lea edx, [ebp - 0x2c]
lea eax, [ebp - 0x1c]
mov ecx, 0x10
call fcn.00402a14
add dword [ebp - 0xc], 0x10
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 8]
jb 0x4fff17
mov esi, dword [ebp - 0xc]
cmp esi, 0x18
jge 0x4fff7c
mov esi, 0x18
sub esi, 4
jl 0x4fffd4
inc esi
mov ebx, 4
mov eax, dword [ebp - 0xc]
sub eax, ebx
mov edx, dword [ebp - 4]
lea edi, [edx + eax]
mov eax, dword [edi]
cmp eax, dword [ebp - 0xc]
jge 0x4fffd0
lea eax, [ebp - 0x30]
lea edx, [edi + 4]
mov ecx, 4
call fcn.004047f4
mov eax, dword [ebp - 0x30]
mov edx, 0x500004
call fcn.00404990
jne 0x4fffd0
mov esi, dword [edi]
mov eax, dword [ebp - 4]
add eax, esi
mov edx, dword [ebp - 0xc]
sub edx, esi
xor ecx, ecx
call fcn.00402f1c
mov dword [ebp - 0xc], esi
jmp 0x4fffd4
inc ebx
dec esi
jne 0x4fff87
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ffff1
lea eax, [ebp - 0x30]
call fcn.00404574
ret
Function at 0x500914
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov edi, eax
xor eax, eax
push ebp
push 0x500a58
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
call sub.kernel32.dll_Sleep_1
mov eax, dword [edi + 0x58]
cmp byte [eax + 0x80], 0
je 0x500a3d
mov edx, esi
call fcn.004f8bcc
mov ebx, eax
test bl, bl
je 0x500a3d
call sub.kernel32.dll_GetTickCount_1
mov dword [edi + 0x698], eax
push 0
lea edx, [edi + 0x60]
mov ecx, 0xc
mov eax, dword [edi + 0x58]
call fcn.004f89ac
mov esi, eax
cmp esi, 0xc
jl 0x500a3d
mov esi, dword [edi + 0x60]
sub esi, 0xc
test esi, esi
jle 0x5009e7
cmp esi, 0x628
jg 0x5009e7
push 0
lea edx, [edi + 0x6c]
mov ecx, esi
mov eax, dword [edi + 0x58]
call fcn.004f89ac
mov dword [ebp - 4], eax
cmp esi, dword [ebp - 4]
jle 0x5009e7
push 0
mov ecx, esi
sub ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
lea edx, [edi + eax + 0x6c]
mov eax, dword [edi + 0x58]
call fcn.004f89ac
test eax, eax
jg 0x5009d3
push 0x500a68
call sub.kernel32.dll_OutputDebugStringA
jmp 0x5009e7
add dword [ebp - 4], eax
mov eax, dword [edi + 0x58]
cmp byte [eax + 0x80], 0
je 0x5009e7
cmp esi, dword [ebp - 4]
jne 0x5009ad
cmp esi, 0x628
jg 0x500a0d
add esi, 0xc
mov dword [edi + 0x5c], esi
cmp byte [edi + 0x48], 0
je 0x500a04
mov eax, edi
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x500a3d
mov eax, edi
call fcn.004f9478
jmp 0x500a3d
lea edx, [ebp - 0xc]
mov eax, esi
call fcn.0040993c
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x500a94
call fcn.00404890
mov eax, dword [ebp - 8]
call fcn.00404a44
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [edi + 0x58]
call fcn.004f92fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x500a5f
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00404598
ret

Function at 0x501268
Capabilities:
Check for time delay via gettickcount
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
xor eax, eax
push ebp
push 0x501340
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [esi]
mov edx, 0x7530
call fcn.00501528
mov eax, dword [esi]
cmp dword [eax + 0x6dc], 2
jne 0x5012ba
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
mov eax, dword [esi]
add eax, 0x6e8
mov ecx, 0x54
call fcn.00402a14
mov bl, 1
jmp 0x5012ce
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [esi]
sub eax, dword [edx + 0x6e4]
cmp eax, 0x7530
jb 0x501288
call sub.kernel32.dll_GetTickCount_1
mov edi, eax
mov eax, dword [esi]
sub edi, dword [eax + 0x6e4]
cmp edi, 0x7d0
jb 0x50131b
push 0x501358
mov eax, edi
xor edx, edx
push edx
push eax
lea eax, [ebp - 8]
call fcn.00409a28
push dword [ebp - 8]
push 0x501374
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404904
mov eax, dword [ebp - 4]
call fcn.00404a44
push eax
call sub.kernel32.dll_OutputDebugStringA
mov eax, dword [esi]
xor edx, edx
mov dword [eax + 0x6dc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501347
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404598
ret
Function at 0x501528
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x50170a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c0]
call fcn.004f8bcc
mov ebx, eax
test bl, bl
je 0x5016ef
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0x50]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c0]
mov ecx, 0xc
call fcn.004f89ac
mov edi, eax
cmp edi, 0xc
jge 0x5015b7
test edi, edi
jle 0x5016ef
lea edx, [ebp - 0xc]
mov eax, edi
call fcn.0040993c
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 8]
mov edx, 0x501724
call fcn.00404890
mov eax, dword [ebp - 8]
call fcn.00404a44
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x5016ef
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0x50]
sub edi, 0xc
test edi, edi
jle 0x501657
cmp edi, 0x628
jg 0x501657
push 0
mov eax, dword [ebp - 4]
lea edx, [eax + 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c0]
mov ecx, edi
call fcn.004f89ac
mov esi, eax
cmp edi, esi
jle 0x501657
push 0x501738
call sub.kernel32.dll_OutputDebugStringA
push 0
mov ecx, edi
sub ecx, esi
mov eax, dword [ebp - 4]
lea edx, [eax + esi + 0x5c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c0]
call fcn.004f89ac
add esi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x6c0]
cmp byte [eax + 0x80], 0
je 0x50162f
cmp edi, esi
jne 0x5015fc
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0040993c
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x50175c
call fcn.00404890
mov eax, dword [ebp - 0x10]
call fcn.00404a44
push eax
call sub.kernel32.dll_OutputDebugStringA
cmp edi, 0x628
jg 0x5016c7
lea eax, [edi + 0xc]
mov edx, dword [ebp - 4]
mov dword [edx + 0x688], eax
mov eax, dword [ebp - 4]
cmp word [eax + 0x6aa], 0
je 0x5016ef
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4a], 0
je 0x5016be
test edi, edi
jle 0x5016be
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4c], 1
jne 0x5016b1
mov eax, dword [ebp - 4]
add eax, 0x5c
mov edx, edi
call fcn.004ffed0
mov esi, eax
add esi, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 0x50], esi
mov eax, dword [ebp - 4]
mov dword [eax + 0x688], esi
jmp 0x5016be
mov eax, dword [ebp - 4]
add eax, 0x5c
mov edx, edi
call fcn.004ff560
push ebp
call fcn.005014bc
pop ecx
jmp 0x5016ef
lea edx, [ebp - 0x1c]
mov eax, edi
call fcn.0040993c
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
mov edx, 0x50178c
call fcn.00404890
mov eax, dword [ebp - 0x18]
call fcn.00404a44
push eax
call sub.kernel32.dll_OutputDebugStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x501711
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00404598
ret
Function at 0x5023f0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5024ef
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x502444
mov eax, dword [ebp - 8]
call fcn.0040280c
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.iphlpapi.dll_GetAdaptersInfo
xor edx, edx
push ebp
push 0x5024c3
push dword fs:[edx]
mov dword fs:[edx], esp
test eax, eax
jne 0x5024ad
cmp dword [ebp - 8], 0
jbe 0x5024ad
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x5024ad
lea eax, [ebp - 0x14]
lea edx, [ebx + 8]
mov ecx, 0x104
call fcn.004047f4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00501d64
test al, 4
je 0x5024a7
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebx + 0x190]
lea eax, [ebx + 0x194]
mov edx, 7
call fcn.00502110
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov ebx, dword [ebx]
test ebx, ebx
jne 0x502463
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5024ca
mov eax, dword [ebp - 0xc]
call fcn.0040282c
ret
Function at 0x502ce4
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x502e0f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00502e50
mov eax, esi
call fcn.00404a44
push eax
call sub.kernel32.dll_LoadLibraryA
mov edi, eax
mov dword [ebx + 8], edi
test edi, edi
setne al
mov byte [ebx + 4], al
test al, al
je 0x502db0
push 0x502e20
mov eax, dword [ebx + 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [ebx + 0xc], eax
xor edx, edx
mov eax, ebx
call fcn.00502e70
mov dword [ebx + 0x10], eax
mov edx, 1
mov eax, ebx
call fcn.00502e70
mov dword [ebx + 0x14], eax
mov edx, 2
mov eax, ebx
call fcn.00502e70
mov dword [ebx + 0x18], eax
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
lea edx, [ebp - 8]
mov eax, esi
call fcn.0040a354
push dword [ebp - 8]
push 0x502e30
lea ecx, [ebp - 0xc]
mov edx, 8
mov eax, dword [ebx + 0xc]
call fcn.00409a50
push dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404904
mov eax, dword [ebp - 4]
call fcn.00404a44
push eax
call sub.kernel32.dll_OutputDebugStringA
jmp 0x502df1
lea edx, [ebp - 0x14]
mov eax, esi
call fcn.0040a354
push dword [ebp - 0x14]
push 0x502e44
call sub.kernel32.dll_GetLastError_1
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x18]
call fcn.00409a28
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404904
mov eax, dword [ebp - 0x10]
call fcn.00404a44
push eax
call sub.kernel32.dll_OutputDebugStringA
mov bl, byte [ebx + 4]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x502e16
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404598
ret
Function at 0x509228
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x50937d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov dword [ebp - 4], edx
mov eax, dword [esi + 4]
cdq
push edx
push eax
lea edx, [ebp - 4]
mov al, 2
call fcn.00503194
add ebx, eax
push dword [esi + 0xc]
push dword [esi + 8]
lea edx, [ebp - 4]
mov al, 3
call fcn.00503200
add ebx, eax
lea eax, [ebp - 8]
lea edx, [esi + 0x10]
call fcn.004047e8
mov edx, dword [ebp - 8]
lea ecx, [ebp - 4]
mov al, 4
call fcn.0050313c
add ebx, eax
lea eax, [ebp - 0xc]
lea edx, [esi + 0x1b]
call fcn.004047e8
mov edx, dword [ebp - 0xc]
lea ecx, [ebp - 4]
mov al, 5
call fcn.0050313c
add ebx, eax
mov eax, dword [esi + 0x2c]
cdq
push edx
push eax
lea edx, [ebp - 4]
mov al, 6
call fcn.00503194
add ebx, eax
lea eax, [ebp - 0x10]
lea edx, [esi + 0x30]
call fcn.004047e8
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 4]
mov al, 7
call fcn.0050313c
add ebx, eax
mov eax, dword [esi + 0x40]
cdq
push edx
push eax
lea edx, [ebp - 4]
mov al, 8
call fcn.00503194
add ebx, eax
lea eax, [ebp - 0x14]
lea edx, [esi + 0x44]
call fcn.004047e8
mov edx, dword [ebp - 0x14]
lea ecx, [ebp - 4]
mov al, 9
call fcn.0050313c
add ebx, eax
mov eax, dword [esi + 0x5c]
cdq
push edx
push eax
lea edx, [ebp - 4]
mov al, 0xa
call fcn.00503194
add ebx, eax
lea eax, [ebp - 0x18]
lea edx, [esi + 0x60]
call fcn.004047e8
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 4]
mov al, 0xb
call fcn.0050313c
add ebx, eax
lea eax, [ebp - 0x1c]
lea edx, [esi + 0x160]
call fcn.004047e8
mov edx, dword [ebp - 0x1c]
lea ecx, [ebp - 4]
mov al, 0xc
call fcn.0050313c
add ebx, eax
lea eax, [ebp - 0x20]
lea edx, [esi + 0x260]
call fcn.004047e8
mov edx, dword [ebp - 0x20]
lea ecx, [ebp - 4]
mov al, 0xd
call fcn.0050313c
add ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509384
lea eax, [ebp - 0x20]
mov edx, 7
call fcn.00404598
ret

Function at 0x5097f8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xffffffb8
mov dword [esp], eax
mov eax, dword [0x655e70]
cmp byte [eax], 0
je 0x509857
mov eax, dword [0x655818]
call fcn.00402d6c
call fcn.00402974
push 0
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
call fcn.0040a538
push eax
lea eax, [esp + 0xc]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 8]
push eax
push 2
push 0x50989c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x50988d
push 0x40
lea eax, [esp + 0xc]
push eax
mov eax, dword [0x65574c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x657668]
call fcn.00405f34
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 8]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x48
ret
Function at 0x50bdc0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
push 0x200
lea eax, [ebp - 0x200]
push eax
push 0x1001
mov edx, dword [ebx + 4]
push edx
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x64cfd3
lea ecx, [ebp - 0x200]
push ecx
call fcn.005099a8
add esp, 8
lea eax, [ebp - 0x200]
push eax
call fcn.00509968
pop ecx
mov edx, 0x200
sub edx, eax
push edx
lea ecx, [ebp - 0x200]
push ecx
call fcn.00509968
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
push 0x1002
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
push 0x64cfd5
lea ecx, [ebp - 0x200]
push ecx
call fcn.005099a8
add esp, 8
push 0xa
lea eax, [ebp - 0x200]
push eax
call fcn.00509968
pop ecx
lea edx, [ebp - 0x200]
add eax, edx
push eax
mov ecx, dword [ebx]
push ecx
call fcn.0050d8d8
add esp, 0xc
cmp dword [ebx + 0x24], 0
jne 0x50bed1
push esi
call fcn.00509968
pop ecx
mov edi, eax
lea eax, [ebp - 0x200]
push eax
call fcn.00509968
pop ecx
add edi, eax
add edi, 3
push edi
call fcn.005098a0
pop ecx
mov edi, eax
mov dword [ebx + 0x24], edi
test edi, edi
jne 0x50bea8
xor eax, eax
jmp 0x50bf58
push esi
call fcn.00509968
pop ecx
push eax
lea edx, [ebp - 0x200]
push edx
call fcn.00509968
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push 0
push edi
call fcn.00509934
add esp, 0xc
jmp 0x50bf11
mov edi, dword [ebx + 0x24]
push edi
call fcn.00509968
pop ecx
push eax
push esi
call fcn.00509968
pop ecx
pop edx
add edx, eax
push edx
lea eax, [ebp - 0x200]
push eax
call fcn.00509968
pop ecx
pop ecx
add ecx, eax
add ecx, 3
push ecx
push edi
call fcn.005098dc
add esp, 8
mov dword [ebx + 0x24], eax
cmp dword [ebx + 0x24], 0
jne 0x50bf11
xor eax, eax
jmp 0x50bf58
push esi
mov edx, dword [ebx + 0x24]
push edx
call fcn.005099a8
add esp, 8
push 0x64cfd7
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005099a8
add esp, 8
lea eax, [ebp - 0x200]
push eax
mov edx, dword [ebx + 0x24]
push edx
call fcn.005099a8
add esp, 8
push 0x64cfd9
mov ecx, dword [ebx + 0x24]
push ecx
call fcn.005099a8
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50e9b6
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
lea edx, [ebp - 8]
push edx
lea ecx, [ebp - 4]
push ecx
push 0
push 0x4001f
push 0
push 0
push 0
push eax
push 0x80000000
call sub.advapi32.dll_RegCreateKeyExA
mov ebx, eax
test ebx, ebx
jne 0x50ea0a
push esi
call fcn.00509968
pop ecx
inc eax
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 4]
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x5386bc
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x21c], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x538791
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 6], al
mov byte [ebp - 5], 0x3a
mov byte [ebp - 4], 0x5c
mov byte [ebp - 3], 0
push 0xff
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0xff
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 6]
push eax
call sub.kernel32.dll_GetVolumeInformationA
mov eax, dword [ebp - 0xc]
shr eax, 0x10
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x218]
mov eax, 4
call fcn.00409a78
push dword [ebp - 0x218]
push 0x5387a8
mov eax, dword [ebp - 0xc]
and eax, 0xffff
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x21c]
mov eax, 4
call fcn.00409a78
push dword [ebp - 0x21c]
mov eax, ebx
mov edx, 3
call fcn.00404904
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x538798
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.00404598
ret

Function at 0x5387ac
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xffffff00
mov ebx, eax
push 0xff
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov edx, ebx
mov al, byte [esp]
call fcn.005386bc
add esp, 0x100
pop ebx
ret

Function at 0x53af70
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
lea eax, [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00404a44
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
mov dword [ebx + 8], esi
test esi, esi
jg 0x53afa6
mov ecx, 0x53b02c
mov dl, 1
mov eax, dword [0x53aad8]
call fcn.0040e550
call fcn.00403ef0
lea eax, [ebx + 0xc]
mov edx, dword [ebx + 8]
call fcn.00404bd0
mov eax, dword [ebx + 0xc]
call fcn.00404a44
push eax
mov eax, dword [ebx + 8]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebx + 0x1c]
call fcn.00404a44
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
jne 0x53afea
mov ecx, 0x53b050
mov dl, 1
mov eax, dword [0x53aa7c]
call fcn.0040e550
call fcn.00403ef0
push esp
lea eax, [ebx + 0x10]
push eax
mov eax, dword [0x6502cc]
push eax
mov eax, dword [ebx + 0xc]
call fcn.00404a44
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
jne 0x53b01d
mov ecx, 0x53b074
mov dl, 1
mov eax, dword [0x53aa7c]
call fcn.0040e550
call fcn.00403ef0
pop edx
pop esi
pop ebx
ret