joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ba170
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x857060]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 8]
push 0
push eax
push 0
push 0
push 0x16
push dword [edi]
mov dword [ebp - 8], 0
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x6ba204
mov eax, dword [ebp - 8]
xor ecx, ecx
shr eax, 1
mov edx, 2
mul edx
push esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.006d0f4b
add esp, 4
mov esi, eax
lea eax, [ebp - 8]
push 0
push eax
push esi
push 0
push 0x16
push dword [edi]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x6ba1f6
call fcn.006aafd0
push esi
push str.Header_contents:__n_s
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
add esp, 0xc
test esi, esi
je 0x6ba203
push esi
call fcn.006d0c28
add esp, 4
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.006d0965
mov esp, ebp
pop ebp
ret
Function at 0x6d40ab
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x70eb30
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0070e7e1

Function at 0x70eb3b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0070e96b

Function at 0x712474
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.007123f6
Function at 0x40c2b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x40c359
test eax, edx
je 0x40c35c
push 0
push 0
cmp word [eax - 0xa], 2
je 0x40c2d9
push edx
mov edx, eax
mov eax, esp
call fcn.004060e4
pop edx
mov eax, dword [esp]
cmp word [edx - 0xa], 2
je 0x40c2ef
push eax
lea eax, [esp + 8]
call fcn.004060e4
pop eax
mov edx, dword [esp + 4]
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x40c2fe
movzx eax, word [eax]
sub eax, ecx
jmp 0x40c325
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]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40c33f
add ecx, 4
js 0x40c316
pop eax
pop ebx
mov ecx, esp
mov edx, dword [ecx]
or edx, dword [ecx + 4]
je 0x40c33c
push eax
mov eax, ecx
mov edx, 2
call fcn.004054b0
pop eax
pop edx
pop edx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x40c323
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x40c325
xor eax, eax
ret
test eax, eax
je 0x40c36c
test edx, edx
jne 0x40c2c0
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x415127
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffdf8
mov ebx, eax
mov eax, ebx
call fcn.004057c0
mov ebp, eax
push 0
push 0
push ebp
push ebx
push 0
push 0xfde9
call fcn.00408fdc
mov edi, eax
cmp edi, 0x104
jbe 0x41514a
mov eax, edi
add eax, eax
call fcn.0040308c
mov esi, eax
jmp 0x41514c
mov esi, esp
push edi
push esi
push ebp
push ebx
push 0
push 0xfde9
call fcn.00408fdc
push edi
push esi
call fcn.0040942c
xor ebx, ebx
mov eax, edi
dec eax
test eax, eax
jl 0x415185
inc eax
xor edx, edx
mov ecx, ebx
shl ecx, 5
shr ebx, 0x1b
or ecx, ebx
mov ebx, ecx
movzx ecx, word [esi + edx*2]
xor ebx, ecx
inc edx
dec eax
jne 0x41516f
mov eax, esp
cmp esi, eax
je 0x415192
mov eax, esi
call fcn.004030a8
mov eax, ebx
add esp, 0x208
pop ebp
pop edi
pop esi
pop ebx
ret
push esi
push ebx
mov esi, eax
xor eax, eax
push esi
rol eax, 5
mov bl, byte [esi]
test bl, 0x80
jne 0x4151cc
cmp bl, 0
je 0x4151c8
cmp bl, 0x41
jl 0x4151c3
cmp bl, 0x5a
jg 0x4151c3
or bl, 0x20
xor al, bl
inc esi
jmp 0x4151a7
pop ecx
pop ebx
pop esi
ret
pop eax
pop ebx
pop esi
jmp 0x41510c

