joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov edi, dword [edx + 0x57561d0c]
xor cl, cl
add al, 1
jne 0x37406382
mov ebx, dword [eax + 0xc]
mov esp, edi
or byte [ebx], dh
leave
xor dword [eax + 4], edx
mov esi, dword [esi - 0x762d22fc]
jge 0x4061c6
jbe 0x406240
mov esi, dword [eax + 0x549c301c]
add esi, 0xffffffb2
cmp ebx, dword [esi]
je 0x40624e
inc ecx
add esi, 0x14
cmp ecx, edx
out 0xf4, eax
pop edi
pop esi
mov eax, 0x12278
pop ebx
xor dword [ebx*2 - 0x74ffcf3e], esp
fld dword [ecx - 0x73]
jb 0x406253
mov ebx, ecx
inc ecx
lea esi, [edx - 1]
invalid
cmp ecx, edx
mov dword [eax + 4], esi
jae 0x4062aa
lea ebx, [eax + edi*2]
invalid
push ebp
cld
mov byte [si], bl
xor byte [ebx], al
mov edx, dword [ebp + 0xc]
mov esi, dword [edx - 0x25e172f4]
into
daa
or al, 0xe4
add eax, 0xeb0448ff
ror byte [ebp + 0x63b90b3c], 1
add byte [eax], al
add bl, dh
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
xor dword [ecx + 0x394d8b57], 0x77
invalid
mov edx, dword [eax + 0xc]
xor esi, ecx
test dword [ebp + 0x708d2e76], edi
inc ecx
cmp dword [esi], edi
je 0x4062c4
inc ecx
add esi, 0x76
add ecx, edx
jb 0x4062b6
ret
dec edx
cmp ecx, edx
jae 0x40626d
lea edx, [ebx + edi*8 + 0x10]
mov esi, dword [edx + 4]
xchg esp, eax
cwde
xor cl, byte [ebx - 0x3d7cf390]
scasd eax, dword es:[edi]
dec esi
cmp ecx, esi
jb 0x4062cd
dec dword [eax - 0x27]
mov edx, dword [eax + 0x51010]
xor ecx, ecx
test edi, esi
jbe 0x406327
lea esi, [eax + 0x1014]
xchg ecx, eax
mov bl, 0x74
inc eax
inc ecx
or dword [esi + 0x72ca3b04], 0xffffffad
jmp 0x406327
add byte [eax], al
mov esi, dword [edx + 4]
inc ecx
mov dword [edx], esi
mov esi, dword [eax + 0x1010]
mov esp, 0x3b4e28c2
imul esi, dword [edx - 0x14], 0xffffffff
mov byte [eax], dl
adc byte [ecx - 0x32], dl
mov edx, dword [eax - 0x7c92df39]
xor ecx, ecx
test edx, edx
jbe 0x40636d
lea esi, [eax + 0xb64218]
cmp dword [esi], edi
je 0x406347
push edx
inc esi
xchg edx, eax
cmp ecx, edx
push edi
inc ebp
movsd dword es:[edi], dword [esi]
dec edx
cmp ecx, edx
aad 0x1b
lea edx, [eax + ecx*4 + 0x762018]
mov esi, dword [edx + 4]
inc ecx
mov dword [edx], esi
jb 0x40630b
adc al, 0x20
add byte [eax], al
xchg edx, eax
ret 0x4e04
cwde
mov byte [eax], bl
test al, 0
add byte [ebx], bh
stc
jne 0x406382
test dword [edx], ecx
jle 0x406382
xchg esp, eax
mov dword [eax + 0x493018], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
sti
into
add byte [edi + 0x5e], bl
inc esi
or dword [eax], eax
add byte [eax], al
pop ebx
mov edi, ecx
pop ebp
ret 8
Function at 0x406840
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4702f3
push ebx
mov ebx, dword [ebp + 8]
push esi
mov eax, 0x8304de8b
clc
call dword [esp + eax*4 - 0x6c]
add dword [eax], eax
pop ds
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x4069ef
mov esi, dword [ebp + 0xc]
mov ebx, dword [ecx - 0x75a94ffc]
push ecx
push edx
push eax
call dword [sym.imp.WSOCK32.dll_connect]
cmp eax, 0xffffffff
xchg ecx, eax
test esi, edi
add dword [esi - 0x27ca7489], ebp
rcr dword [eax], 0xf1
call esi
inc ebp
ror byte [edi], 0x9d
stc
add byte [eax], al
jl 0x406891
call esi
salc
add eax, 0x8e7ffc2e
cmp eax, 0xb2321
vmread dword [ecx - 0xf], edx
stosd dword es:[edi], eax
add byte [ebx + 0x738b2048], cl
and al, 0x8b
adc dl, byte [eax]
inc edx
jne 0x406903
pop edi
pop esi
mov eax, 0xb234b
or esi, ebx
pop esi
pop ebp
ret 8
inc ebp
shr eax, cl
ret 0x4e
mov eax, 0x975ef
mov bl, 0x5e
pop ebx
mov esi, dword [eax]
pop ebp
ret 0x3708
Function at 0x409640
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x479c9b
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x499750]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x13c]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x14]
call fcn.004055e0
push 0
push 0x1a
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x150], 0
mov ebp, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0
call ebp
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x18]
call fcn.00405610
mov eax, dword [str.MacromediaFlash_PlayerSharedObjects]
push eax
mov esi, eax
call fcn.004013d0
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x18]
call fcn.00409500
lea ecx, [esp + 0x14]
call fcn.00401a90
mov esi, eax
call fcn.00409760
push 0
push 0x1c
lea edx, [esp + 0x38]
push edx
push 0
call ebp
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00405610
mov eax, dword [str.GoogleChromeUser_DataDefaultPepper_DataShockwave_FlashWritableRootSharedObjects]
push eax
mov esi, eax
call fcn.004013d0
add esp, 4
mov ebx, eax
push esi
lea eax, [esp + 0x18]
call fcn.00409500
lea ecx, [esp + 0x14]
call fcn.00401a90
mov esi, eax
call fcn.00409760
lea ecx, [esp + 0x14]
call fcn.00401a70
mov ecx, dword [esp + 0x13c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0043adc0
add esp, 0x134
ret
Function at 0x409830
Capabilities:
Create directory
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4797b3
mov eax, dword fs:[0]
push eax
sub esp, 0x164
mov eax, dword [0x499750]
xor eax, esp
mov dword [esp + 0x160], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x178]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1a4]
lea eax, [esp + 0x188]
push eax
mov esi, 0x489b44
lea edi, [esp + 0x1c]
mov dword [esp + 0x184], 0
call fcn.00409da0
add esp, 4
lea ecx, [esp + 0x34]
push ecx
mov ecx, eax
call fcn.00401a90
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov ecx, edi
mov esi, eax
call fcn.00401a70
cmp esi, 0xffffffff
jne 0x4098ca
lea ecx, [esp + 0x188]
call fcn.00401a70
xor al, al
jmp 0x409980
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov bl, 0x10
test byte [esp + 0x34], bl
je 0x4098f4
lea eax, [esp + 0x60]
lea edx, [eax + 1]
nop
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4098e0
sub eax, edx
cmp eax, 8
je 0x4099aa
lea edx, [esp + 0x34]
push edx
push esi
call edi
test eax, eax
jne 0x4098d2
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x190]
push eax
mov ecx, ebp
call fcn.00401bc0
push 0x489b48
call fcn.004013d0
add esp, 4
mov ebx, eax
push 0x489b48
mov eax, ebp
call fcn.00409500
lea esi, [esp + 0x18]
call fcn.004103f0
push 0
push eax
or eax, 0xffffffff
mov esi, ebp
mov byte [esp + 0x188], 1
call fcn.00409590
lea ecx, [esp + 0x18]
call fcn.00401a70
push 0
mov ecx, ebp
call fcn.00401a90
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
cmp eax, 1
lea ecx, [esp + 0x188]
sete bl
call fcn.00401a70
mov al, bl
mov ecx, dword [esp + 0x178]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x160]
xor ecx, esp
call fcn.0043adc0
add esp, 0x170
ret 0x20
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x190]
push eax
mov ecx, ebp
call fcn.00401bc0
push 0x489b48
call fcn.004013d0
add esp, 4
mov ebx, eax
push 0x489b48
mov eax, ebp
call fcn.00409500
lea ecx, [esp + 0x60]
push ecx
call fcn.004013d0
add esp, 4
lea edx, [esp + 0x60]
mov ebx, eax
push edx
mov eax, ebp
call fcn.00409500
lea ecx, [esp + 0x188]
call fcn.00401a70
mov al, 1
jmp 0x409980
Function at 0x40b9e0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47a147
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x489c68
mov dword [edi + 0x58], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 8]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0040ca30
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
call fcn.0040d3d0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x49e5f8]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40c680
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x47a0f7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [edi], 0x489c78
mov dword [edi + 0x54], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
lea esi, [edi + 4]
push esi
mov dword [esp + 0x20], ebx
push edi
mov dword [esp + 0x18], 1
call fcn.0040c9a0
mov dword [esp + 0x1c], 1
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push esi
mov dword [edi + ecx], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
call fcn.0040d3d0
lea edx, [esi + 8]
mov dword [esi + 0x10], edx
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [esi + 0x48], bl
mov byte [esi + 0x41], bl
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], ebx
mov eax, dword [esi + 0x24]
mov dword [eax], ebx
mov ecx, dword [esi + 0x34]
mov dword [ecx], ebx
mov edx, dword [esi + 0x10]
mov dword [edx], ebx
mov eax, dword [esi + 0x20]
mov edx, dword [0x49e5f8]
mov dword [eax], ebx
mov ecx, dword [esi + 0x30]
mov dword [ecx], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x44], edx
mov dword [esi + 0x3c], ebx
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40d3d0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x478deb
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.00458354
push 4
mov dword [esp + 0x20], 0
call fcn.0041d993
mov edi, eax
add esp, 4
test edi, edi
je 0x40d450
call fcn.004581e5
mov dword [edi], eax
call fcn.00458019
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00458321
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x40d445
add eax, 1
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00458342
jmp 0x40d452
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4

