joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4203c0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45228a
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
push esi
push edi
mov eax, dword [0x46e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], 0
call fcn.004205f0
mov dword [edi], vtable.base::MessagePumpForIO.0
mov dword [ebp - 4], 0
mov dword [edi + 0x30], 0
push 0x1c
mov byte [ebp - 4], 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
call fcn.00432115
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi + 0x34], eax
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.0041ff50
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 1
push 0
push 0
push 0xffffffffffffffff
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
mov eax, dword [edi + 0x30]
cmp eax, esi
je 0x4204f7
test eax, eax
je 0x4204e6
cmp eax, 0xffffffff
je 0x4204e6
call fcn.00416060
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4204df
push 4
push 0x77
push str.D:360Work2.vpn_turbowin_turbo_basewin_scoped_handle.h
lea ecx, [ebp - 0xc4]
call fcn.0040e4f0
add eax, 8
mov byte [ebp - 4], 4
push str.Check_failed:_false.
push eax
mov dword [ebp - 0x10], 2
call fcn.00402200
add esp, 8
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xc4]
call fcn.0040e6b0
mov dword [edi + 0x30], 0
test esi, esi
je 0x4204f7
cmp esi, 0xffffffff
je 0x4204f7
mov dword [edi + 0x30], esi
call fcn.00416060
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x423370
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452653
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
mov eax, dword [0x46e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [0x470670]
test eax, eax
je 0x4233a8
cmp eax, 1
jne 0x4235d2
mov edx, 1
mov esi, 0x470670
mov ecx, edx
xor eax, eax
lock cmpxchg dword [esi], ecx
test eax, eax
jne 0x4235c5
mov eax, 0x4707a8
xchg dword [eax], edx
test edx, edx
je 0x4233e7
xor esi, esi
mov dword [0x470670], esi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, 0x4706e8
mov dword [ebp - 0x14], 0x4706e8
call fcn.0041aea0
push 0
mov ecx, 0x470704
mov dword [ebp - 4], 0
mov byte [0x470700], 0
call fcn.00415d80
mov dword [0x47070c], 0
mov dword [0x470710], 0
mov dword [0x470714], 0
mov dword [0x470718], 0
mov dword [0x47071c], 0
mov dword [0x470720], 0
mov dword [0x470724], 0
mov dword [0x470728], 0
mov dword [0x47072c], 0
mov ecx, 0x470734
mov byte [ebp - 4], 4
mov byte [0x470730], 0
call fcn.0041ff50
xorps xmm0, xmm0
mov dword [0x470748], 0
movups xmmword [0x470738], xmm0
xor al, al
mov byte [ebp - 4], 5
push 0x24
mov dword [ebp - 0x18], 0x47074c
mov byte [ebp - 0xd], al
mov byte [0x47074c], al
mov dword [0x470750], 0
mov dword [0x470754], 0
mov dword [0x470758], 0
call fcn.00432115
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [0x470754], eax
mov dword [0x47075c], 0
mov dword [0x470760], 0
mov dword [0x470764], 0
push eax
push 0x10
mov ecx, 0x47075c
mov byte [ebp - 4], 7
mov dword [0x470768], 7
mov dword [0x47076c], 8
mov dword [0x470750], 0x3f800000
call fcn.0041ac20
xorps xmm0, xmm0
mov dword [0x470788], 0
movlpd qword [0x470780], xmm0
mov dword [0x47078c], 0
mov dword [0x47079c], 0
mov dword [0x4707a0], 0xf
mov byte [ebp - 4], 9
call sub.KERNEL32.dll_GetCurrentProcessId
mov dword [0x470778], eax
push 0x100
cdq
push 0x1b3
xor edx, 0xcbf29ce4
xor eax, 0x84222325
push edx
push eax
call fcn.004328c0
mov esi, 0x4706e8
mov dword [0x470770], eax
mov dword [0x470774], edx
mov dword [ebp - 4], 0xffffffff
mov dword [0x470670], esi
push 0
push 0x423040
call fcn.0041de90
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x470670
call fcn.0042cc70
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x426540
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x452d8f
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push esi
mov eax, dword [0x46e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov esi, dword [ebp + 8]
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x426639
push 1
lea ecx, [ebp - 0xa4]
call fcn.00408a40
push 0x46433c
push 0xffffffffffffffff
push str._vs.
push dword [esi]
lea eax, [ebp - 0xa4]
mov dword [ebp - 4], 0
push 0x464348
push str.slot_____DWORD_0xFFFFFFFF_
push eax
call fcn.00402200
add esp, 8
push eax
call fcn.00402200
add esp, 8
mov ecx, eax
call fcn.004091b0
push eax
call fcn.00402200
add esp, 8
mov ecx, eax
call fcn.004091b0
push eax
call fcn.00402200
push 0x18
call fcn.00432115
add esp, 0xc
mov dword [ebp + 8], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x426603
push eax
lea ecx, [ebp - 0xa4]
call fcn.00408960
mov esi, eax
jmp 0x426605
xor esi, esi
lea ecx, [ebp - 0xa4]
mov dword [ebp - 4], 0xffffffff
call fcn.00406760
test esi, esi
je 0x426639
push esi
push 0x12
push str.D:360Work2.vpn_turbowin_turbo_base_threading_thread_local_win.cc
lea ecx, [ebp - 0x154]
call fcn.0040e580
lea ecx, [ebp - 0x154]
call fcn.0040e6b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x426670
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x450111
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
push ebx
mov eax, dword [0x46e224]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push dword [ebp + 0xc]
mov dword [ebp - 0x10], ebx
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x4266fa
call fcn.0040f710
cmp eax, 4
jg 0x4266ea
push 4
push 0x24
push str.D:360Work2.vpn_turbowin_turbo_base_threading_thread_local_win.cc
lea ecx, [ebp - 0xc0]
call fcn.0040e4f0
mov dword [ebp - 4], ebx
add eax, 8
push str.Failed_to_TlsSetValue__.
mov ebx, 1
push eax
mov dword [ebp - 0x10], ebx
call fcn.00402200
add esp, 8
test bl, 1
je 0x4266fa
lea ecx, [ebp - 0xc0]
call fcn.0040e6b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x429710
Capabilities:
Contain obfuscated stackstrings

Disassembly:
or al, 0x88
pop ebp
ror byte [eax + 0x45c6c15d], 0xc2
in al, dx
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00429419
push 0x8d005697
inc ebp
rcl byte [eax - 0x18], 0xc5
cld
invalid
Function at 0x42a7e0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
cmp cl, 0xff
inc dword [ebx - 0x6cb43]
inc dword [eax]
je 0x42b5ac
push 5
mov eax, dword [ebp - 0x378]
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0042938a
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x42a826
mov eax, dword [ebp - 0x700]
inc eax
mov dword [ebp - 0x700], eax
cmp dword [ebp - 0x700], 5
jge 0x42a86f
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
movsx ecx, byte [ebp - 0x24]
xor eax, ecx
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
mov eax, dword [ebp - 0x700]
movsx eax, byte [ebp + eax - 0x394]
not eax
mov ecx, dword [ebp - 0x700]
mov byte [ebp + ecx - 0x394], al
jmp 0x42a819
call fcn.00429419
xchg ecx, eax
not ebx
add byte [eax - 0x72b5b], 0xff
add byte [eax - 0x72a5b], al
inc dword [eax]
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
call fcn.00429419
mov byte [0x8d54c39d], al
test esp, edx
clc
invalid

Function at 0x42d260
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, dword [ecx + 4]
push esi
mov esi, dword [ecx]
sub eax, esi
sar eax, 2
test eax, eax
je 0x42d2d1
push ebx
push edi
mov edi, eax
mov ebx, dword [esi]
lea esi, [esi + 4]
movzx edx, al
movzx ecx, bl
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ecx, 8
xor eax, dword [edx*4 + 0x456b08]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
mov ecx, ebx
shr ebx, 0x18
shr ecx, 0x10
xor eax, dword [edx*4 + 0x456b08]
movzx edx, cl
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x456b08]
movzx ecx, al
xor ebx, ecx
shr eax, 8
xor eax, dword [ebx*4 + 0x456b08]
sub edi, 1
jne 0x42d273
pop edi
pop ebx
pop esi
ret
Function at 0x42f440
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x46e224]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x42f463
test eax, eax
jne 0x42f509
mov eax, dword [0x46e1cc]
cmp eax, 0xffffffff
je 0x42f509
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
test ebx, ebx
je 0x42f508
push esi
push edi
lea eax, [ebp - 0x104]
mov ecx, 0x40
push eax
push dword [0x46e1cc]
mov esi, ebx
lea edi, [ebp - 0x104]
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push ebx
call fcn.004325b5
add esp, 4
mov edi, 0x40
mov esi, dword [0x470860]
xor dl, dl
test esi, esi
jle 0x42f4ef
mov ecx, dword [ebp + esi*4 - 0x104]
test ecx, ecx
je 0x42f4ea
mov eax, dword [esi*4 + 0x470868]
test eax, eax
je 0x42f4ea
push ecx
mov dword [ebp + esi*4 - 0x104], 0
call eax
add esp, 4
mov dl, 1
dec esi
test esi, esi
jg 0x42f4c1
dec edi
test edi, edi
jle 0x42f4f8
test dl, dl
jne 0x42f4b5
push 0
push dword [0x46e1cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret 0xc

Function at 0x42f520
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov eax, dword [0x46e224]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x46e1cc], 0xffffffff
push ebx
push esi
push edi
jne 0x42f561
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov edx, eax
mov esi, 0x46e1cc
mov ecx, edx
or eax, 0xffffffff
lock cmpxchg dword [esi], ecx
cmp eax, 0xffffffff
je 0x42f561
push edx
call dword [sym.imp.KERNEL32.dll_TlsFree]
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004342c0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [0x46e1cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x100
call fcn.004325ac
add esp, 4
lea esi, [ebp - 0x104]
mov ebx, eax
mov ecx, 0x40
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push ebx
push dword [0x46e1cc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432107
mov esp, ebp
pop ebp
ret
Function at 0x42fb80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46e224]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x42fc3a
cmp byte [esi + 0x3d], 0
je 0x42fc3a
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x42fc28
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
mov edx, dword [ecx]
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x42fbf0
sub eax, 1
je 0x42fbf4
sub eax, 2
jne 0x42fc28
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x42fc11
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0043a42c
add esp, 0x10
cmp edi, eax
jne 0x42fc28
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.00432107
mov esp, ebp
pop ebp
ret
Function at 0x42ff90
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x46e224]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
cmp ebx, 0xffffffff
jne 0x42ffc0
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x20]
push edi
mov ecx, dword [eax]
test ecx, ecx
je 0x42fffc
mov edx, dword [esi + 0x30]
mov edi, dword [edx]
lea eax, [edi + ecx]
cmp ecx, eax
jae 0x42fffc
lea ecx, [edi - 1]
mov dword [edx], ecx
mov edx, dword [esi + 0x20]
mov esi, dword [edx]
lea ecx, [esi + 1]
mov dword [edx], ecx
mov byte [esi], bl
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret 4
cmp dword [esi + 0x4c], 0
je 0x4300e2
mov edi, dword [esi + 0xc]
lea eax, [esi + 0x3c]
cmp dword [edi], eax
jne 0x430024
mov edx, dword [esi + 0x54]
mov ecx, dword [esi + 0x50]
sub edx, ecx
mov dword [edi], ecx
mov eax, dword [esi + 0x1c]
mov dword [eax], ecx
mov eax, dword [esi + 0x2c]
mov dword [eax], edx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x430057
push dword [esi + 0x4c]
movsx eax, bl
push eax
call fcn.0043c529
add esp, 8
or ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x28], bl
mov edx, dword [ecx]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x27]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x1c]
sub eax, 0
je 0x4300b5
sub eax, 1
je 0x4300b5
sub eax, 2
jne 0x4300e2
push dword [esi + 0x4c]
push dword [ebp - 0x28]
call fcn.0042f920
add esp, 8
or ecx, 0xffffffff
test al, al
cmovne ecx, ebx
pop edi
pop esi
mov eax, ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00432107
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ebp - 0x2c]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4300d2
push dword [esi + 0x4c]
push edi
push 1
push eax
call fcn.0043a42c
add esp, 0x10
cmp edi, eax
jne 0x4300e2
lea eax, [ebp - 0x28]
mov byte [esi + 0x3d], 1
cmp dword [ebp - 0x30], eax
jne 0x42ffe7
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00432107
mov esp, ebp
pop ebp
ret 4