Function at 0x4377c8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x4377ce
ret
Function at 0x4014df
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [0x528b948]
push ebx
push esi
mov esi, dword [0x52618e4]
push edi
xor edi, edi
mov dword [ebp - 4], edi
sub dword [ebp - 4], 0x325004ac
xor eax, 0x4c0e69ef
sub dword [ebp - 4], 0x328f10d8
xor ebx, 0xbfa7e93
add dword [ebp - 4], 0x64df1584
sub dword [ebp - 4], 0x7287cb98
and eax, 0x4ed8203e
add dword [ebp - 4], 0x7287cba0
xor edx, edx
mov eax, ecx
div dword [ebp - 4]
cmp dword [0x528b948], 0x8eb
mov dword [ebp - 0x10], eax
jne 0x401594
mov dword [ebp - 0xc], edi
mov eax, 0xf958ec5
sub dword [ebp - 0xc], 0x7e6f53c2
add dword [ebp - 0xc], 0x2dc437fa
and eax, 0x617bae8f
add dword [ebp - 0xc], 0x50ab1bc8
sub dword [ebp - 0xc], 0x66d0855e
xor ebx, 0x4a9ada61
add dword [ebp - 0xc], 0x66d0855e
shl ebx, 0x18
sub dword [ebp - 0xc], 0x2d574f28
shr ebx, 0x1f
add dword [ebp - 0xc], 0x8b8aac2
mov eax, dword [ebp - 0xc]
mov dword [0x52618dc], eax
cmp dword [ebp - 0x10], edi
jbe 0x401647
mov dword [ebp - 8], 0xac54978e
mov eax, 0xc0d0242
add dword [ebp - 8], 0x3105bb84
add dword [ebp - 8], 0x2529d70
and ebx, 0x21b9bf72
sub dword [ebp - 8], 0x4000d628
add dword [ebp - 8], 0x5333ddc
mov eax, 0xdf7b400
add dword [ebp - 8], 0x561cbd96
shr eax, 7
add dword [ebp - 8], 0x503ea34
shl eax, 0x18
and eax, 0x1029259a
add dword [ebp - 8], 2
mov eax, dword [ebp - 8]
imul eax, edi
lea eax, [esi + eax*4]
push eax
call fcn.0040119d
and dword [ebp - 0xc], 0
pop ecx
xor eax, 0x7f64dbbf
sub dword [ebp - 0xc], 0x5fab1710
mov ebx, 0x76852888
add dword [ebp - 0xc], 0x2b2aff12
mov ebx, 0x7c319521
add dword [ebp - 0xc], 0x14324d26
shl ebx, 8
add dword [ebp - 0xc], 0x204dcad8
and ebx, 0x50ce5dd5
mov eax, dword [ebp - 0xc]
inc edi
mov dword [0x5261908], eax
cmp edi, dword [ebp - 0x10]
jb 0x40159d
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401652
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push 0x429c40
push dword [0x5261f84]
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x52609a8], eax
lea eax, [esp]
push eax
push 0x40
push dword [0x528b948]
push dword [0x52618e4]
call dword [sym.imp.KERNEL32.DLL_VirtualProtect]
pop ecx
ret
Function at 0x403156
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x426638]
jne 0x403160
repz ret
jmp fcn.0040a36c

Function at 0x415ee0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00408982
and dword [ebp - 4], 0
cmp dword [0x429b48], 0
mov ebx, eax
jne 0x415f91
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x416042
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x416042
push eax
call fcn.00408910
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x429b48], eax
call esi
push eax
call fcn.00408910
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429b4c], eax
call esi
push eax
call fcn.00408910
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429b50], eax
call esi
push eax
call fcn.00408910
pop ecx
mov dword [0x429b58], eax
test eax, eax
je 0x415f91
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00408910
pop ecx
mov dword [0x429b54], eax
mov eax, dword [0x429b54]
cmp eax, ebx
je 0x415fe9
cmp dword [0x429b58], ebx
je 0x415fe9
push eax
call fcn.0040898b
push dword [0x429b58]
mov esi, eax
call fcn.0040898b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x415fe9
test edi, edi
je 0x415fe9
call esi
test eax, eax
je 0x415fe0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x415fe0
test byte [ebp - 0xc], 1
jne 0x415fe9
or dword [ebp + 0x10], 0x200000
jmp 0x416022
mov eax, dword [0x429b4c]
cmp eax, ebx
je 0x416022
push eax
call fcn.0040898b
pop ecx
test eax, eax
je 0x416022
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x416022
mov eax, dword [0x429b50]
cmp eax, ebx
je 0x416022
push eax
call fcn.0040898b
pop ecx
test eax, eax
je 0x416022
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429b48]
call fcn.0040898b
pop ecx
test eax, eax
je 0x416042
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x416044
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4036f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d7238
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ecx
mov byte [esp + 0xc], cl
mov dword [esp + 0x30], ecx
lea ecx, [esp + 8]
push ecx
push eax
mov ecx, esi
call fcn.00401aa0
cmp eax, 1
jne 0x403778
lea edx, [esp + 8]
push edx
lea ecx, [esi + 0x17c]
call fcn.004035a0
cmp dword [esp + 0x20], 0x10
jb 0x403771
mov eax, dword [esp + 0xc]
push eax
call fcn.0048f8b2
add esp, 4
mov eax, 1
jmp 0x40378e
cmp dword [esp + 0x20], 0x10
jb 0x40378c
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0048f8b2
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004a0abf
add esp, 0x2c
ret 4
Function at 0x4040a0
Capabilities:
Resolve function by parsing pe exports
Write file on windows

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x8a1d4]
call fcn.00490c2e
cmp dword [esi + 0x88574], 1
jne 0x4040c1
push 0
push 0
call dword [sym.imp.user32.dll_ChangeDisplaySettingsA]
lea ecx, [esi + 0xa8]
pop esi
jmp fcn.004415f0
Function at 0x40769a
Capabilities:
Hide graphical window