Function at 0x40e760
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47a228
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push esi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
push eax
lea ecx, [esp + 0xc]
call fcn.00402030
mov ecx, dword [esp + 0x34]
push eax
mov dword [esp + 0x30], 0
call fcn.0040e600
lea ecx, [esp + 8]
mov esi, eax
call fcn.00401a70
mov eax, esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x28
ret 8
Function at 0x40ef00
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x47a032
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
push edi
mov eax, esi
call fcn.0040ff60
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.00401430
test esi, esi
mov dword [esp + 0x18], ebx
jne 0x40ef4b
call fcn.0043b5cc
mov ebp, dword [esi + 4]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], esi
call fcn.00401430
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], esi
je 0x40ef6f
cmp eax, esi
je 0x40ef74
call fcn.0043b5cc
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x20]
je 0x40ef8e
add eax, 0x10
call fcn.004094a0
test eax, eax
jge 0x40f016
xor eax, eax
mov ebp, vtable.Variant.0
mov ebx, 1
mov dword [esp + 0x24], ebp
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x80], eax
lea eax, [esp + 0x24]
push eax
push edi
lea ecx, [esp + 0x44]
push ecx
call fcn.0040f790
mov byte [esp + 0x80], bl
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push ecx
push eax
lea edx, [esp + 0x28]
push edx
mov eax, esi
call fcn.0040f240
mov ecx, dword [eax]
mov dword [esp + 0x14], ecx
mov edx, dword [eax + 4]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x1c], edx
mov byte [esp + 0x84], 0
call fcn.0040f1e0
mov dword [esp + 0x80], 0xffffffff
lea esi, [esp + 0x24]
mov dword [esp + 0x24], ebp
call fcn.0040dd40
cmp dword [esp + 0x14], 0
jne 0x40f022
call fcn.0043b5cc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp eax, dword [ecx + 4]
jne 0x40f038
call fcn.0043b5cc
mov eax, dword [esp + 0x18]
add eax, 0x30
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret
Function at 0x4133e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x479961
mov eax, dword fs:[0]
push eax
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov dword [eax], vtable.AMF3Serializer.0
mov dword [eax + 8], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], ecx
mov dword [eax + 0x30], ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ecx
mov dword [eax + 0x40], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 4
Function at 0x415200
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4798b0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x499750]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, 1
call fcn.00410660
mov eax, dword [esi + 4]
add eax, dword [esi + 0xc]
push edi
mov byte [eax], 0xc
add dword [esi + 0xc], 1
lea ecx, [esp + 0x14]
call fcn.0040e3a0
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x58], 0
call fcn.00401a20
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 2
call fcn.00401a70
mov eax, dword [esp + 0x40]
add eax, eax
or eax, 1
mov ecx, esi
call fcn.00415350
test al, al
jne 0x415298
lea ecx, [esp + 0x2c]
call fcn.00401a70
xor al, al
jmp 0x4152bf
sub esp, 0x1c
lea edx, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.00401a20
mov ecx, esi
call fcn.00410570
lea ecx, [esp + 0x2c]
mov bl, al
call fcn.00401a70
mov al, bl
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0043adc0
add esp, 0x4c
ret

