joyce8/EMBER2024-capa huggingface dataset:
Function at 0x258010a7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x258010b6
pop dword [ebp - 8]
mov eax, 0x258010b6
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x7761484c
sub dword [ebp - 0x18], 0x290f0301
mov dword [ebp - 0x14], 0xf2f1519c
add dword [ebp - 0x14], 0x3f41faa9
mov dword [ebp - 0x10], 0x5d25564f
add dword [ebp - 0x10], 0xef26eddf
mov dword [ebp - 0xc], 0x2f355351
add dword [ebp - 0xc], 0xd0caacaf
lea eax, [ebp - 0x18]
push eax
mov eax, 0xbc2575ef
add eax, 0x695c5a55
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0x2c123bdb
add dword [ebp - 0x18], 0x48602d7b
mov dword [ebp - 0x14], 0x1dc7d10f
sub dword [ebp - 0x14], 0xdc5b6f9a
mov dword [ebp - 0x10], 0xe385d36
sub dword [ebp - 0x10], 0xaac8f0ca
mov dword [ebp - 0xc], 0x5b614df6
add dword [ebp - 0xc], 0xa49eb20a
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, 0x4f1214b9
sub eax, 0x29904439
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x3fa3f
push 0
call eax
mov ecx, 0x544f
mov edx, eax
mov edi, 0x2cda3e1d
sub edi, 0x757a81d
add edi, dword [ebp - 8]
mov esi, 0xc993ec9d
sub esi, 0xabd268bc
sub dword [ebp - 4], 0xb4178566
mov ebx, dword [edi]
sub dword [ebp - 4], 0xfbc369a2
sub ebx, esi
sub dword [ebp - 4], 0x5e8fc4c2
mov dword [edx], ebx
add edx, 0xe6448356
sub edx, 0xe6448352
add edi, 4
loop 0x258011cd
add eax, 0x351a92c0
add eax, 0xcae6b14f
mov ebx, eax
add eax, 0x2ab9e01d
add eax, 0xd5461fe8
mov ecx, 0x504d6817
sub ecx, 0x2acd6817
add ecx, dword [ebp - 8]
call ebx
leave
ret
Function at 0x57e770
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x121000]
push edi
jmp 0x57e78a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x57e791
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e780
mov eax, 1
add ebx, ebx
jne 0x57e7a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57e7b4
jne 0x57e7d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7d3
dec eax
add ebx, ebx
jne 0x57e7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x57e798
add ebx, ebx
jne 0x57e7cf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x57e825
xor ecx, ecx
sub eax, 3
jb 0x57e7eb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x57e85a
sar eax, 1
mov ebp, eax
jmp 0x57e7f6
add ebx, ebx
jne 0x57e7f6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
inc ecx
add ebx, ebx
jne 0x57e804
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57e7c4
add ebx, ebx
jne 0x57e811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57e806
jne 0x57e822
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57e806
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x57e844
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x57e836
jmp 0x57e786
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x57e844
add edi, ecx
jmp 0x57e786
pop esi
mov edi, esi
mov ecx, 0x40d6
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x57e862
cmp byte [edi], 0x11
jne 0x57e862
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x57e867
lea edi, [esi + 0x177000]
mov eax, dword [edi]
or eax, eax
je 0x57e8df
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2179c8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x217b44]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57e894
mov ecx, edi
jns 0x57e8c3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x217b48]
or eax, eax
je 0x57e8d9
mov dword [ebx], eax
add ebx, 4
jmp 0x57e8b1
call dword [esi + 0x217b58]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x57e910
cmp al, 0xef
ja 0x57e903
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x57e8e5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x57e8f2
mov ebp, dword [esi + 0x217b4c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x57e944
sub esp, 0xffffff80
jmp 0x4204f7
Function at 0x2641058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x26411a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x264107e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x264106a
add dl, dl
jne 0x2641089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x26410dc
xor eax, eax
add dl, dl
jne 0x2641096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x264117d
add dl, dl
jne 0x26410a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x26410b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x26410bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x26410c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x26410d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x2641075
mov eax, 1
add dl, dl
jne 0x26410ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x26410f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x26410e1
sub eax, ebx
mov ebx, 1
jne 0x2641128
mov ecx, 1
add dl, dl
jne 0x264110e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x2641119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2641105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2641075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x264113f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x264114a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x2641136
cmp eax, 0x7d00
jae 0x264116d
cmp eax, 0x500
jb 0x2641168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2641075
cmp eax, 0x7f
ja 0x2641170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x2641075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x264119e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x2641075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401440
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x401452
mov eax, dword [0x47807f]
shl eax, 2
mov dword [0x478083], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov edx, eax
call fcn.0046a570
pop edx
call fcn.0046a498
call fcn.0046a5b0
push 0
call fcn.0046b68c
pop ecx
push 0x478028
push 0
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [0x478087], eax
push 0
jmp fcn.00472c1c
Function at 0x40204c
Capabilities:
Accept command line arguments
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov byte [ebp - 0x3d], al
mov eax, 0x478b20
call fcn.0046aaa8
xor edx, edx
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x44]
push ecx
call sub.KERNEL32.DLL_GetCommandLineW
push eax
call sub.SHELL32.DLL_CommandLineToArgvW
mov ebx, eax
test ebx, ebx
jne 0x40208d
mov al, 1
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x402257
mov eax, 0x4789fc
mov edx, dword [ebx]
call fcn.004773dc
mov eax, 0x478a04
call fcn.00477514
test eax, eax
jne 0x4021cf
cmp dword [ebp - 0x44], 1
jle 0x4021cf
mov esi, 1
lea edi, [ebx + 4]
cmp esi, dword [ebp - 0x44]
jge 0x4021cf
mov word [ebp - 0x2c], 0xc
lea eax, [ebp - 0xc]
call fcn.00401760
push eax
lea eax, [ebp - 8]
inc dword [ebp - 0x20]
mov edx, dword [edi]
call fcn.00477350
inc dword [ebp - 0x20]
lea edx, [ebp - 8]
push edx
mov edx, 0x4789e1
lea eax, [ebp - 4]
call fcn.00477268
inc dword [ebp - 0x20]
pop edx
pop ecx
call fcn.00477464
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
call fcn.00401760
push eax
inc dword [ebp - 0x20]
mov edx, 0x4789e3
lea eax, [ebp - 0x10]
call fcn.00477268
inc dword [ebp - 0x20]
lea edx, [ebp - 0x10]
pop ecx
pop eax
call fcn.00477464
lea edx, [ebp - 0x14]
mov eax, 0x478a04
call fcn.00477410
dec dword [ebp - 0x20]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0047739c
dec dword [ebp - 0x20]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0047739c
dec dword [ebp - 0x20]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0047739c
dec dword [ebp - 0x20]
lea eax, [ebp - 8]
mov edx, 2
call fcn.0047739c
dec dword [ebp - 0x20]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0047739c
mov ecx, dword [ebp - 0x44]
dec ecx
cmp esi, ecx
jge 0x4021c2
mov word [ebp - 0x2c], 0x18
mov edx, 0x4789e5
lea eax, [ebp - 0x18]
call fcn.00477268
inc dword [ebp - 0x20]
lea edx, [ebp - 0x18]
mov eax, 0x478a04
call fcn.00477410
dec dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0047739c
inc esi
add edi, 4
cmp esi, dword [ebp - 0x44]
jl 0x4020c6
push ebx
call sub.KERNEL32.DLL_LocalFree
call fcn.00402260
test eax, eax
jne 0x4021ec
mov al, 1
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x402257
mov dl, byte [ebp - 0x3d]
call fcn.004023dc
test al, al
je 0x40224b
mov eax, dword [0x48179c]
test eax, eax
je 0x402215
push 0xffffffffffffffff
push eax
call sub.KERNEL32.DLL_WaitForSingleObject
mov ecx, dword [0x48179c]
push ecx
call sub.KERNEL32.DLL_CloseHandle
push 0x3e8
call sub.KERNEL32.DLL_Sleep
mov eax, 0x4789fc
call fcn.00477514
test eax, eax
je 0x40223d
mov eax, 0x4789fc
call fcn.004017e8
push eax
call sub.KERNEL32.DLL_DeleteFileW
mov al, 1
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
jmp 0x402257
xor eax, eax
mov edx, dword [ebp - 0x3c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402298
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbd8
push ebx
mov dword [ebp - 8], eax
lea ebx, [ebp - 0x34]
mov eax, 0x478bc8
call fcn.0046aaa8
lea edx, [ebp - 0x220]
push edx
push 0xf5
call sub.KERNEL32.DLL_GetTempPathW
test eax, eax
jne 0x40231a
mov word [ebx + 0x10], 0xc
mov edx, 0x4789e7
lea eax, [ebp - 4]
call fcn.00477268
inc dword [ebx + 0x1c]
lea edx, [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.004773c8
mov eax, dword [ebp - 8]
mov edx, 2
mov word [ebx + 0x10], 0x18
push eax
lea eax, [ebp - 4]
dec dword [ebx + 0x1c]
call fcn.0047739c
pop eax
mov word [ebx + 0x10], 0xc
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x4023d6
lea ecx, [ebp - 0x428]
push ecx
push 0
push 0x4789e8
lea eax, [ebp - 0x220]
push eax
call sub.KERNEL32.DLL_GetTempFileNameW
test eax, eax
jne 0x402388
mov word [ebx + 0x10], 0x24
mov edx, 0x4789f0
lea eax, [ebp - 0xc]
call fcn.00477268
inc dword [ebx + 0x1c]
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 8]
call fcn.004773c8
mov eax, dword [ebp - 8]
mov edx, 2
mov word [ebx + 0x10], 0x30
push eax
lea eax, [ebp - 0xc]
dec dword [ebx + 0x1c]
call fcn.0047739c
pop eax
mov word [ebx + 0x10], 0x24
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
jmp 0x4023d6
mov word [ebx + 0x10], 0x3c
lea edx, [ebp - 0x428]
lea eax, [ebp - 0x10]
call fcn.00477350
mov edx, eax
inc dword [ebx + 0x1c]
mov eax, dword [ebp - 8]
call fcn.004773c8
mov eax, dword [ebp - 8]
mov edx, 2
mov word [ebx + 0x10], 0x48
push eax
lea eax, [ebp - 0x10]
dec dword [ebx + 0x1c]
call fcn.0047739c
pop eax
mov word [ebx + 0x10], 0x3c
inc dword [ebx + 0x1c]
mov edx, dword [ebx]
mov dword fs:[0], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4023dc
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
mov byte [ebp - 0x29], dl
mov edi, eax
mov eax, 0x478c2c
call fcn.0046aaa8
mov eax, 0x4789fc
call fcn.00477514
test eax, eax
je 0x402406
test edi, edi
jne 0x402417
mov al, 1
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x402605
push 0
push 0
push 3
push 0
push 1
push SysReAllocStringLen
mov eax, 0x4789fc
call fcn.004017e8
push eax
call sub.KERNEL32.DLL_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40244e
mov al, 1
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
jmp 0x402605
xor ecx, ecx
mov dword [ebp - 0x30], ecx
xor esi, esi
mov byte [ebp - 0x31], 1
push 0
push 0
push edi
push ebx
call sub.KERNEL32.DLL_SetFilePointer
cmp edi, eax
jne 0x4025e2
lea eax, [ebp - 0x30]
push 0
push eax
lea edx, [ebp - 0x54]
push 0x18
push edx
push ebx
call sub.KERNEL32.DLL_ReadFile
cmp dword [ebp - 0x54], 0
je 0x4025e2
cmp dword [ebp - 0x48], 0
jne 0x402492
cmp dword [ebp - 0x4c], 0
je 0x4025e2
cmp dword [ebp - 0x30], 0
je 0x4025e2
cmp dword [ebp - 0x30], 0x18
jne 0x4025e2
push 0x47cb50
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.00466380
add esp, 8
mov esi, eax
test eax, eax
je 0x4025e2
push 0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x44]
push ecx
push esi
push ebx
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x44]
jne 0x4025e2
mov eax, 0x478a0c
mov edx, esi
call fcn.004773dc
cmp byte [ebp - 0x29], 0
jne 0x402519
lea eax, [ebp - 0x3c]
call fcn.0040260c
lea edx, [ebp - 0x3c]
mov eax, dword [edx]
mov edx, dword [edx + 4]
cmp edx, dword [ebp - 0x48]
jne 0x40250e
cmp eax, dword [ebp - 0x4c]
jb 0x402519
mov byte [ebp - 0x31], 0
jmp 0x4025e2
push esi
call fcn.0045f510
pop ecx
push 0x47cb50
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.00466380
add esp, 8
mov esi, eax
test eax, eax
je 0x4025e2
push 0
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x54]
push ecx
push esi
push ebx
call sub.KERNEL32.DLL_ReadFile
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x54]
jne 0x4025e2
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov word [ebp - 0x18], 0xc
lea eax, [ebp - 4]
call fcn.00401760
inc dword [ebp - 0xc]
call fcn.00402298
lea edx, [ebp - 4]
mov eax, 0x4789fc
call fcn.004773c8
dec dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.0047739c
push 0
push 0
push 4
push 0
push 0
push 0x40000000
mov eax, 0x4789fc
call fcn.004017e8
push eax
call sub.KERNEL32.DLL_CreateFileW
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4025e2
push 0
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ebp - 0x54]
push edx
push esi
push ebx
call sub.KERNEL32.DLL_WriteFile
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x54]
jne 0x4025e2
push ebx
call sub.KERNEL32.DLL_CloseHandle
or ebx, 0xffffffff
call fcn.0040267c
mov byte [ebp - 0x31], 1
test esi, esi
je 0x4025ed
push esi
call fcn.0045f510
pop ecx
cmp ebx, 0xffffffff
je 0x4025f8
push ebx
call sub.KERNEL32.DLL_CloseHandle
mov al, byte [ebp - 0x31]
mov edx, dword [ebp - 0x28]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x410174
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.0040feb0
dec esi
jne 0x410196
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x411308
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x481a84
cmp dword [edi], 0
jne 0x411384
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x481a80]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x479bdc
mov ecx, 2
call fcn.00422788
mov edx, 0x4112e0
lea eax, [esi + 5]
call fcn.00411300
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00411300
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 0x411359
mov dword [0x481a80], 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

