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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0xc], 0
call fcn.004047b0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4064d0
mov eax, 1
imul ecx, eax, 9
mov byte [ebp + ecx - 0x1c], 0x54
mov edx, 1
imul eax, edx, 3
mov byte [ebp + eax - 0x1c], 0x57
mov ecx, 1
imul edx, ecx, 0xe
mov byte [ebp + edx - 0x1c], 0
mov eax, 1
imul ecx, eax, 0xb
mov byte [ebp + ecx - 0x1c], 0x78
mov edx, 1
shl edx, 2
mov byte [ebp + edx - 0x1c], 0x69
mov eax, 1
imul ecx, eax, 0xc
mov byte [ebp + ecx - 0x1c], 0x74
mov edx, 1
imul eax, edx, 7
mov byte [ebp + eax - 0x1c], 0x6f
mov ecx, 1
shl ecx, 3
mov byte [ebp + ecx - 0x1c], 0x77
mov edx, 1
shl edx, 1
mov byte [ebp + edx - 0x1c], 0x74
mov eax, 1
imul ecx, eax, 0xa
mov byte [ebp + ecx - 0x1c], 0x65
mov edx, 1
imul eax, edx, 5
mov byte [ebp + eax - 0x1c], 0x6e
mov ecx, 1
imul edx, ecx, 0xd
mov byte [ebp + edx - 0x1c], 0x57
mov eax, 1
shl eax, 0
mov byte [ebp + eax - 0x1c], 0x65
mov ecx, 1
imul edx, ecx, 0
mov byte [ebp + edx - 0x1c], 0x53
mov eax, 1
imul ecx, eax, 6
mov byte [ebp + ecx - 0x1c], 0x64
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4064c6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x407f6f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.0041cf36
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x407fa6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.00407fc7
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x418036
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x41807b
call fcn.0041cf36
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41807b
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x418097
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0041fb29
mov ebx, eax
test edi, edi
je 0x418095
test esi, esi
je 0x418095
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x487e19
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004fc88e
call fcn.0041cf8a
cmp dword [eax + 0x14], 0
jne 0x487e34
mov ecx, esi
pop esi
jmp fcn.0048721f
pop esi
ret

Function at 0x487f3a
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0041c682
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x487f76
call fcn.00488159
mov dword [esi + 0xc], 1
jmp 0x487f7b
call fcn.00488159
cmp dword [esi], 0
je 0x487fc4
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x487f9e
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.004180ee
jmp 0x487faf
push 0xff
mov ecx, esi
call fcn.0040a261
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.0040b04c
jmp 0x487fe8
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x487fe8
push dword [esi]
push dword [ebp - 4]
call fcn.0041d139
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4880ae
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00488159
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x4880f6
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.004180ee
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.0040b04c
jmp 0x488101
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.0041d139
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4fa4b7
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.0044ae13
call fcn.0041cf8a
cmp dword [eax + 0x14], 0
jne 0x4fa4d2
mov ecx, esi
pop esi
jmp fcn.004f9da0
pop esi
ret
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x407601
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x407610
pop dword [ebp - 0x48]
mov eax, 0x757a5110
sub eax, 0x7539db00
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x36940
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x6bbf324e
sub ecx, 0x6bbef525
mov esi, eax
mov edi, 0x413bc4
add edi, dword [ebp - 0x48]
mov edx, 0xd4132530
mov ebx, dword [edi]
mov dword [ebp - 4], 0xff7df65d
xor ebx, edx
xor dword [ebp - 0x18], 0xf58b7dd9
mov dword [esi], ebx
sub dword [ebp - 0x24], 0x792d9eea
add esi, 4
add edi, 0xea85ff29
sub edi, 0xea85ff25
loop 0x40765e
add eax, 0x573226c1
add eax, 0xa8cec0b6
xor ebx, ebx
add ebx, eax
add eax, 0x6275a285
sub eax, 0x6275a280
mov ecx, 0x400000
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x401219
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40701c
push 0x40109a
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push eax
fnstcw word [esp]
or word [esp], 0x300
fldcw word [esp]
add esp, 4
push 0
push 0
push 0x407028
push 0x407024
push 0x407020
call sub.CRTDLL.DLL___GetMainArgs
push dword [0x407028]
push dword [0x407024]
push dword [0x407020]
mov dword [0x407014], esp
call fcn.0040129c
add esp, 0x18
xor ecx, ecx
mov dword [ebp - 4], ecx
push eax
call sub.CRTDLL.DLL_exit
leave
ret

