joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4dab90
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
push esi
mov esi, ecx
xor edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
shr ebx, 0x18
push edi
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0xfc]
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c130
mov eax, dword [eax + 4]
test eax, eax
jne 0x4dabf8
mov eax, dword [esi + 0x100]
cmp eax, dword [esi + 0x100]
pop edi
pop esi
pop ebx
jne 0x4dac0b
xor eax, eax
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4

Function at 0x4dac40
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
push esi
mov esi, ecx
xor edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
shr ebx, 0x18
push edi
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x2b4]
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c130
mov eax, dword [eax + 4]
test eax, eax
jne 0x4daca8
mov eax, dword [esi + 0x2b8]
cmp eax, dword [esi + 0x2b8]
jne 0x4dacbf
pop edi
lea eax, [esi + 0x2d4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop edi
pop esi
add eax, 0xc
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4db640
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
push esi
push edi
xor edx, eax
mov edi, ecx
imul ecx, edx, 0x1000193
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0xfc]
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c130
mov eax, dword [eax + 4]
test eax, eax
jne 0x4db6a8
mov eax, dword [edi + 0x100]
cmp eax, dword [edi + 0x100]
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x4db850
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
push esi
push edi
xor edx, eax
mov edi, ecx
imul ecx, edx, 0x1000193
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0x40]
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c130
mov eax, dword [eax + 4]
test eax, eax
jne 0x4db8b2
mov eax, dword [edi + 0x44]
cmp eax, dword [edi + 0x44]
pop edi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4dc6d0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, ecx
mov dword [ebp - 4], esi
mov eax, dword [edi + 0x28]
test eax, eax
je 0x4dc700
mov dword [ebp - 0x1c], eax
lea ecx, [esi + 0xfc]
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004d6110
mov eax, dword [edi + 0x10]
xor edx, edx
mov ecx, dword [edi + 0xc]
sub eax, ecx
sar eax, 4
mov dword [ebp - 8], edx
test eax, eax
je 0x4dc87d
push ebx
xor ebx, ebx
mov dword [ebp + 8], ebx
mov edi, edi
mov ebx, dword [ebx + ecx + 4]
cmp ebx, 1
je 0x4dc732
cmp ebx, 2
jne 0x4dc85c
mov eax, dword [ebp + 8]
add esi, 0xfc
mov dword [ebp - 0x10], esi
movzx ecx, word [eax + ecx]
mov eax, dword [edi]
mov edx, dword [eax + ecx*4]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 0x18], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 0xc], edx
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x10
movzx eax, al
xor ecx, eax
mov eax, edx
imul ecx, ecx, 0x1000193
shr eax, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0045c130
mov esi, dword [eax + 4]
test esi, esi
jne 0x4dc7a5
mov esi, dword [ebp - 0x10]
mov esi, dword [esi + 4]
mov edx, dword [ebp - 4]
cmp esi, dword [edx + 0x100]
je 0x4dc85a
mov esi, dword [esi + 0xc]
test esi, esi
je 0x4dc85a
cmp ebx, 1
jne 0x4dc80a
mov eax, 0x56
cmp ax, word [esi + 0x1e]
jne 0x4dc80a
mov eax, dword [ebp - 0x18]
lea ecx, [edx + 0x60]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x10], edi
push eax
call fcn.00465600
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
add ecx, 0xc
cmp eax, dword [ecx + 8]
je 0x4dc7fd
mov dword [eax], edi
add dword [ecx + 4], 4
jmp 0x4dc807
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.00428bc0
mov edx, dword [ebp - 4]
cmp dword [edi + 0x38], 0
je 0x4dc83a
movzx eax, word [esi + 0x1e]
cmp eax, 0x20
jne 0x4dc83f
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub eax, ecx
sar eax, 4
cmp eax, 1
jbe 0x4dc885
movzx ecx, word [ecx + 0x10]
mov eax, dword [esi]
push edi
push dword [eax + ecx*4]
mov ecx, edx
call fcn.004dc900
mov esi, dword [ebp - 4]
jmp 0x4dc85c
cmp eax, 0x3b
jne 0x4dc83a
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
sub eax, ecx
sar eax, 4
cmp eax, 2
jbe 0x4dc885
movzx ecx, word [ecx + 0x20]
jmp 0x4dc82d
mov esi, edx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
sub eax, ecx
mov ebx, dword [ebp + 8]
inc dword [ebp - 8]
add ebx, 0x10
sar eax, 4
mov dword [ebp + 8], ebx
cmp dword [ebp - 8], eax
jb 0x4dc720
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00461820
int3
Function at 0x4dd0f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
movzx eax, dl
xor eax, 0x811c9dc5
push esi
lea esi, [ecx + 0x20]
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
push edi
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, esi
xor eax, edx
imul edi, eax, 0x1000193
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c130
mov edx, dword [eax + 4]
test edx, edx
je 0x4dd199
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0xc]
and ecx, edi
lea ecx, [eax + ecx*8]
mov eax, dword [ecx]
cmp dword [ecx + 4], edx
jne 0x4dd176
cmp eax, edx
jne 0x4dd16e
mov eax, dword [esi + 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
jmp 0x4dd17e
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
jmp 0x4dd17e
cmp eax, edx
jne 0x4dd17e
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
dec dword [esi + 8]
mov eax, dword [edx + 4]
push 0xc
push edx
mov dword [eax], ecx
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
call fcn.004e5ccb
add esp, 8
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x4dd1b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 8
push esi
push edi
mov edi, ecx
lea ecx, [ecx]
movzx eax, word [edx + 0x1e]
cmp eax, 0x41
je 0x4dd1e1
cmp eax, 0x42
je 0x4dd1e1
cmp eax, 0x43
je 0x4dd1e1
cmp eax, 0x46
je 0x4dd1e1
cmp eax, 0x53
jne 0x4dd26c
mov eax, dword [edx + 0x10]
mov ecx, dword [edx + 0xc]
sub eax, ecx
sar eax, 4
cmp eax, 2
jbe 0x4dd276
movzx ecx, word [ecx + 0x20]
mov eax, dword [edx]
mov edx, dword [eax + ecx*4]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp + 8], edx
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [edi + 0xfc]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c130
mov edx, dword [eax + 4]
test edx, edx
je 0x4dd265
cmp edx, dword [edi + 0x100]
je 0x4dd265
mov edx, dword [edx + 0xc]
jmp 0x4dd1c0
xor edx, edx
jmp 0x4dd1c0
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.00461820
int3