Function at 0x4123a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004243e4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x4123f8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4815c8]
mov dl, 1
mov eax, dword [0x411eac]
call fcn.004182b4
call fcn.004239b0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00411fb4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4146b8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x41470a
test eax, edx
je 0x41470d
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x4146cd
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 0x4146f3
add ecx, 4
js 0x4146e3
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4146f0
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 0x414719
test edx, edx
jne 0x4146c0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret
Function at 0x4179f4
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 0x100
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x417a2d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00424044
jmp 0x417a36
mov eax, ebx
mov edx, esi
call fcn.00423fa8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x417a40
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
test eax, eax
jle 0x417a62
movzx eax, byte [esp]
jmp 0x417a64
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4180f4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x417f6c
mov eax, dword [0x481548]
cmp byte [eax], 0
je 0x418170
mov eax, dword [0x48154c]
call fcn.0042291c
call fcn.004226f4
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.0041513c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4181b8
push 0xfffffffffffffff4
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
jmp 0x4181a6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4813f8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x481784]
call fcn.00425464
push eax
call sub.USER32.DLL_LoadStringA
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.USER32.DLL_MessageBoxA
add esp, 0x444
ret
Function at 0x418a64
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 0x418b3a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00423fec
lea eax, [ebp - 4]
call fcn.0042443c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004243e4
push eax
call sub.VERSION.DLL_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x418b24
mov eax, ebx
call fcn.00422528
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x418b1d
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.004243e4
push eax
call sub.VERSION.DLL_GetFileVersionInfoA
test eax, eax
je 0x418b07
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x418b4c
mov eax, dword [ebp - 0x10]
push eax
call sub.VERSION.DLL_VerQueryValueA
test eax, eax
je 0x418b07
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 0x418b24
mov eax, dword [ebp - 0x10]
call fcn.00422544
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418b41
lea eax, [ebp - 4]
call fcn.00423f54
ret

Function at 0x422f4c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x479f68]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x422fe4
push reloc.OLEAUT32.DLL_SysReAllocString
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x422fc4
xor eax, eax
push ebp
push 0x422fbd
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 0x423000
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 0x422fc4
mov eax, dword [ebp - 4]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
movzx eax, word [0x479f68]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x479f68], ax
mov esp, ebp
pop ebp
ret

Function at 0x423d20
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x483cc8], 0
je 0x423d81
cmp word [0x483e9c], 0xd7b2
jne 0x423d49
cmp dword [0x483ea4], 0
jbe 0x423d49
mov eax, 0x483e98
call dword [0x483eb4]
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 0x423da8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle
push eax
call sub.KERNEL32.DLL_WriteFile
pop edx
ret
cmp byte [0x479f74], 0
jne 0x423d9d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.USER32.DLL_MessageBoxA
pop edx
ret
Function at 0x423ed8
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 [0x479f54], 0
je 0x423efe
mov edx, esi
mov eax, ebx
call dword [0x479f54]
jmp 0x423f0d
mov eax, 8
call fcn.00422528
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x483cc9], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x423ea0
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