Function at 0x40129c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
xor edi, edi
mov dword [ebp - 0x84], 0
call fcn.004019a8
mov edi, eax
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
mov eax, edi
or al, 0x40
push eax
lea eax, [0x4046e9]
lea edx, [fcn.00401a2c]
sub eax, edx
push eax
push fcn.00401a2c
call sub.KERNEL32.dll_VirtualProtect
cmp dword [ebp - 4], 0
je 0x401337
push edi
call fcn.00401883
lea eax, [ebp - 0x84]
push eax
push edi
call fcn.004018d1
add esp, 0xc
mov eax, edi
add eax, 0x1e200
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push eax
mov eax, dword [ebp - 0x88]
mov edx, edi
inc edx
imul eax, edx
push eax
or edi, edi
je 0x401328
mov esi, 0
jmp 0x40132e
lea esi, [0x4070e4]
push esi
call fcn.00401a2c
add esp, 0xc
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x4019a8
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
push edi
and dword [ebp - 0x120], 0
xor edi, edi
push 0
push 0
call sub.USER32.DLL_GetWindow
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendA
mov dword [ebp - 0x11c], 0x14
mov byte [ebp - 0x104], 0
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x118]
push eax
push 1
push 1
lea eax, [ebp - 0x104]
push eax
call sub.CRYPT32.DLL_CryptBinaryToStringW
call sub.KERNEL32.dll_GetLastError
push 0
push 0
call sub.SHLWAPI.DLL_PathAppendW
movzx eax, word [ebp - 0x118]
mov edi, eax
sub edi, 0x41
mov eax, edi
pop edi
leave
ret
Function at 0x405d80
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x405fd3
sub esp, 0x18
movzx eax, byte [0x77c5e5]
test al, al
jne 0x405fab
mov eax, dword [0x77c800]
mov ecx, dword [esp + 0x24]
imul eax, ecx
mov edx, dword [esp + 0x20]
add eax, edx
mov ebx, dword [esp + 0x1c]
test ecx, ecx
je 0x405ea2
cmp ecx, 4
jb 0x405f75
je 0x405f5d
cmp ecx, 8
jbe 0x405f2c
cmp ecx, 0x10
jbe 0x405ecd
mov ebp, dword [0x77c804]
imul ebp, edx
mov esi, dword [0x77c808]
imul esi, edx
mov edi, dword [0x77c80c]
imul edi, edx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edi
cmp ecx, 0x10
jb 0x405e94
mov edx, ebx
mov dword [esp + 0x14], edx
lea ecx, [edx + 4]
lea edi, [edx + 8]
add edx, 0xc
mov ebx, dword [ebx]
xor eax, ebx
imul eax, eax, 0xbce2d621
rol eax, 0xf
imul eax, eax, 0xc70f85e1
mov ecx, dword [ecx]
xor ebp, ecx
imul ebp, ebp, 0xc70f85e1
rol ebp, 0xf
imul ebp, ebp, 0x319bca41
mov ecx, dword [edi]
xor esi, ecx
imul esi, esi, 0x319bca41
rol esi, 0xf
imul esi, esi, 0x8b421a21
mov edi, dword [edx]
mov ecx, dword [esp + 0x10]
xor edi, ecx
imul edi, edi, 0x8b421a21
rol edi, 0xf
imul edi, edi, 0xbce2d621
mov ecx, dword [esp + 0x14]
add ecx, 0x10
mov ebx, ecx
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
mov edx, dword [esp + 0x20]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edi
cmp ecx, 0x10
jae 0x405e14
xor eax, ebp
xor eax, esi
xor eax, edi
test ecx, ecx
jne 0x405dc7
mov edx, eax
mov eax, edx
shr edx, 0x11
xor eax, edx
imul eax, eax, 0x319bca41
mov ecx, eax
shr eax, 0xd
xor ecx, eax
imul ecx, ecx, 0x8b421a21
mov eax, ecx
shr ecx, 0x10
xor eax, ecx
mov dword [esp + 0x28], eax
add esp, 0x18
ret
mov edx, ebx
lea ebp, [edx + 4]
lea esi, [ecx + edx - 8]
lea ecx, [ecx + edx - 4]
mov edx, dword [ebx]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
mov eax, dword [ebp]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
mov eax, dword [esi]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
mov eax, dword [ecx]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
jmp 0x405ea4
mov ebp, ebx
lea ecx, [ecx + ebp - 4]
mov edx, dword [ebx]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
mov eax, dword [ecx]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
jmp 0x405ea4
mov edx, dword [ebx]
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
jmp 0x405ea4
mov ebp, ebx
mov esi, ecx
shr ecx, 1
add ecx, ebp
lea ebp, [esi + ebp - 1]
movzx edx, byte [ebx]
xor edx, eax
movzx eax, byte [ecx]
shl eax, 8
xor edx, eax
movzx eax, byte [ebp]
shl eax, 0x10
xor edx, eax
imul edx, edx, 0xbce2d621
rol edx, 0xf
imul edx, edx, 0xc70f85e1
jmp 0x405ea4
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], eax
call fcn.00449950
mov eax, dword [esp + 0xc]
mov dword [esp + 0x28], eax
add esp, 0x18
ret
call fcn.00448420
jmp fcn.00405d80
Function at 0x40cf10
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40d0a4
sub esp, 0x38
mov eax, dword [0x7410d4]
cmp eax, 0x7000000
jle 0x40d08f
mov eax, 0x7000000
mov dword [esp + 0x10], eax
call fcn.00449f70
mov eax, dword [esp]
and eax, 0x3ffffff
inc eax
mov dword [esp], eax
call fcn.0044a000
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x18], xmm0
mov eax, dword [esp + 0x1c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, dword [esp + 0x18]
mov edi, 0
adc edi, 0
shr esi, 0x1b
shl ebx, 5
or esi, ebx
mov dword [esp + 0x14], esi
test edi, edi
jne 0x40d088
cmp ecx, 0x21
jae 0x40d088
shl ecx, 3
lea ebx, [0x7487c0]
movsd xmm0, qword [ebx + ecx]
movsd qword [esp + 0x30], xmm0
shl ebp, 3
movsd xmm1, qword [ebx + ebp]
movsd qword [esp + 0x28], xmm1
mov dword [esp], eax
add edx, 0xfffffc01
mov eax, 0
adc eax, 0xffffffff
mov dword [esp + 4], eax
call fcn.00444e90
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x20], xmm0
mov eax, dword [esp + 0x14]
and eax, 0xfffff
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.00444f80
movsd xmm0, qword [esp + 0x28]
movsd xmm1, qword [esp + 0x20]
addsd xmm1, xmm0
movsd xmm2, qword [esp + 0x30]
subsd xmm2, xmm0
movsd xmm0, qword [esp + 8]
mulsd xmm2, xmm0
movsd xmm0, qword [0x66c850]
mulsd xmm2, xmm0
addsd xmm1, xmm2
movsd xmm0, qword [0x66c898]
subsd xmm1, xmm0
xorps xmm0, xmm0
ucomisd xmm1, xmm0
jbe 0x40d082
xorps xmm0, xmm0
mov eax, dword [esp + 0x10]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x66c948]
mulsd xmm2, xmm1
mulsd xmm0, xmm2
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x3c], eax
add esp, 0x38
ret
movsd xmm0, xmm1
jmp 0x40d05d
call fcn.00424660
ud2
test eax, eax
je 0x40d098
jmp 0x40cf3f
mov dword [esp + 0x3c], 0
add esp, 0x38
ret
call fcn.00448420
jmp fcn.0040cf10
Function at 0x411020
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x411262
sub esp, 0x20
lea eax, [0x77c668]
mov dword [esp], eax
call fcn.0040b0c0
mov eax, dword [0x76a880]
test eax, eax
je 0x41105f
mov eax, dword [eax + 8]
cmp eax, 0xcc
jne 0x411132
mov eax, dword [0x76a878]
test eax, eax
jne 0x411114
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x77e318]
mov dword [esp + 8], eax
call fcn.0040d0b0
mov eax, dword [esp + 0xc]
mov dword [0x76a878], eax
mov ecx, dword [0x76a850]
mov dword [eax], ecx
mov eax, dword [0x76a878]
mov dword [0x76a850], eax
movzx eax, byte [0x77c9e0]
test al, al
jne 0x411114
xor eax, eax
mov dword [esp + 0x10], eax
cmp eax, 0x80
jge 0x411114
mov ecx, 0x66666667
imul ecx
sar edx, 1
mov ebx, dword [esp + 0x10]
mov ebp, ebx
sar ebx, 0x1f
sub edx, ebx
lea edx, [edx + edx*4]
mov ebx, ebp
sub ebp, edx
cmp ebp, 5
jae 0x41125b
lea edx, [0x7410fc]
movzx ebp, byte [edx + ebp]
cmp ebx, 0x80
jae 0x41125b
lea esi, [0x77c9e0]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
mov dword [esp + 0x10], eax
cmp eax, 0x80
jl 0x4110c1
mov eax, dword [0x76a878]
mov ecx, dword [eax + 4]
mov dword [0x76a878], ecx
mov ecx, dword [0x76a880]
mov dword [eax + 4], ecx
mov dword [0x76a880], eax
mov eax, dword [0x76a880]
mov dword [esp + 0x1c], eax
mov ecx, dword [eax + 8]
mov dword [esp + 0x18], ecx
cmp ecx, 0xcc
jae 0x411254
lea edx, [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], 1
call fcn.00401670
mov eax, dword [esp + 0x18]
lea eax, [eax + eax*4]
mov dword [esp + 0x14], eax
mov ecx, dword [0x77c810]
mov edx, dword [esp + 0x1c]
lea ebx, [edx + eax*4 + 0x10]
test ecx, ecx
jne 0x411237
mov ecx, dword [esp + 0x28]
mov dword [edx + eax*4 + 0x10], ecx
mov ecx, dword [esp + 0x2c]
mov dword [edx + eax*4 + 0x18], ecx
lea ecx, [edx + eax*4 + 0x1c]
mov ebx, dword [0x77c810]
test ebx, ebx
jne 0x41121a
mov ecx, dword [esp + 0x30]
mov dword [edx + eax*4 + 0x1c], ecx
mov ecx, dword [0x77c810]
lea ebx, [edx + eax*4 + 0x20]
test ecx, ecx
jne 0x411200
mov ecx, dword [esp + 0x34]
mov dword [edx + eax*4 + 0x20], ecx
mov ecx, dword [0x77c810]
lea ebx, [edx + eax*4 + 0x14]
test ecx, ecx
jne 0x4111ee
mov ecx, dword [esp + 0x24]
mov dword [edx + eax*4 + 0x14], ecx
mov byte [0x77c5dc], 1
lea eax, [0x77c668]
mov dword [esp], eax
call fcn.0040b2a0
add esp, 0x20
ret
mov dword [esp], ebx
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0040d580
jmp 0x4111d5
mov dword [esp], ebx
mov ecx, dword [esp + 0x34]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x4111bf
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x4111a9
mov dword [esp], ebx
mov ecx, dword [esp + 0x28]
mov dword [esp + 4], ecx
call fcn.0040d580
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
jmp 0x41118b
call fcn.00424660
ud2
call fcn.00424660
ud2
call fcn.00448420
jmp fcn.00411020
Function at 0x41f080
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41f1a7
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x41f12c
cmp cl, 2
jne 0x41f114
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0041fb30
lea eax, [0x770618]
mov dword [esp], eax
call fcn.0040b0c0
lea eax, [0x7705f4]
test byte [eax], al
mov ecx, dword [0x77060c]
mov edx, dword [0x7705f4]
sub ecx, edx
mov dword [0x77060c], ecx
test byte [eax], al
mov ecx, dword [0x770600]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
test byte [eax], al
mov dword [0x770600], edx
lea eax, [0x770618]
mov dword [esp], eax
call fcn.0040b2a0
add esp, 0x14
ret
lea eax, [0x64e6cc]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00425c70
ud2
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov dword [esp + 0x10], ebp
mov ebp, dword [esp + 0x1c]
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
call fcn.00411020
lea eax, [0x770618]
mov dword [esp], eax
call fcn.0040b0c0
lea eax, [0x7705d0]
test byte [eax], al
mov ecx, dword [0x7705e8]
mov edx, dword [0x7705d0]
sub ecx, edx
mov dword [0x7705e8], ecx
test byte [eax], al
mov ecx, dword [0x7705dc]
mov edx, dword [esp + 0x18]
mov dword [edx], ecx
test byte [eax], al
mov dword [0x7705dc], edx
lea eax, [0x770618]
mov dword [esp], eax
call fcn.0040b2a0
jmp 0x41f110
call fcn.00448420
jmp fcn.0041f080
Function at 0x43d030
Capabilities:
Access peb ldr_data

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov eax, dword [eax + 0x18]
mov dword [esp + 0xc], eax
lea ecx, [eax + 0x230]
test byte [ecx], al
mov edx, dword [esp + 0x14]
mov dword [eax + 0x230], edx
test byte [ecx], al
mov edx, dword [esp + 0x18]
mov dword [eax + 0x234], edx
lea edx, [esp + 0x1c]
mov dword [eax + 0x238], edx
mov edx, dword [0x76a85c]
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004025f0
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + 0x240]
mov edx, dword [eax + 0x244]
mov eax, dword [eax + 0x23c]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
add esp, 0x10
ret

