joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4637d0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4e3740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00463ba0
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 0
call fcn.00463ba0
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x10]
push eax
mov byte [esp + 0x3c], 1
call fcn.00463c10
lea ecx, [esp + 0x10]
call fcn.00462570
cmp eax, 1
jae 0x463878
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0
push 0
call ebx
mov edi, eax
test edi, edi
je 0x4638e3
lea ecx, [edi + 1]
push ecx
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4638e3
push esi
push edi
call ebx
push esi
lea ecx, [esp + 0x14]
call fcn.00463c10
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
lea ecx, [esp + 0x10]
call fcn.00462570
cmp eax, 1
jb 0x4638e3
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
call fcn.00463670
test eax, eax
je 0x4638e3
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00463950
mov edi, dword [esp + 0x44]
xor esi, esi
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x24]
call fcn.00463c70
push edi
lea ecx, [esp + 0x24]
call fcn.00463c90
push esi
lea ecx, [esp + 0x24]
call fcn.00463d30
push str..tmp
lea ecx, [esp + 0x24]
call fcn.00463c90
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
call fcn.00463650
test eax, eax
je 0x463919
inc esi
cmp esi, 0x7a0a1f00
jb 0x46389a
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00463bc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00463bc0
xor eax, eax
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
call fcn.00463c70
lea ecx, [esp + 0x20]
mov byte [esp + 0x38], 0
call fcn.00463bc0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
call fcn.00463bc0
mov eax, 1
jmp 0x463904
Function at 0x4640b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e37f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
call fcn.00463ba0
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0xc]
push eax
mov dword [esp + 0x28], 0
call fcn.00463c10
push 0
mov ecx, esi
call fcn.00464030
mov ebx, dword [esp + 0x2c]
cmp ebx, 1
jb 0x4641e8
lea ecx, [esp + 0xc]
call fcn.00462570
cmp eax, 1
jae 0x464137
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00463bc0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
mov eax, dword [esp + 0x34]
lea edi, [esi + 0xc]
test eax, eax
jne 0x464184
push 0
lea ecx, [esp + 0x10]
call fcn.00441c50
push eax
push edi
mov ecx, 0x629324
call fcn.004637d0
test eax, eax
jne 0x46418c
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00463bc0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
push eax
mov ecx, edi
call fcn.00463c10
push edi
mov ecx, 0x629324
call fcn.00463730
push 0
push 2
push 2
push 0
push 3
push 0xc0000000
mov ecx, edi
call fcn.00463fb0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi], eax
je 0x4641e8
push 0
push ebx
push 0
push 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
mov dword [esi + 4], eax
je 0x4641e8
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [esi + 8], eax
jne 0x464218
push 1
mov ecx, esi
call fcn.00464030
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.00463bc0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0xc]
mov dword [esi + 0x1c], ebx
mov dword [esp + 0x24], 0xffffffff
call fcn.00463bc0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0xc

Function at 0x464b10
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov ecx, 0x41
xor eax, eax
push edi
lea edi, [esp + 4]
rep stosd dword es:[edi], eax
lea eax, [esp + 4]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea ecx, [esp + 4]
push ecx
mov ecx, dword [esp + 0x110]
call fcn.00463c10
pop edi
add esp, 0x104
ret 4
Function at 0x4657b0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x4657f9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x465c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e3a50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
Function at 0x467020
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x467086
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x467086
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x467067
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x467c30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x467c63
push esi
call fcn.0046caa0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x467c5c
mov dword [esi + 0x14], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x467ce9
mov eax, dword [esi + 0x1b8]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x467cd2
mov eax, dword [esi + 8]
test eax, eax
je 0x467c87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b8]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x467cce
cmp eax, 2
je 0x467cd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x467c7a
cmp eax, 3
je 0x467cad
cmp eax, 1
jne 0x467c7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x467c7a
mov edx, dword [esi + 0x144]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x467c7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00467d20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x467d09
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x15
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.00467d20
add esp, 4
pop esi
ret
Function at 0x498730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x49873b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x49883e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x509178]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x509178]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x509178]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x509178]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x509178]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x509178]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x509178]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x509178]
xor eax, edx
inc ecx
dec edi
jne 0x498756
pop edi
test esi, esi
je 0x498860
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x509178]
xor eax, edx
inc ecx
dec esi
jne 0x498842
pop esi
pop ebx
not eax
ret
Function at 0x4d6dd9
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4d6e11
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d4e90
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004d4e68
jmp 0x4d6e1d
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4d84ce
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4d8510
call fcn.004de03e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4d8510
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4d8507
xor eax, eax
jmp 0x4d8518
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004d851e
pop edi
pop esi
pop ebx
ret 4