Function at 0x44418d
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00444003
Function at 0x1001f72
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov ebx, ecx
test esi, esi
jne 0x1001f8d
push 0x80004005
call fcn.01001c0c
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x1001f8f
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x1002971
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x1008040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov eax, ecx
mov ecx, dword [ebp + 8]
push 0x2001f
push ecx
push dword [eax]
xor esi, esi
mov dword [ebp - 0x21c], ecx
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
call fcn.01001ed0
mov edi, eax
cmp edi, esi
je 0x10029e3
lea ecx, [ebp - 0x214]
call fcn.01001e5d
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01006318
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1002a01
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x214]
call fcn.01002971
cmp eax, esi
jne 0x1002a4c
lea eax, [ebp - 0x224]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x208]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x214]
mov dword [ebp - 0x208], 0x100
call edi
test eax, eax
je 0x10029eb
lea ecx, [ebp - 0x214]
call fcn.01001e5d
push dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
call fcn.01001dd7
lea ecx, [ebp - 0x214]
mov esi, eax
call fcn.01001e5d
mov eax, esi
jmp 0x10029d3
Function at 0x1004746
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x1008040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
push 2
push edi
push eax
mov dword [ebp - 0x410], edi
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x418], edi
mov dword [ebp - 0x408], edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x40c], eax
cmp eax, edi
jne 0x10047a1
call fcn.01001d1b
mov esi, eax
jmp 0x1004882
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
cmp esi, edi
jne 0x10047ba
call fcn.01001d1b
jmp 0x1004874
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
cmp ebx, edi
je 0x10047b0
push esi
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
lea eax, [esi + 1]
cmp eax, esi
jae 0x100481f
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x10047fc
lea ecx, [ebp - 0x408]
call fcn.01002910
mov esi, 0x8007000e
lea ecx, [ebp - 0x410]
call fcn.0100281f
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006318
leave
ret 0x10
push eax
lea ecx, [ebp - 0x408]
call fcn.01002f22
cmp dword [ebp - 0x408], edi
jne 0x100483a
mov esi, 0x8007000e
jmp 0x1004876
push esi
push dword [ebp - 0x408]
push esi
push ebx
push edi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, edi
je 0x10047b0
mov edx, dword [ebp - 0x408]
push dword [ebp + 0x14]
xor ecx, ecx
mov word [edx + eax*2], cx
push dword [ebp - 0x408]
lea ecx, [ebp - 0x418]
call fcn.01004256
mov esi, eax
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x404]
cmp dword [ebp - 0x408], eax
je 0x1004801
lea ecx, [ebp - 0x408]
call fcn.01002910
jmp 0x1004801