Function at 0x43f820
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x43f954
sub esp, 0x2c
mov ecx, dword [esp + 0x34]
test ecx, ecx
setne dl
mov ebx, dword [esp + 0x30]
test ebx, ebx
xchg ebp, ebx
setne bl
xchg ebp, ebx
or edx, ebp
test dl, dl
je 0x43f94b
mov edx, dword [0x7744fc]
mov ebp, dword [0x7744f8]
cmp ecx, edx
xchg esi, ebx
sete bl
xchg esi, ebx
cmp ebx, ebp
xchg ebp, ebx
setb bl
xchg ebp, ebx
and esi, ebp
cmp ecx, edx
setl dl
or edx, esi
test dl, dl
je 0x43f942
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov edx, dword fs:[0x14]
mov edx, dword [edx]
mov edx, dword [edx + 0x18]
mov edx, dword [edx + 0x4c]
mov ebx, dword [edx + 0x90]
add ebx, 1
mov ebp, dword [edx + 0x94]
mov dword [edx + 0x90], ebx
adc ebp, 0
mov dword [edx + 0x94], ebp
mov ebx, dword [edx + 0x18]
mov ebx, dword [ebx + 0x54]
mov dword [edx + 0x98], ebx
lea edi, [esp + 0x14]
mov ebx, eax
xor eax, eax
call fcn.0044a0ca
mov ecx, dword [edx + 0x68]
mov ebp, dword [edx + 0x64]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ecx
mov ecx, dword [edx + 0x94]
mov edx, dword [edx + 0x90]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x30]
shr ecx, 6
mov edx, ebx
shl ebx, 0x1a
or ecx, ebx
mov dword [esp + 0x24], ecx
shr edx, 6
mov dword [esp + 0x28], edx
mov byte [esp], 0x1d
mov dword [esp + 4], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 3
mov dword [esp + 0x10], 3
call fcn.0043e340
add esp, 0x2c
ret
mov eax, ecx
mov ecx, ebx
jmp 0x43f88c
mov eax, ecx
mov ecx, ebx
jmp 0x43f88c
call fcn.00448420
jmp fcn.0043f820
Function at 0x441f30
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x441fe3
sub esp, 0x38
lea eax, [esp + 0x3c]
mov ecx, eax
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.00449840
mov eax, dword [esp + 4]
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 0x10], ecx
mov dword [esp + 8], 0
lea edi, [esp + 0x14]
mov edx, eax
xor eax, eax
call fcn.0044a0c7
lea eax, [0x447ce0]
mov dword [esp + 0x14], eax
lea eax, [esp + 8]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x14]
mov dword [esp], eax
call fcn.00448300
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
add esp, 0x38
ret
call fcn.00448420
jmp fcn.00441f30
Function at 0x444b20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x444cb5
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
cmp eax, ecx
jge 0x444ca7
ja 0x444ca0
sub ecx, eax
lea edx, [ecx - 1]
sar edx, 0x1f
xor edx, 0xffffffff
and edx, eax
test ecx, ecx
jbe 0x444c99
mov ebx, dword [esp + 4]
movzx ebp, byte [ebx + edx]
lea esi, [ebp + 0x40]
xchg esi, eax
cmp al, 0x20
xchg esi, eax
jae 0x444baf
cmp ecx, 1
jle 0x444b95
movzx ecx, byte [ebx + edx + 1]
lea edx, [ecx - 0x80]
cmp dl, 0x3f
ja 0x444b95
and ebp, 0x1f
shl ebp, 6
and ecx, 0x3f
or ebp, ecx
cmp ebp, 0x7f
jg 0x444ba3
mov dword [esp + 0x10], 0xfffd
inc eax
mov dword [esp + 0x14], eax
ret
mov dword [esp + 0x10], ebp
add eax, 2
mov dword [esp + 0x14], eax
ret
lea esi, [ebp + 0x20]
xchg esi, eax
cmp al, 0x10
xchg esi, eax
jae 0x444c11
cmp ecx, 2
jle 0x444b95
movzx ecx, byte [ebx + edx + 1]
lea esi, [ecx - 0x80]
xchg esi, eax
cmp al, 0x3f
xchg esi, eax
ja 0x444b95
movzx edx, byte [ebx + edx + 2]
lea ebx, [edx - 0x80]
cmp bl, 0x3f
ja 0x444b95
and ebp, 0xf
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ebp, ecx
and edx, 0x3f
or ebp, edx
cmp ebp, 0x7ff
jle 0x444b95
lea ecx, [ebp - 0xd800]
cmp ecx, 0x7ff
ja 0x444c05
jmp 0x444b95
mov dword [esp + 0x10], ebp
add eax, 3
mov dword [esp + 0x14], eax
ret
lea esi, [ebp + 0x10]
xchg esi, eax
cmp al, 8
xchg esi, eax
jae 0x444b95
cmp ecx, 3
jle 0x444b95
movzx ecx, byte [ebx + edx + 1]
lea esi, [ecx - 0x80]
xchg esi, eax
cmp al, 0x3f
xchg esi, eax
ja 0x444b95
movzx esi, byte [ebx + edx + 2]
lea edi, [esi - 0x80]
xchg edi, eax
cmp al, 0x3f
xchg edi, eax
ja 0x444b95
movzx edx, byte [ebx + edx + 3]
lea ebx, [edx - 0x80]
cmp bl, 0x3f
ja 0x444b95
and ebp, 7
shl ebp, 0x12
and ecx, 0x3f
shl ecx, 0xc
or ebp, ecx
and esi, 0x3f
shl esi, 6
or ebp, esi
and edx, 0x3f
or ebp, edx
lea ecx, [ebp - 0x10000]
cmp ecx, 0xfffff
jbe 0x444c8d
jmp 0x444b95
mov dword [esp + 0x10], ebp
add eax, 4
mov dword [esp + 0x14], eax
ret
call fcn.00424660
ud2
call fcn.004246c0
ud2
mov dword [esp + 0x10], 0xfffd
inc eax
mov dword [esp + 0x14], eax
ret
call fcn.00448420
jmp fcn.00444b20

Function at 0x449640
Capabilities:
Access peb ldr_data

Disassembly:
push eax
push ebx
mov ebx, dword fs:[0x14]
mov ebx, dword [ebx]
lea eax, [esp + 0xc]
mov dword [ebx + 0x20], eax
mov eax, dword [eax - 4]
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x30], 0
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x44966f
call fcn.00427e20
pop ebx
pop eax
ret