Function at 0x4de56e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4de59c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4de5ba
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004de4d4
jmp 0x4de5ba
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4de5ba
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004de4d4
test edi, edi
mov eax, edi
jne 0x4de5a4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x402605
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4061b0
cmp edx, dword [eax]
je 0x402627
add eax, 8
inc ecx
cmp eax, 0x406240
jl 0x402618
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4061b0]
jne 0x402755
mov eax, dword [0x40656c]
cmp eax, 1
je 0x40272f
test eax, eax
jne 0x402658
cmp dword [0x406104], 1
je 0x40272f
cmp edx, 0xfc
je 0x402755
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40268f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00402bb0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402d20
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4026d2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402d20
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4053e8
push edi
call fcn.004039b0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00402bb0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00402bc0
lea eax, [ebp - 0xa0]
push 0x4053c8
push eax
call fcn.00402bc0
push dword [esi + 0x4061b4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00402bc0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040391e
add esp, 0x2c
pop edi
jmp 0x402755
lea eax, [ebp + 8]
lea esi, [esi + 0x4061b4]
push 0
push eax
push dword [esi]
call fcn.00402d20
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x96f058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0096f1a8
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 0x96f07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x96f06a
add dl, dl
jne 0x96f089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x96f0dc
xor eax, eax
add dl, dl
jne 0x96f096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x96f17d
add dl, dl
jne 0x96f0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96f0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96f0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96f0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x96f0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x96f075
mov eax, 1
add dl, dl
jne 0x96f0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x96f0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x96f0e1
sub eax, ebx
mov ebx, 1
jne 0x96f128
mov ecx, 1
add dl, dl
jne 0x96f10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x96f119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x96f105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96f075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x96f13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x96f14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x96f136
cmp eax, 0x7d00
jae 0x96f16d
cmp eax, 0x500
jb 0x96f168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96f075
cmp eax, 0x7f
ja 0x96f170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x96f075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x96f19e
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 0x96f075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401020
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401039
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x401074
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x401070
lea ebx, [ebx]
cmp esi, eax
jae 0x401074
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401060
cmp esi, eax
jb 0x40107a
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4079c0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xa8], 0
je 0x4079d2
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x407980
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xa8], eax
je 0x4079cd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
pop esi
pop ecx
ret
Function at 0x407b30
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a02db
mov eax, dword fs:[0]
push eax
sub esp, 0x4a4
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x4a0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4da22c]
xor eax, esp
push eax
lea eax, [esp + 0x4b8]
mov dword fs:[0], eax
mov esi, dword [esp + 0x4c8]
mov ebp, ecx
cmp dword [ebp + 0xfc], 0
jne 0x407d0d
push 0xffffffffffffffff
call fcn.00435370
mov ecx, eax
call fcn.004341b0
test eax, eax
je 0x407d0d
push 0
push 0x80
push 2
push 0
push 0
mov al, 0x30
mov dl, 0x34
mov cl, 0x37
push 0xc0000000
mov bl, 0x31
push esi
mov byte [esp + 0x4a8], bl
mov byte [esp + 0x4a9], 0x62
mov byte [esp + 0x4aa], 0x33
mov byte [esp + 0x4ab], al
mov byte [esp + 0x4ac], dl
mov byte [esp + 0x4ad], 0x63
mov byte [esp + 0x4ae], cl
mov byte [esp + 0x4af], 0x61
mov byte [esp + 0x4b0], 0x32
mov byte [esp + 0x4b1], 0x64
mov byte [esp + 0x4b2], al
mov byte [esp + 0x4b3], al
mov byte [esp + 0x4b4], dl
mov byte [esp + 0x4b5], cl
mov byte [esp + 0x4b6], bl
mov byte [esp + 0x4b7], al
mov byte [esp + 0x4b8], 0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x407d01
mov eax, dword [ebp + 0x118]
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x407c50
sub eax, edx
lea edi, [eax + 0x10]
lea ecx, [esp + 0x18]
and edi, 0xfffffff0
call fcn.00415ce0
mov eax, dword [0x4d028c]
push 0x10
push 0x10
push eax
lea ecx, [esp + 0x498]
push ecx
xor esi, esi
lea ecx, [esp + 0x28]
mov dword [esp + 0x4d0], esi
call fcn.00415d00
mov eax, dword [ebp + 0x118]
push esi
push edi
push eax
push eax
lea ecx, [esp + 0x28]
call fcn.004167b0
test edi, edi
jle 0x407ce6
mov edx, dword [ebp + 0x118]
movzx eax, byte [edx + esi]
push eax
push str._02x
lea ecx, [esp + 0x4b4]
push 8
push ecx
call fcn.00489085
add esp, 0x10
push 0
lea edx, [esp + 0x18]
push edx
push 2
lea eax, [esp + 0x4b8]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
add esi, 1
cmp esi, edi
jl 0x407ca5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
mov dword [esp + 0x4c0], 0xffffffff
call fcn.00415cf0
call fcn.00435370
mov ecx, eax
call fcn.00433d40
mov ecx, dword [esp + 0x4b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4a0]
xor ecx, esp
call fcn.00488320
add esp, 0x4b0
ret 4
Function at 0x40d8f0
Capabilities:
Get common file path