Function at 0x10057fc
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push esi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x30], eax
cmp eax, esi
jne 0x100581d
xor eax, eax
jmp 0x1005843
push ebx
lea eax, [ebp - 4]
push eax
push esi
push edi
push 0x100520b
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp ebx, esi
jne 0x1005840
push dword [edi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret
Function at 0x1005e11
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x1008040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.01005da6
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x1005e84
cmp dword [ebp - 0x94], 5
jb 0x1005ea5
jmp 0x1005ea1
cmp dword [ebp - 0x88], 1
jne 0x1005ea5
cmp dword [ebp - 0x94], 4
ja 0x1005ea1
jne 0x1005ea5
cmp dword [ebp - 0x90], 0
jbe 0x1005ea5
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x10019b0
call fcn.01001cb2
test eax, eax
jge 0x1005ec6
mov byte [0x1008070], 1
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01006318
leave
ret
Function at 0x100624e
Capabilities:
Terminate process

Disassembly:
push 0x5c
push 0x1006ad0
call fcn.01006290
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x20], ebx
mov edi, 0x1008510
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1006009
cmp eax, esi
jne 0x1005ffc
xor esi, esi
inc esi
mov dword [ebp - 0x20], esi
jmp 0x100600c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1005fe3
xor esi, esi
inc esi
mov eax, dword [0x100850c]
cmp eax, esi
jne 0x100601f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x100604e
mov eax, dword [0x100850c]
test eax, eax
jne 0x1006048
mov dword [0x100850c], esi
push 0x10011ec
push 0x10011e0
call fcn.01005f45
pop ecx
pop ecx
test eax, eax
je 0x100604e
jmp 0x1006172
mov dword [0x10081dc], esi
mov eax, dword [0x100850c]
cmp eax, esi
jne 0x1006072
push 0x10011dc
push 0x10011c4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100850c], 2
cmp dword [ebp - 0x20], ebx
jne 0x100607f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100851c], ebx
je 0x10060a0
push 0x100851c
call fcn.01006639
pop ecx
test eax, eax
je 0x10060a0
push ebx
push 2
push ebx
call dword [0x100851c]
mov eax, dword [sym.imp.msvcrt.dll__wcmdln]
cmp dword [eax], ebx
je 0x1006172
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
movzx ecx, word [eax]
cmp cx, 0x20
ja 0x100610a
cmp cx, bx
je 0x10060c5
cmp dword [ebp - 0x1c], ebx
jne 0x100610a
movzx ecx, word [eax]
cmp cx, bx
je 0x10060da
cmp cx, 0x20
ja 0x10060da
inc eax
inc eax
mov dword [ebp - 0x24], eax
jmp 0x10060c5
test byte [ebp - 0x40], 1
je 0x10060e6
movzx ecx, word [ebp - 0x3c]
jmp 0x10060e9
push 0xa
pop ecx
push ecx
push eax
push ebx
push 0x1000000
call main
mov dword [0x10081d8], eax
cmp dword [0x10081cc], ebx
jne 0x100614f
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp cx, 0x22
jne 0x100611b
xor ecx, ecx
cmp dword [ebp - 0x1c], ebx
sete cl
mov dword [ebp - 0x1c], ecx
inc eax
inc eax
jmp 0x10060af
cmp dword [0x10081dc], ebx
jne 0x100615d
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x10081d8]
jmp 0x100617e
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010062d5
ret
call fcn.01006786
jmp 0x1005fa6