Disassembly:
movzx eax, word [esp + 0xc]
cmp eax, 0x8004
push esi
mov esi, ecx
jg 0x407794
je 0x4076d9
cmp eax, 6
je 0x407803
cmp eax, 0x86
je 0x407803
cmp eax, 0x8003
jne 0x407803
mov eax, dword [esp + 8]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.user32.dll_PostMessageA]
pop esi
ret 0x14
mov ecx, 1
xor dword [esi + 0x88574], ecx
mov eax, dword [esi + 0x88574]
cmp eax, ecx
jne 0x407707
mov ecx, esi
call fcn.00406b80
test eax, eax
jne 0x407803
mov dword [esi + 0x88574], eax
pop esi
ret 0x14
test eax, eax
jne 0x407803
cmp dword [esi + 0x88578], ecx
jne 0x40772b
push ecx
lea ecx, [esi + 0x8a23c]
push ecx
mov ecx, dword [esi + 0x20]
call fcn.004043a0
pop esi
ret 0x14
push 0
push 0
call dword [sym.imp.user32.dll_ChangeDisplaySettingsA]
mov ecx, dword [esi + 0x20]
push 0
push 0xc80000
push 0
call fcn.004917a7
mov edx, dword [esi + 0x20]
mov eax, dword [edx + 0x20]
push 5
push eax
call dword [sym.imp.user32.dll_ShowWindow]
lea ecx, [esi + 0x8a1ec]
push ecx
mov ecx, dword [esi + 0x20]
call fcn.004962f3
mov eax, dword [esi + 0x8a218]
mov edx, dword [esi + 0x5968]
mov ecx, dword [esi + 0x5964]
push 0x40
add edx, eax
push edx
mov edx, dword [0x5b95f8]
push ecx
neg eax
push eax
push 0
push 0
push edx
call dword [sym.imp.user32.dll_SetWindowPos]
pop esi
ret 0x14
sub eax, 0x8022
je 0x4077cc
sub eax, 0xb
je 0x4077bd
sub eax, 2
jne 0x407803
mov eax, dword [esi + 0x89bf0]
mov edx, dword [eax + 0x14c]
lea ecx, [esi + 0x89bf0]
call edx
pop esi
ret 0x14
lea ecx, [esi + 0xa8]
call fcn.00448b20
pop esi
ret 0x14
lea edx, [esi + 0x13e0]
mov eax, edx
push edi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4077d8
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x8a2c4]
call fcn.004018a0
mov eax, dword [esi + 0x8a250]
mov edx, dword [eax + 0x14c]
lea ecx, [esi + 0x8a250]
call edx
pop edi
pop esi
ret 0x14
Function at 0x4083c0
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0x94], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.kernel32.dll_GetVersionExA]
mov ecx, dword [esp + 0x10]
xor eax, eax
sub ecx, eax
je 0x4084e9
sub ecx, 1
je 0x40849a
sub ecx, 1
je 0x408417
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret
mov ecx, dword [esp + 4]
cmp ecx, 3
jne 0x408437
mov eax, ecx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret
cmp ecx, 4
jne 0x408453
mov eax, ecx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret
cmp ecx, 5
jne 0x40847b
xor eax, eax
cmp dword [esp + 8], eax
setne al
add eax, 0x7d0
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret
cmp ecx, 6
jb 0x4084ee
mov eax, 0x1770
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret
mov ecx, dword [esp + 4]
cmp ecx, 4
jne 0x4084cd
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x4084c3
lea eax, [ecx + 0x5f]
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret
jbe 0x4084ca
mov eax, 0x62
cmp ecx, 0xa
jbe 0x4084ee
mov eax, 0x63
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret
mov eax, 0x1f
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004a0abf
add esp, 0x98
ret