Disassembly:
sub esp, 0xac
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0xa8], eax
push esi
push edi
mov esi, ecx
call fcn.00407df0
push 0x9c
lea eax, [esp + 0x18]
push 0
push eax
call fcn.004890c0
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x24]
sub eax, 1
push 0x4dbe20
push 0x200
je 0x40d94f
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
jmp 0x40d955
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edx, dword [esi + 0xb8]
mov dword [edx + 0x970], 0x6a
mov eax, dword [esi + 0xb8]
mov dword [eax + 0x974], 0x6b
mov ecx, dword [esi + 0xb8]
mov dword [ecx + 0x978], 0x6c
mov edx, dword [esi + 0xb8]
push 1
lea eax, [esp + 0xc]
push eax
mov dword [edx + 0x97c], 0x6d
mov ecx, dword [esi + 0xb8]
push 0x4dbe20
call fcn.00420be0
test eax, eax
mov edi, dword [sym.imp.USER32.dll_MessageBoxA]
jne 0x40d9d5
cmp dword [esi + 0xf0], 0
jne 0x40da44
push 0x30
push 0x4a8be8
push 0x4a8b80
push 0
call edi
jmp 0x40da44
push 0x7d0
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0xb8]
call fcn.004209b0
test eax, eax
je 0x40da44
mov ecx, dword [esi + 0xb8]
lea edx, [esp + 0xc]
push edx
call fcn.00420da0
cmp dword [esp + 0xc], 0x129
je 0x40da39
push 0x30
push 0x4a8be8
push 0x4a8b44
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esi + 0xb8]
call fcn.00420a40
mov ecx, dword [esi + 0xb8]
push 1
call fcn.00420940
jmp 0x40db44
mov ecx, dword [esi + 0xb8]
call fcn.00420a40
mov ecx, esi
call fcn.00407fd0
cmp dword [esi + 0xf0], 0
je case.default.0x40da6a
mov eax, dword [esi + 0xf4]
add eax, 0xffffffff
cmp eax, 3
ja case.default.0x40da6a
jmp dword [eax*4 + 0x40db80]
push 0x4a6858
push 0x4dc020
push 0x4dc124
call fcn.00488cbe
add esp, 0xc
cmp dword [0x4dc124], 0
je case.default.0x40da6a
mov ecx, esi
call fcn.00408520
mov eax, dword [0x4dc124]
push eax
call fcn.00488b7e
add esp, 4
jmp case.default.0x40da6a
push 0x4a6858
push 0x4dc020
push 0x4dc124
call fcn.00488cbe
add esp, 0xc
cmp dword [0x4dc124], 0
je case.default.0x40da6a
mov ecx, esi
call fcn.0040a120
mov ecx, dword [0x4dc124]
push ecx
call fcn.00488b7e
add esp, 4
jmp case.default.0x40da6a
mov ecx, esi
call fcn.00408910
jmp case.default.0x40da6a
mov ecx, dword [esi + 0xb8]
push 0x7d0
lea edx, [esp + 0xc]
push edx
call fcn.004209b0
test eax, eax
je case.default.0x40da6a
mov ecx, dword [esi + 0xbc]
push 0
call fcn.004398e0
mov ecx, dword [esi + 0xac]
push ecx
mov ecx, eax
call fcn.00437580
mov ecx, dword [esi + 0xb8]
call fcn.00420a40
push 0x30
push 0x4a8b3c
push 0x4a8b08
push 0
call edi
call fcn.00407df0
mov eax, dword [0x4dc12c]
test eax, eax
pop edi
pop esi
je 0x40db6b
cmp dword [0x4dc134], 0
je 0x40db6b
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x41f
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0xa8]
xor ecx, esp
call fcn.00488320
add esp, 0xac
ret
Function at 0x40dbb1
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xa4], 0
je 0x40dbc2
xor eax, eax
pop esi
pop ecx
ret
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x40db90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0xa4], eax
je 0x40dbbd
push 0
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, 1
pop esi
pop ecx
ret

