joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4563d0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x472bfc]
cmp dword [eax + 0x30], 0
je 0x45647a
cmp dword [ebx + 0x94], 0
jne 0x456474
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x456360
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x456474
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45643a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x456474
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00418d50
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x456449
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456f58
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x456f8d
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404478
jmp 0x456f9a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004043dc
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x457fc0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x458001
mov eax, esi
call fcn.0043df40
test al, al
je 0x458001
mov eax, dword [ebx + 0x84]
call fcn.0043dc3c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x458001
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043dc3c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x45b708
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x10], 0xca
jne 0x45b736
mov eax, ebx
call fcn.0045c1c0
cmp dword [ebx + 0x3c], 0
je 0x45b72f
mov dword [ebx + 0x10], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x10], 0xcb
cmp dword [ebx + 0x10], 0xcb
jne 0x45b7a7
mov edx, dword [ebx + 0x1ac]
cmp dword [edx + 0x10], 0
je 0x45b799
cmp dword [ebx + 8], 0
je 0x45b758
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1ac]
call dword [edx]
test eax, eax
jne 0x45b76a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45b799
cmp dword [ebx + 8], 0
je 0x45b74b
cmp eax, 3
je 0x45b77d
dec eax
jne 0x45b74b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45b74b
mov edx, dword [ebx + 0x138]
add dword [eax + 8], edx
jmp 0x45b74b
mov ecx, dword [ebx + 0x8c]
mov dword [ebx + 0x94], ecx
jmp 0x45b7c5
cmp dword [ebx + 0x10], 0xcc
je 0x45b7c5
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x12
mov edx, dword [ebx + 0x10]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045b7d0
pop ebx
ret
Function at 0x46ee54
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404828
xor eax, eax
push ebp
push 0x46eee8
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, 0xff
call fcn.00408ba0
mov edi, eax
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.00408a40
movzx eax, si
push eax
push edi
call sub.kernel32.dll_WinExec
test bl, bl
je 0x46eec7
cmp eax, 0x20
jae 0x46eea5
mov esi, eax
jmp 0x46eecb
mov eax, dword [0x47192c]
mov eax, dword [eax]
call fcn.004571f4
mov eax, dword [0x47192c]
mov eax, dword [eax]
cmp byte [eax + 0x9c], 0
je 0x46eea5
mov si, 0x20
jmp 0x46eecb
mov si, 0x20
mov eax, edi
call fcn.00408bec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46eeef
lea eax, [ebp - 4]
call fcn.00404388
ret

Function at 0x46f2d4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
mov esi, eax
call sub.kernel32.dll_GetTickCount
mov ebx, eax
mov eax, dword [0x47192c]
mov eax, dword [eax]
call fcn.004571f4
call sub.kernel32.dll_GetTickCount
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
push edx
push eax
mov eax, esi
xor edx, edx
cmp edx, dword [esp + 4]
jne 0x46f316
cmp eax, dword [esp]
pop edx
pop eax
ja 0x46f2df
pop esi
pop ebx
ret
pop edx
pop eax
jg 0x46f2df
pop esi
pop ebx
ret
Function at 0x6c4760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1bc000]
push edi
or ebp, 0xffffffff
jmp 0x6c4782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6c4789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c4778
mov eax, 1
add ebx, ebx
jne 0x6c479b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6c47ac
jne 0x6c47bc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6c47bc
dec eax
add ebx, ebx
jne 0x6c47b8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6c4790
xor ecx, ecx
sub eax, 3
jb 0x6c47d4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6c4846
sar eax, 1
mov ebp, eax
jmp 0x6c47df
add ebx, ebx
jne 0x6c47df
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x6c47ec
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x6c4810
inc ecx
add ebx, ebx
jne 0x6c47fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6c47f1
jne 0x6c480d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6c47f1
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6c4830
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6c4821
jmp 0x6c477e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6c4830
add edi, ecx
jmp 0x6c477e
pop esi
mov edi, esi
mov ecx, 0x1a03
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6c484e
cmp byte [edi], 0xe
jne 0x6c484e
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 eax, ebx
loop 0x6c4853
lea edi, [esi + 0x2c1000]
mov eax, dword [edi]
or eax, eax
je 0x6c48cb
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2c8fe8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2c90b0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6c4880
mov ecx, edi
jns 0x6c48af
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 + 0x2c90b4]
or eax, eax
je 0x6c48c5
mov dword [ebx], eax
add ebx, 4
jmp 0x6c489d
call dword [esi + 0x2c90b8]
popal
jmp 0x424f7f

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 0x414ddb
Capabilities:
Encode data using xor