Function at 0x408510
Capabilities:
Get hostname
Get session user name

Disassembly:
sub esp, 0x208
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp + 0x204], eax
push esi
push 0x100
lea eax, [esp + 0xc]
push 0
push eax
mov dword [esp + 0x10], 0x100
call fcn.004a0350
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.advapi32.dll_GetUserNameA]
push 0x100
lea eax, [esp + 0x10c]
push 0
push eax
call fcn.004a0350
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10c]
push edx
mov dword [esp + 0xc], 0x10
call dword [sym.imp.kernel32.dll_GetComputerNameA]
call fcn.004083c0
mov esi, eax
call fcn.00408390
cmp esi, 0x62
mov ecx, eax
jg 0x4085d6
je 0x4085ce
lea eax, [esi - 3]
cmp eax, 0x5c
ja case.0x4085a7.5
movzx eax, byte [eax + 0x40865c]
jmp dword [eax*4 + 0x408648]
or ecx, 0x1000
jmp 0x408613
or ecx, 0x5000
jmp 0x408613
or ecx, 0x6000
jmp 0x408613
or ecx, 0x7000
jmp 0x408613
or ecx, 0x2000
jmp 0x408613
cmp esi, 0x7d1
jg 0x4085fd
je 0x40860d
cmp esi, 0x63
je 0x4085f5
cmp esi, 0x7d0
jne case.0x4085a7.5
or ecx, 0x4000
jmp 0x408613
or ecx, 0x3000
jmp 0x408613
cmp esi, 0x1770
je 0x40860d
or ecx, 0xf000
jmp 0x408613
or ecx, 0x8000
movzx eax, byte [esp + 8]
shl ecx, 8
or eax, ecx
movzx ecx, byte [esp + 0x108]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x208]
xor eax, dword [esp + 0x210]
pop esi
xor ecx, esp
call fcn.004a0abf
add esp, 0x208
ret
Function at 0x4086c0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x408
push esi
push 0
push 0x20
push 3
push 0
push 0
push 0x80000000
push 0x4dde68
call dword [sym.imp.kernel32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4086f2
xor eax, eax
pop esi
add esp, 0x408
ret
push 0
lea eax, [esp + 8]
push eax
push 0x404
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [sym.imp.kernel32.dll_ReadFile]
push esi
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [esp + 8], 0x2a49db1c
jne 0x4086e8
mov edx, dword [esp + 0x130]
mov eax, dword [esp + edx*4 + 0xc]
xor eax, dword [esp + 0x7c]
push eax
call fcn.00408510
add esp, 4
neg eax
sbb eax, eax
inc eax
pop esi
add esp, 0x408
ret
Function at 0x40e9b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4da65f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0043abe0
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0
call fcn.0043abe0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0043abe0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 2
call fcn.0043abe0
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 3
call fcn.0043abe0
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 4
call fcn.0043abe0
lea ecx, [esi + 0x90]
mov byte [esp + 0x14], 5
call fcn.0043abe0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x41b9f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, ecx
call edi
mov dword [esi + 0xb7c], eax
sub eax, dword [esi + 0xb80]
cmp eax, dword [esi + 0xb68]
mov dword [esi + 0x148], eax
jle 0x41ba36
mov ecx, esi
call fcn.00419a90
call edi
mov dword [esi + 0xb80], eax
sub eax, dword [esi + 0xb7c]
pop edi
mov dword [esi + 0x148], eax
pop esi
ret 4
pop edi
pop esi
mov dword [esp + 4], 1
jmp dword [sym.imp.kernel32.dll_Sleep]
Function at 0x41e9c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.kernel32.dll_GetTickCount]
mov esi, ecx
call edi
mov dword [esi + 0xb7c], eax
sub eax, dword [esi + 0xb80]
cmp eax, dword [esi + 0xb68]
mov dword [esi + 0x148], eax
jle 0x41ea0b
mov eax, dword [esp + 0xc]
push eax
mov ecx, esi
call fcn.0041e580
call edi
mov dword [esi + 0xb80], eax
sub eax, dword [esi + 0xb7c]
pop edi
mov dword [esi + 0x148], eax
pop esi
ret 4
pop edi
pop esi
mov dword [esp + 4], 1
jmp dword [sym.imp.kernel32.dll_Sleep]
Function at 0x42beb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4d86f9
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x51d260]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0043abe0
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], 0
call fcn.0043abe0
lea ecx, [esi + 0x30]
mov byte [esp + 0x14], 1
call fcn.0043abe0
lea ecx, [esi + 0x48]
mov byte [esp + 0x14], 2
call fcn.0043abe0
lea ecx, [esi + 0x60]
mov byte [esp + 0x14], 3
call fcn.0043abe0
lea ecx, [esi + 0x78]
mov byte [esp + 0x14], 4
call fcn.0043abe0
lea ecx, [esi + 0x90]
mov byte [esp + 0x14], 5
call fcn.0043abe0
lea ecx, [esi + 0xc0]
mov byte [esp + 0x14], 6
call fcn.0043abe0
lea ecx, [esi + 0xd8]
mov byte [esp + 0x14], 7
call fcn.0043abe0
lea ecx, [esi + 0xf0]
mov byte [esp + 0x14], 8
call fcn.0043abe0
or eax, 0xffffffff
mov dword [esi + 0xa8], eax
mov dword [esi + 0xac], eax
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0x108], eax
mov dword [esi + 0xb0], 0
mov dword [esi + 0x10c], 0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x432000
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 0x432019
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.kernel32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x432054
push edi
push ebx
call dword [sym.imp.kernel32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x432050
lea ebx, [ebx]
cmp esi, eax
jae 0x432054
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x432040
cmp esi, eax
jb 0x43205a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x4338b0
Capabilities:
Query or enumerate registry value

Disassembly:
push edi
mov edi, dword [esp + 0x10]
test edi, edi
jne 0x4338c3
push 0x80004005
call fcn.00403fb0
mov edx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
lea eax, [esp + 0x1c]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x2c], 0
call dword [sym.imp.advapi32.dll_RegQueryValueExA]
test esi, esi
je 0x43392a
mov ecx, dword [edi]
test ecx, ecx
jbe 0x433927
mov edx, dword [esp + 0x14]
test edx, edx
jbe 0x433922
cmp edx, 2
jbe 0x43391b
cmp edx, 7
jne 0x433922
cmp ecx, 1
jb 0x433922
cmp byte [ecx + esi - 1], 0
jne 0x433922
cmp ecx, 1
jbe 0x43392a
cmp byte [ecx + esi - 2], 0
jmp 0x433920
cmp byte [ecx + esi - 1], 0
je 0x43392a
mov eax, 0xd
mov byte [esi], 0
pop esi
pop edi
ret 0xc