Function at 0x415eb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x479309
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x499750]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], 0
mov esi, 1
push 0x489cf9
mov ecx, edi
mov dword [esp + 0x3c], esi
call fcn.00402030
sub esp, 0x1c
lea eax, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x24], esi
push eax
lea esi, [esp + 0x7c]
call fcn.00401a20
mov ecx, esi
lea esi, [esp + 0x30]
call fcn.00415f60
add esp, 0x1c
push 0xffffffffffffffff
push 0
push eax
mov ecx, edi
mov byte [esp + 0x44], 2
call fcn.00401bc0
mov ecx, esi
call fcn.00401a70
lea ecx, [esp + 0x40]
call fcn.00401a70
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x34
ret

Function at 0x4168b0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
test esi, esi
je 0x416912
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ebp, dword [esp + 0x14]
mov dword [edi], 0
lea esp, [esp]
cmp esi, 0x400000
mov eax, 0x400000
ja 0x4168df
mov eax, esi
mov edx, dword [ebp]
push 0
lea ecx, [esp + 0x20]
push ecx
push eax
push ebx
push edx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [esp + 0x1c]
add dword [edi], ecx
add ebx, ecx
sub esi, ecx
test eax, eax
je 0x416917
test ecx, ecx
je 0x416910
test esi, esi
ja 0x4168d0
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebp
pop ebx
pop edi
pop esi
jmp dword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x41d380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
mov ecx, dword [esp + 0x14]
push ebp
mov ebp, dword [ecx]
mov ecx, dword [esp + 0x10]
xor eax, eax
and ebp, 7
cmp ecx, 5
jae 0x41d399
pop ebp
pop ecx
ret
mov edx, dword [esp + 0xc]
push ebx
push esi
mov esi, dword [esp + 0x1c]
add esi, 5
lea edx, [edx + ecx - 4]
push edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x10], edx
jmp 0x41d3c0
mov ecx, dword [esp + 0x18]
lea edi, [eax + ecx]
cmp edi, edx
jae 0x41d3df
jmp 0x41d3d0
mov al, byte [edi]
and al, 0xfe
cmp al, 0xe8
je 0x41d3df
add edi, 1
cmp edi, edx
jb 0x41d3d0
mov eax, edi
sub eax, ecx
mov ecx, eax
sub ecx, dword [esp + 0x1c]
cmp edi, edx
jae 0x41d4f5
cmp ecx, 3
jbe 0x41d415
xor ebp, ebp
mov cl, byte [edi + 4]
test cl, cl
mov dword [esp + 0x1c], eax
je 0x41d453
cmp cl, 0xff
je 0x41d453
and ebp, 3
add ebp, ebp
or ebp, 1
add eax, 1
jmp 0x41d3c0
add ecx, 0xffffffff
shl ebp, cl
and ebp, 7
je 0x41d3f8
movzx ecx, byte [ebp + 0x47b934]
mov ebx, edi
sub ebx, ecx
cmp byte [ebp + 0x47b92c], 0
mov cl, byte [ebx + 4]
je 0x41d43f
test cl, cl
je 0x41d43f
cmp cl, 0xff
jne 0x41d3f8
and ebp, 3
add ebp, ebp
mov dword [esp + 0x1c], eax
or ebp, 1
add eax, 1
jmp 0x41d3c0
xor edx, edx
mov dh, cl
movzx ecx, byte [edi + 2]
mov dl, byte [edi + 3]
shl edx, 8
or edx, ecx
movzx ecx, byte [edi + 1]
shl edx, 8
or edx, ecx
lea esp, [esp]
cmp dword [esp + 0x28], 0
je 0x41d47e
lea ebx, [edx + eax]
add ebx, esi
jmp 0x41d484
sub edx, eax
sub edx, esi
mov ebx, edx
test ebp, ebp
je 0x41d4c6
movzx esi, byte [ebp + 0x47b934]
add esi, esi
add esi, esi
add esi, esi
mov ecx, 0x18
sub ecx, esi
mov edx, ebx
shr edx, cl
test dl, dl
je 0x41d4a9
cmp dl, 0xff
jne 0x41d4c2
mov ecx, 0x20
sub ecx, esi
mov esi, dword [esp + 0x20]
mov edx, 1
shl edx, cl
sub edx, 1
xor edx, ebx
jmp 0x41d470
mov esi, dword [esp + 0x20]
mov edx, ebx
shr edx, 0x18
and dl, 1
sub dl, 1
not dl
mov byte [edi + 4], dl
mov edx, ebx
shr edx, 8
mov ecx, ebx
shr ecx, 0x10
mov byte [edi + 2], dl
mov edx, dword [esp + 0x10]
mov byte [edi + 3], cl
mov byte [edi + 1], bl
add eax, 5
jmp 0x41d3c0
cmp ecx, 3
pop edi
pop esi
pop ebx
jbe 0x41d508
mov ecx, dword [esp + 0x18]
xor ebp, ebp
mov dword [ecx], ebp
pop ebp
pop ecx
ret
add ecx, 0xffffffff
shl ebp, cl
mov ecx, dword [esp + 0x18]
and ebp, 7
mov dword [ecx], ebp
pop ebp
pop ecx
ret

Function at 0x4238a1
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x4238e4
call fcn.00429232
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4238e4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4238ff
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0042345b
test ebx, ebx
mov esi, eax
je 0x4238fd
test edi, edi
je 0x4238fd
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42603b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
test ebx, 0xffff0000
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
jne 0x42605b
cmp dword [edi + 0x54], 0
jne 0x42605b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00429232
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [esp + 0x18]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00426002
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
ret 8

Function at 0x427e13
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
je 0x427e59
call fcn.00429232
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x427e59
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x427e9c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
je 0x427e85
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x427e85
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x427e99
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42a73c
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esi], vtable.CInternetSession.0
jne 0x42a765
call fcn.00429232
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
test eax, eax
mov dword [esi + 8], eax
jne 0x42a788
push eax
push dword [esi + 4]
call fcn.0042a6c7
push esi
push eax
mov ecx, 0x49cf90
call fcn.0042a39a
mov eax, esi
pop esi
pop ebp
ret 0x18