Disassembly:
xor dword [esi], edi
add esi, 4
mov ecx, 0x9ef50960
cmp esi, edx
jne fcn.00414ddb
mov ecx, 0x17bae346
and ebx, ebx
ret
Function at 0x10006762
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10060d58], 0
jne 0x10006812
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push esi
push eax
push 0x20019
push ecx
mov edx, str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x70], 0x64
mov ecx, 0x80000002
call fcn.1001944a
xor esi, esi
inc esi
test eax, eax
jne 0x100067fc
movzx eax, byte [ebp - 0x68]
xor ecx, ecx
cmp dword [ebp - 0x74], esi
cmove eax, ecx
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push ecx
push str.Version
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100067fc
cmp word [ebp - 0x68], ax
je 0x100067fc
push 0xa
pop edx
lea ecx, [ebp - 0x68]
call fcn.1001944a
mov ecx, dword [0x10060d54]
cmp eax, 4
cmova ecx, esi
mov dword [0x10060d54], ecx
cmp dword [ebp - 0x6c], 0
mov dword [0x10060d58], esi
pop esi
je 0x10006812
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [0x10060d54]
xor ecx, ebp
call fcn.1002f764
leave
ret
Function at 0x10009b64
Capabilities:
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x10031761
call fcn.10030d83
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
mov edx, str.SOFTWARE
push eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x14
call fcn.1001944a
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov edx, 0x10036e08
push eax
sub esp, 0x14
call fcn.1001944a
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov edx, str.Internet_Explorer
push eax
sub esp, 0x14
call fcn.1001944a
test eax, eax
jne 0x10009c8d
cmp dword [ebp + 8], edi
mov eax, str.Default_HTML_Editor
mov ecx, dword [ebp - 0x14]
mov esi, str.Default_MHTML_Editor
cmove esi, eax
mov edx, esi
call fcn.1000b7bc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov edx, esi
push eax
sub esp, 0x14
call fcn.1001944a
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov edx, 0x10036e40
push eax
sub esp, 0x14
call fcn.1001944a
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov edx, 0x100364c0
push eax
sub esp, 0x14
call fcn.1001944a
test eax, eax
jne 0x10009c8d
push str.Description
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x1c]
xor esi, esi
push esi
mov ecx, ebx
call fcn.1001944a
call fcn.10006762
test eax, eax
je 0x10009c8a
push esi
push esi
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x10009c9e
push dword [ebp - 0x1c]
call esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x10009cad
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x10], ebx
je 0x10009cba
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x10009cc7
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x24], ebx
je 0x10009cd4
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x28], ebx
je 0x10009ce1
push dword [ebp - 0x28]
call esi
mov eax, edi
call fcn.10030d61
ret 4
Function at 0x1000eae7
Capabilities:
Create process on windows