Function at 0x4339d0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [ecx + 0x200]
xor eax, eax
test edx, edx
jbe 0x4339fb
lea esp, [esp]
sub edx, eax
mov dl, byte [edx + ecx - 1]
xor dl, 0x7f
mov byte [ecx + eax + 0x210], dl
mov edx, dword [ecx + 0x200]
inc eax
cmp eax, edx
jb 0x4339e0
mov edx, dword [ecx + 0x204]
xor eax, eax
test edx, edx
jbe 0x433a22
sub edx, eax
mov dl, byte [edx + ecx + 0x7f]
xor dl, 0x60
mov byte [ecx + eax + 0x290], dl
mov edx, dword [ecx + 0x204]
inc eax
cmp eax, edx
jb 0x433a07
mov edx, dword [ecx + 0x208]
xor eax, eax
test edx, edx
jbe 0x433a4e
mov edi, edi
sub edx, eax
mov dl, byte [edx + ecx + 0xff]
xor dl, 0x40
mov byte [ecx + eax + 0x310], dl
mov edx, dword [ecx + 0x208]
inc eax
cmp eax, edx
jb 0x433a30
mov edx, dword [ecx + 0x20c]
xor eax, eax
test edx, edx
jbe 0x433a7e
lea ebx, [ebx]
sub edx, eax
mov dl, byte [edx + ecx + 0x17f]
xor dl, 0x20
mov byte [ecx + eax + 0x390], dl
mov edx, dword [ecx + 0x20c]
inc eax
cmp eax, edx
jb 0x433a60
ret
Function at 0x436ab0
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
mov byte [esp + 0xf], 0
call fcn.004a2665
add esp, 4
test eax, eax
jne 0x436b30
push ebp
mov ebp, 0x100
push edi
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004a3869
mov ecx, dword [esi + 8]
inc ecx
add esp, 0x10
cmp dword [esi + 4], ecx
jge 0x436b0d
lea esp, [esp]
add dword [esi + 4], ebp
mov eax, dword [esi + 4]
mov edx, dword [esi]
push eax
push edx
call fcn.004a1e25
mov dword [esi], eax
mov eax, dword [esi + 8]
inc eax
add esp, 8
cmp dword [esi + 4], eax
jl 0x436af0
mov edx, dword [esi + 8]
add edx, dword [esi]
push 1
lea ecx, [esp + 0x13]
push ecx
push edx
call fcn.004a2300
inc dword [esi + 8]
push edi
call fcn.004a2665
add esp, 0x10
test eax, eax
je 0x436ad1
pop ebp
pop edi
pop esi
pop ecx
ret 4