Function at 0x4e0cf0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
movzx eax, bl
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
mov eax, ebx
shr eax, 8
movzx eax, al
push esi
mov esi, ecx
xor edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
imul ecx, edx, 0x1000193
shr ebx, 0x18
push edi
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [esi + 0x254]
xor eax, ebx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0045c130
mov eax, dword [eax + 4]
test eax, eax
jne 0x4e0d58
mov eax, dword [esi + 0x258]
cmp eax, dword [esi + 0x258]
pop edi
pop esi
pop ebx
jne 0x4e0d6b
xor eax, eax
mov esp, ebp
pop ebp
ret 4
mov eax, dword [eax + 0xc]
mov esp, ebp
pop ebp
ret 4
Function at 0x4e10f0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5175ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
mov dword [ebp - 0x10], 0
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov edx, dword [ebp + 0xc]
movzx eax, dl
xor eax, 0x811c9dc5
mov dword [ebp - 4], 0
imul ecx, eax, 0x1000193
mov eax, edx
shr eax, 8
movzx eax, al
mov dword [ebp - 0x10], 1
xor ecx, eax
mov eax, edx
shr eax, 0x10
imul ecx, ecx, 0x1000193
movzx eax, al
shr edx, 0x18
xor ecx, eax
imul eax, ecx, 0x1000193
lea ecx, [ebx + 0x60]
xor eax, edx
imul eax, eax, 0x1000193
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0045c130
mov eax, dword [eax + 4]
test eax, eax
jne 0x4e1193
mov eax, dword [ebx + 0x64]
cmp eax, dword [ebx + 0x64]
je 0x4e11d1
add eax, 0xc
cmp esi, eax
je 0x4e11d1
mov edi, dword [eax + 4]
xor ebx, ebx
mov eax, dword [eax]
sub edi, eax
mov dword [ebp + 0xc], eax
mov eax, edi
sar eax, 2
test eax, eax
je 0x4e11be
push eax
mov ecx, esi
call fcn.00449b50
mov ebx, dword [esi]
push edi
push dword [ebp + 0xc]
push ebx
call fcn.004e74d0
lea ecx, [ebx + edi]
add esp, 0xc
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8

Function at 0x4fe307
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004fe17d
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x431004]
jne 0x401010
repz ret
jmp fcn.00401562