Disassembly:
push 0x90
mov eax, 0x10031b12
call fcn.10030db7
mov edi, edx
mov eax, dword [ebp + 0x20]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x68], eax
xor esi, esi
mov eax, dword [ebp + 0x24]
mov ebx, esi
mov dword [ebp - 0x64], eax
call fcn.1001944a
push eax
push ecx
push dword [0x10038130]
lea ecx, [ebp - 0x7c]
call fcn.1001944a
push 7
mov dword [ebp - 4], esi
xor eax, eax
pop ecx
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x4c], ecx
mov word [ebp - 0x60], ax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x48], ax
mov byte [ebp - 4], 2
call fcn.10021463
test al, al
je 0x1000ebb9
call fcn.1001944a
test al, al
jne 0x1000ebb9
test edi, edi
je 0x1000ec68
cmp word [edi], si
je 0x1000ec68
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1000eb68
sub ecx, edx
sar ecx, 1
push ecx
push edi
lea ecx, [ebp - 0x48]
call fcn.1001944a
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x28]
call fcn.1001944a
push eax
lea ecx, [ebp - 0x60]
call fcn.1001944a
lea ecx, [ebp - 0x28]
call fcn.1000ccca
cmp dword [ebp - 0x50], 0
je 0x1000ebb9
cmp dword [ebp - 0x4c], 8
lea ebx, [ebp - 0x60]
lea edi, [ebp - 0x48]
cmovae ebx, dword [ebp - 0x60]
cmp dword [ebp - 0x34], 8
cmovae edi, dword [ebp - 0x48]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push esi
push esi
push 0x400
push esi
push esi
push esi
push edi
push ebx
call dword [sym.imp.kernel32.dll_CreateProcessW]
mov esi, eax
test esi, esi
je 0x1000ec36
lea ecx, [ebp - 0x9c]
call fcn.1001944a
push eax
push ecx
push dword [0x1003812c]
lea ecx, [ebp - 0x24]
call fcn.1001944a
cmp byte [ebp - 0x24], 0
je 0x1000ec36
mov ecx, dword [ebp - 0x14]
call fcn.1001944a
mov edi, eax
test edi, edi
je 0x1000ec36
cmp byte [ebp - 0x1c], 0
je 0x1000ec22
mov ecx, dword [ebp - 0x14]
call fcn.1001944a
test eax, eax
je 0x1000ec22
mov ecx, dword [ebp - 0x18]
mov edx, eax
call fcn.1001944a
push dword [ebp - 0x14]
xor cl, cl
call fcn.1001944a
mov ecx, dword [ebp - 0x20]
mov edx, edi
call fcn.1001944a
xor eax, eax
mov dword [ebp - 0x20], vtable.Mso::Logging::StructuredObject_unsigned_int__1_.0
mov word [ebp - 0x14], ax
mov edx, 0x851
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], str.Param
push eax
push str.HevCreateProcess_
push ecx
push 0x64
mov ecx, 0x170b0c5
mov dword [ebp - 0x18], esi
call fcn.1001944a
lea ecx, [ebp - 0x48]
call fcn.1000ccca
lea ecx, [ebp - 0x60]
call fcn.1000ccca
cmp byte [ebp - 0x7c], 0
je 0x1000ecbc
mov ecx, dword [ebp - 0x6c]
call fcn.1001944a
mov edi, eax
test edi, edi
je 0x1000ecbc
cmp byte [ebp - 0x74], 0
je 0x1000eca8
mov ecx, dword [ebp - 0x6c]
call fcn.1001944a
test eax, eax
je 0x1000eca8
mov ecx, dword [ebp - 0x70]
mov edx, eax
call fcn.1001944a
push dword [ebp - 0x6c]
xor cl, cl
call fcn.1001944a
mov ecx, dword [ebp - 0x78]
mov edx, edi
call fcn.1001944a
mov eax, esi
call fcn.10030d76
ret 0x20
Function at 0x1001762b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x10
mov esi, ecx
push 1
push esi
call dword [sym.imp.kernel32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1001766d
push edi
push esi
call dword [sym.imp.kernel32.dll_SizeofResource]
test eax, eax
je 0x1001766d
push edi
push esi
call dword [sym.imp.kernel32.dll_LoadResource]
test eax, eax
je 0x1001766d
cmp word [eax + 2], 0
je 0x1001766d
cmp dword [eax + 0x28], 0xfeef04bd
jne 0x1001766d
add eax, 0x30
jmp 0x10017672
mov eax, 0x1003901c
pop edi
pop esi
ret

Function at 0x1001944a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
pushal
call 0x10019459
pop dword [ebp - 0x2c]
mov eax, 0x4e44b2d
sub eax, 0xf4e2b6d4
sub dword [ebp - 0x2c], eax
mov dword [ebp - 0x3c], 0xd637b7d2
add dword [ebp - 0x3c], 0x781a8d79
mov dword [ebp - 0x38], 0x26ca1680
add dword [ebp - 0x38], 0xb6935c5
mov dword [ebp - 0x34], 0x35af8bd2
add dword [ebp - 0x34], 0x169cb85c
mov dword [ebp - 0x30], 0x8ec9011d
add dword [ebp - 0x30], 0x7136fee3
lea eax, [ebp - 0x3c]
push eax
mov eax, 0x67f69f26
sub eax, 0x57f35e82
add eax, dword [ebp - 0x2c]
call dword [eax]
mov dword [ebp - 0x3c], 0x370180fa
add dword [ebp - 0x3c], 0x3d70e85c
mov dword [ebp - 0x38], 0x40b46b0e
add dword [ebp - 0x38], 0xb7f667
mov dword [ebp - 0x34], 0x86759bfa
sub dword [ebp - 0x34], 0x23062f8e
mov dword [ebp - 0x30], 0xdd216c93
add dword [ebp - 0x30], 0x22de936d
lea ebx, [ebp - 0x3c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x2c]
call dword [eax]
push 0x40
push 0x1000
push 0x409ec
push 0
call eax
mov ecx, 0x457974ee
sub ecx, 0x45793021
mov edx, eax
mov ebx, 0x84d55e62
sub ebx, 0x74ced662
add ebx, dword [ebp - 0x2c]
mov esi, 0x8a90ba36
sub esi, 0xa75b65
add dword [ebp - 0x1c], edi
mov edi, dword [ebx]
mov dword [ebp - 0x18], 0x70ae16e4
xor edi, esi
xor dword [ebp - 0xc], 0xaa832618
mov dword [edx], edi
xor dword [ebp - 0x14], edi
add edx, 0x378f286f
sub edx, 0x378f286b
add ebx, 0xd0f41f58
sub ebx, 0xd0f41f54
loop 0x10019576
add eax, 0x83febf94
add eax, 0x7c024673
mov ebx, eax
add eax, 0xe662d8f2
add eax, 0x199d2713
mov ecx, 0x85f8123e
sub ecx, 0x75f8123e
add ecx, dword [ebp - 0x2c]
call ebx
leave
ret
Function at 0x1001d0a2
Capabilities:
Get thread local storage value

Disassembly:
push 8
mov eax, 0x100323df
call fcn.10030d83
cmp byte [0x100604ac], 0
push dword [0x100604a8]
je 0x1001d0c5
call dword [sym.imp.kernel32.dll_FlsGetValue]
jmp 0x1001d0cb
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1001d114
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x1001d11c
mov dword [ebp - 0x10], esi
xor edi, edi
mov dword [ebp - 4], edi
push 8
pop ecx
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
call fcn.1000ccf7
mov dword [esi], eax
push esi
mov dword [eax], edi
mov dword [eax + 4], edi
mov ecx, dword [esi]
mov dword [ecx], esi
mov ecx, 0x100604a8
call fcn.1001944a
mov eax, esi
call fcn.10030d61
ret
call fcn.1001944a
int3
Function at 0x408380
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x482fe8
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push esi
mov eax, dword [0x4ab4ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, 7
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], ax
mov dword [ebp - 4], ebx
lea ecx, [ebp + 8]
push ecx
lea edx, [ebp - 0x60]
push edx
call fcn.00408240
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x44]
push 0x48e674
push eax
call fcn.00406340
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
push ecx
push eax
call fcn.0041d4f0
add esp, 0x1c
mov byte [ebp - 4], 1
cmp dword [ebp - 0x2c], 8
jb 0x408404
mov edx, dword [ebp - 0x40]
push edx
call fcn.00456b63
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov word [ebp - 0x40], ax
mov byte [ebp - 4], bl
cmp dword [ebp - 0x48], 8
jb 0x408425
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.00456b63
add esp, 4
xor edx, edx
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], dx
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], 8
jb 0x40844a
mov eax, dword [ebp - 0x24]
push eax
call fcn.00456b63
add esp, 4
mov eax, dword [0x4ad0e0]
xor ecx, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
mov word [ebp - 0x24], cx
cmp eax, ebx
je 0x408473
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [0x4ad0e0]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40dec0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ecx], edx
mov dword [ecx + 0x9c0], 1
push ebx
jmp 0x40dee0
mov eax, dword [ecx + 0x9c0]
mov edx, dword [ecx + eax*4 - 4]
mov ebx, edx
shr ebx, 0x1e
xor ebx, edx
imul ebx, ebx, 0x6c078965
add ebx, eax
mov dword [ecx + eax*4], ebx
inc dword [ecx + 0x9c0]
cmp dword [ecx + 0x9c0], 0x270
jb 0x40dee0
pop ebx
pop ebp
ret 4