Function at 0x436b40
Capabilities:
Read file on windows

Disassembly:
push ecx
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
mov byte [esp + 0xf], 0
call fcn.004a2665
add esp, 4
test eax, eax
jne 0x436bc0
push ebp
mov ebp, 0xea60
push edi
push 1
lea eax, [esp + 0x17]
push 1
push eax
call fcn.004a3869
mov ecx, dword [esi + 8]
inc ecx
add esp, 0x10
cmp dword [esi + 4], ecx
jge 0x436b9d
lea esp, [esp]
add dword [esi + 4], ebp
mov eax, dword [esi + 4]
mov edx, dword [esi]
push eax
push edx
call fcn.004a1e25
mov dword [esi], eax
mov eax, dword [esi + 8]
inc eax
add esp, 8
cmp dword [esi + 4], eax
jl 0x436b80
mov edx, dword [esi + 8]
add edx, dword [esi]
push 1
lea ecx, [esp + 0x13]
push ecx
push edx
call fcn.004a2300
inc dword [esi + 8]
push edi
call fcn.004a2665
add esp, 0x10
test eax, eax
je 0x436b61
pop ebp
pop edi
pop esi
pop ecx
ret 4

Function at 0x43a1b0
Capabilities:
Resume thread

Disassembly:
push ecx
mov eax, dword [0x51d260]
xor eax, esp
mov dword [esp], eax
push ebx
push esi
push edi
push 0
push 4
push 0
push 0xfffffffffffffffe
mov edi, ecx
push edi
push 0x439970
call fcn.0049419f
mov esi, eax
mov eax, dword [esi + 0x2c]
push eax
mov dword [esi + 0x28], 0
call dword [sym.imp.kernel32.dll_ResumeThread]
mov ecx, dword [esi + 0x2c]
mov ebx, dword [sym.imp.kernel32.dll_WaitForSingleObject]
push 0xa
push ecx
call ebx
cmp eax, 0x102
jne 0x43a216
jmp 0x43a200
mov ecx, edi
call fcn.00434190
mov edx, dword [esi + 0x2c]
push 0xa
push edx
call ebx
cmp eax, 0x102
je 0x43a200
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0xc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004a0abf
pop ecx
ret