Function at 0x40f170
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x110
mov eax, dword [0x4da22c]
xor eax, esp
mov dword [esp + 0x10c], eax
mov ecx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x124]
lea edx, [esp + 8]
push edx
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x40f1e9
mov edx, dword [esp + 8]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x14]
push ecx
push esi
push edx
mov dword [esp + 0x1c], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
lea eax, [esp + 0x10]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [esp + 0x114]
pop edi
pop esi
xor ecx, esp
call fcn.00488320
add esp, 0x110
ret 0xc

Function at 0x4143c0
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x10
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
jne 0x4143d5
xor eax, eax
pop esi
add esp, 0x10
ret 8
push ebx
mov ebx, dword [esp + 0x1c]
test ebx, ebx
jne 0x4143e8
pop ebx
xor eax, eax
pop esi
add esp, 0x10
ret 8
mov cl, byte [esi + 0xe]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GlobalSize]
push edi
mov edi, 1
push esi
shl edi, cl
mov word [esp + 0x14], 0x4d42
call ebp
add eax, 0xe
mov dword [esp + 0x12], eax
xor eax, eax
push ebx
mov word [esp + 0x1a], ax
mov word [esp + 0x1c], ax
mov eax, dword [esi]
push 0xe
lea edx, [esp + 0x18]
lea ecx, [eax + edi*4 + 0xe]
push 1
push edx
mov dword [esp + 0x2a], ecx
call fcn.00489eb9
add esp, 0x10
push ebx
push esi
call ebp
push eax
push 1
push esi
call fcn.00489eb9
add esp, 0x10
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
add esp, 0x10
ret 8