Function at 0x40fad0
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0xc]
sub esi, edi
jne 0x40faea
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
jne 0x40faff
mov ecx, dword [ebp + 8]
call fcn.0040e660
add eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor edx, edx
push ebx
cmp esi, 0xffffffff
jbe 0x40fb76
xor ecx, ecx
lea eax, [esi + 1]
div ecx
mov ebx, dword [ebp + 8]
mov dword [ebp + 0x10], ecx
mov edi, 1
mov dword [ebp - 4], eax
lea esp, [esp]
cmp dword [ebp - 4], edi
jae 0x40fb50
mov byte [ebp - 8], 0
mov edx, dword [ebp - 8]
push edx
push esi
push 0
push ebx
call fcn.0040fad0
add esp, 0x10
cmp eax, 0xffffffff
ja 0x40fb20
cmp eax, esi
ja 0x40fb20
mov ecx, dword [ebp + 0xc]
pop ebx
pop edi
add eax, ecx
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.0040e660
imul eax, edi
add dword [ebp + 0x10], eax
mov eax, esi
sub eax, edi
inc eax
neg edi
cmp edi, eax
je 0x40fb6c
xor edi, edi
jmp 0x40fb50
mov eax, dword [ebp + 0x10]
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
lea ecx, [esi + 1]
div ecx
mov ebx, eax
cmp edx, esi
jne 0x40fb85
inc ebx
mov edi, dword [ebp + 8]
jmp 0x40fb90
cmp dword [edi + 0x9c0], 0x270
jne 0x40fba3
mov ecx, edi
call fcn.0040d210
mov eax, dword [edi + 0x9c0]
mov ecx, dword [edi + eax*4]
inc eax
mov edx, ecx
shr edx, 0xb
xor ecx, edx
mov dword [edi + 0x9c0], eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov edx, ecx
and edx, 0xffffdf8c
shl edx, 0xf
xor ecx, edx
mov eax, ecx
shr eax, 0x12
xor eax, ecx
xor edx, edx
div ebx
cmp eax, esi
ja 0x40fb90
mov ecx, dword [ebp + 0xc]
pop ebx
pop edi
add eax, ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40ffe0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, edx
je 0x410012
push esi
push edi
mov esi, eax
mov edi, eax
shl esi, 6
shr edi, 2
add esi, edi
movzx edi, word [ecx]
lea esi, [esi + edi - 0x61c88647]
add ecx, 2
xor eax, esi
cmp ecx, edx
jne 0x40fff1
pop edi
pop esi
pop ebp
ret
Function at 0x41e970
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485c61
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4ab4ec]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 0x18]
xor ecx, ecx
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [ebp - 4], ecx
mov edi, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
mov dword [esi + 0x14], edi
mov edi, dword [ebp + 0x14]
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x20], edx
mov edx, dword [ebp + 0x24]
mov dword [esi + 0x18], edi
mov edi, dword [ebp + 0x1c]
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x30], ecx
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], edi
mov eax, dword [edi]
mov eax, dword [eax + 0x18]
mov dword [esi + 0x40], eax
lea eax, [esi + 0x5c]
mov byte [esi + 0x57], cl
mov dword [esi + 0x58], eax
lea edx, [esi + 0x58]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax], edx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0xffffffff
mov dword [eax + 0xc], ecx
mov byte [ebp - 4], 1
lea ecx, [esi + 0x7c]
call fcn.0042ee70
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 0x20]
push ecx
push edi
mov ecx, esi
call fcn.0044bed0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x24

Function at 0x420270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4ab4ec]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.004578d0
mov edx, dword [ebp + 0xc]
add esp, 0xc
push 0
push edx
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4202f6
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4202c7
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x20c]
push ecx
mov ecx, esi
call fcn.00405130
mov al, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045718a
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor al, al
pop esi
call fcn.0045718a
mov esp, ebp
pop ebp
ret