Function at 0x409246
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00405eb4
and dword [ebp - 4], 0
cmp dword [0x4337a0], 0
mov ebx, eax
jne 0x4092f7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4093a8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4093a8
push eax
call fcn.00405e42
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4337a0], eax
call esi
push eax
call fcn.00405e42
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4337a4], eax
call esi
push eax
call fcn.00405e42
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4337a8], eax
call esi
push eax
call fcn.00405e42
pop ecx
mov dword [0x4337b0], eax
test eax, eax
je 0x4092f7
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405e42
pop ecx
mov dword [0x4337ac], eax
mov eax, dword [0x4337ac]
cmp eax, ebx
je 0x40934f
cmp dword [0x4337b0], ebx
je 0x40934f
push eax
call fcn.00405ebd
push dword [0x4337b0]
mov esi, eax
call fcn.00405ebd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40934f
test edi, edi
je 0x40934f
call esi
test eax, eax
je 0x409346
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409346
test byte [ebp - 0xc], 1
jne 0x40934f
or dword [ebp + 0x10], 0x200000
jmp 0x409388
mov eax, dword [0x4337a4]
cmp eax, ebx
je 0x409388
push eax
call fcn.00405ebd
pop ecx
test eax, eax
je 0x409388
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x409388
mov eax, dword [0x4337a8]
cmp eax, ebx
je 0x409388
push eax
call fcn.00405ebd
pop ecx
test eax, eax
je 0x409388
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4337a0]
call fcn.00405ebd
pop ecx
test eax, eax
je 0x4093a8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4093aa
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40327c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b8c
test esi, esi
jne 0x4032b2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404c7c
jmp 0x4032d0
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00403180
mov edi, eax
test esi, esi
je 0x4032d0
cmp dword [ebx], 0
je 0x4032d0
dec esi
jmp 0x4032b9
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032dc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4e4008], 0x8088405
inc edx
mov dword [ebx + 0x4e4008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403a8c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4e4024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403b24
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403b04
xor eax, eax
push ebp
push 0x403afd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403b40
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403b04
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4e4024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4e4024], ax
mov esp, ebp
pop ebp
ret

Function at 0x404938
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4ed048], 0
je 0x404999
cmp word [0x4ed21c], 0xd7b2
jne 0x404961
cmp dword [0x4ed224], 0
jbe 0x404961
mov eax, 0x4ed218
call dword [0x4ed234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4049c0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e4030], 0
jne 0x4049b5
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404b10
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4e4034], 0
je 0x404b36
mov edx, esi
mov eax, ebx
call dword [0x4e4034]
jmp 0x404b45
mov eax, 8
call fcn.00402e90
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4ed049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404ad8
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x406190
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063c0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406213
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063c0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406213
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4063dc
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40629c
xor eax, eax
push ebp
push 0x406295
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405fcc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40627a
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4063fc
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40627a
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40629c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4063b6
cmp byte [ebp - 0xd], 0
jne 0x4062e3
cmp byte [ebp - 0x12], 0
je 0x4063b6
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4062fc
dec ebx
cmp byte [ebx], 0x2e
je 0x40630b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4062fb
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4063b6
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406348
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4063b6
cmp byte [ebp - 0xd], 0
je 0x4063b6
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4063b6
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408b94
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x408be6
test eax, edx
je 0x408be9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408ba9
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x408bcf
add ecx, 4
js 0x408bbf
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408bcc
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x408bf5
test edx, edx
jne 0x408b9c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40c790
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 0x40c7c9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404c7c
jmp 0x40c7d2
mov eax, ebx
mov edx, esi
call fcn.00404be0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c7dc
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 0x40c7fe
movzx eax, byte [esp]
jmp 0x40c800
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40ce90
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40cd08
mov eax, dword [0x4eccf4]
cmp byte [eax], 0
je 0x40cf0c
mov eax, dword [0x4ec9a8]
call fcn.004033d8
call fcn.00402fec
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.004099b0
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 0x40cf54
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cf42
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4ec918]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ef7f4]
call fcn.00405f74
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 0x40d7cc
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d8a2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404c24
lea eax, [ebp - 4]
call fcn.00405074
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.0040501c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d88c
mov eax, ebx
call fcn.00402e90
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d885
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 - 4]
call fcn.0040501c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d86f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d8b4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d86f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d88c
mov eax, dword [ebp - 0x10]
call fcn.00402eac
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d8a9
lea eax, [ebp - 4]
call fcn.00404b8c
ret

Function at 0x41c8c0
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.0041c5d0
dec esi
jne 0x41c8e2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x41da54
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f19ec
cmp dword [edi], 0
jne 0x41dad0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f19e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4e4b7c
mov ecx, 2
call fcn.00403080
mov edx, 0x41da2c
lea eax, [esi + 5]
call fcn.0041da4c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041da4c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41daa5
mov dword [0x4f19e8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8