joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423027
Capabilities:
Read file on windows

Disassembly:
push 0x850
mov eax, 0x452601
call fcn.0043364b
mov dword [ebp - 0x854], ecx
mov eax, dword [ebp + 8]
or dword [ebp - 0x858], 0xffffffff
mov dword [ebp - 0x85c], eax
mov eax, dword [ebp + 0xc]
push 0x461bc8
push eax
call fcn.00430080
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4231b0
push 2
xor edi, edi
push edi
push esi
call fcn.00431727
add esp, 0xc
push esi
call fcn.00431630
pop ecx
push edi
push edi
push esi
mov ebx, eax
call fcn.00431727
add esp, 0xc
lea edi, [ebp - 0x820]
cmp ebx, 0x800
jb 0x4230a2
lea eax, [ebx + 1]
push eax
call fcn.0042c7fe
pop ecx
mov edi, eax
push esi
push ebx
push 1
push edi
call fcn.00431087
add esp, 0x10
test eax, eax
je 0x423198
cmp ebx, 8
jle 0x423198
xor eax, eax
push 8
mov byte [ebp - 0x1c], al
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
lea eax, [ebp - 0x1c]
push edi
push eax
call fcn.00430da0
lea ecx, [ebp - 0x1c]
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4230e0
sub ecx, edx
je 0x423116
push 0
lea eax, [ebp - 0x1c]
push eax
push 1
lea eax, [ebx - 8]
mov ebx, dword [ebp - 0x854]
push eax
lea eax, [edi + 8]
push eax
push dword [ebp - 0x85c]
mov ecx, ebx
call fcn.004231be
mov dword [ebp - 0x858], eax
jmp 0x42311c
mov ebx, dword [ebp - 0x854]
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x423122
sub ecx, edx
cmp ecx, 8
jne 0x42313c
lea ecx, [ebp - 0x1c]
call fcn.00421ef2
test al, al
jne 0x423198
push 0x45f645
lea ecx, [ebp - 0x838]
call fcn.004012d4
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x850]
call fcn.004012d4
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x850]
push eax
lea eax, [ebp - 0x838]
push eax
push eax
push 5
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.00423492
lea ecx, [ebp - 0x850]
call fcn.00401303
lea ecx, [ebp - 0x838]
call fcn.00401303
push esi
call fcn.0042f520
lea eax, [ebp - 0x820]
pop ecx
cmp edi, eax
je 0x4231b0
push edi
call fcn.0042db6e
pop ecx
mov eax, dword [ebp - 0x858]
call fcn.004335fa
ret 0xc
Function at 0x4231be
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x81c
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
mov dword [ebp - 0x814], eax
mov eax, dword [ebp + 0xc]
push esi
lea esi, [ebx + 0xb0]
push edi
mov dword [ebp - 0x80c], eax
mov eax, dword [ebp + 0x1c]
or edi, 0xffffffff
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x818], eax
mov dword [ebp - 0x810], edi
jb 0x423208
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push str._s_send__x.gz
lea eax, [ebp - 0x808]
push 0x7ff
push eax
call fcn.0043070e
add esp, 0x14
test eax, eax
js 0x42329f
lea eax, [ebp - 0x808]
push 0x461d0c
push eax
call fcn.0044ab00
push dword [ebp + 0x10]
mov esi, eax
push dword [ebp - 0x80c]
push esi
call fcn.0044a680
add esp, 0x14
push esi
call fcn.0044a830
sub esp, 0x14
mov ecx, esp
push dword [ebp - 0x814]
call fcn.00404a24
push dword [ebp + 0x18]
lea eax, [ebp - 0x810]
push dword [ebp + 0x14]
lea ecx, [ebx + 0x110]
push eax
push dword [ebp - 0x818]
lea edx, [ebp - 0x808]
call fcn.00421452
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edi, dword [ebp - 0x810]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret 0x18

Function at 0x4232b2
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x14]
push ebx
push esi
or ebx, 0xffffffff
push edi
test eax, eax
je 0x4232fa
cmp dword [ebp + 8], 1
jne 0x4232dc
push eax
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x46fa48]
jmp 0x4232f3
cmp dword [ebp + 8], 0
jne 0x42335c
push eax
xor ebx, ebx
push ebx
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [0x46fa4c]
call fcn.004231be
jmp 0x423313
cmp byte [ecx + 0x96], 0
je 0x423317
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00423366
mov ebx, eax
jmp 0x42335c
mov esi, dword [ebp + 0x10]
lea eax, [esi + 0x10]
push eax
call fcn.0042df38
pop ecx
mov ecx, dword [ebp + 8]
mov edi, eax
push esi
push dword [ebp + 0xc]
mov dword [edi], ecx
lea ecx, [edi + 0xc]
xor ebx, ebx
push ecx
mov dword [edi + 4], ebx
mov dword [edi + 8], esi
call fcn.00432eb0
add esp, 0xc
push ebx
push ebx
push edi
push 0x42238a
push ebx
push ebx
call fcn.00430b6b
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, ebx
pop ebx
pop ecx
pop ebp
ret 0x10
Function at 0x42459d
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
mov dword [ebp - 0x14], ebx
movzx eax, byte [ebx + str.91__]
dec eax
mov ebx, eax
and ebx, 0x80000007
jns 0x4245d8
dec ebx
or ebx, 0xfffffff8
inc ebx
cdq
push 7
pop ecx
sub ecx, ebx
and edx, 7
add eax, edx
sar eax, 3
mov byte [ebp - 0xd], 1
mov ch, byte [ebp - 0xd]
shl ch, cl
mov cl, 7
sub cl, bl
mov ebx, dword [ebp - 0x14]
and ch, byte [ebp + eax - 0xc]
mov al, bl
and al, 7
shr ch, cl
mov cl, 7
sub cl, al
mov eax, ebx
shl ch, cl
and eax, 7
push 7
mov edx, ebx
mov byte [ebp - 0xd], ch
pop ecx
sub ecx, eax
mov al, 1
shl al, cl
shr edx, 3
not al
and al, byte [edx + esi]
or al, byte [ebp - 0xd]
inc ebx
mov byte [edx + esi], al
mov dword [ebp - 0x14], ebx
cmp ebx, 0x38
jb 0x4245c1
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret

Function at 0x42463e
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
xor ebx, ebx
push edi
mov esi, edx
mov edi, ecx
mov dword [ebp - 8], ebx
movzx eax, byte [ebx + 0x46fb30]
dec eax
mov ebx, eax
and ebx, 0x80000007
jns 0x424666
dec ebx
or ebx, 0xfffffff8
inc ebx
cdq
push 7
pop ecx
sub ecx, ebx
and edx, 7
add eax, edx
sar eax, 3
mov byte [ebp - 1], 1
mov ch, byte [ebp - 1]
shl ch, cl
mov cl, 7
sub cl, bl
mov ebx, dword [ebp - 8]
and ch, byte [eax + edi]
mov al, bl
and al, 7
shr ch, cl
mov cl, 7
sub cl, al
mov eax, ebx
shl ch, cl
and eax, 7
push 7
mov edx, ebx
mov byte [ebp - 1], ch
pop ecx
sub ecx, eax
mov al, 1
shl al, cl
shr edx, 3
not al
and al, byte [edx + esi]
or al, byte [ebp - 1]
inc ebx
mov byte [edx + esi], al
mov dword [ebp - 8], ebx
cmp ebx, 0x30
jb 0x42464f
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4248ba
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
xor edi, edi
movzx eax, byte [edi + str.:2_]
dec eax
mov ebx, eax
and ebx, 0x80000007
jns 0x4248f3
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, edi
and ecx, 0x80000007
jns 0x424902
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dword [ebp - 0x14], ecx
cdq
and edx, 7
add eax, edx
push 7
pop ecx
sub ecx, ebx
mov byte [ebp - 0xd], 1
mov ch, byte [ebp - 0xd]
shl ch, cl
sar eax, 3
mov cl, 7
sub cl, bl
and ch, byte [ebp + eax - 0xc]
mov ebx, dword [ebp - 0x14]
shr ch, cl
mov cl, 7
sub cl, bl
mov eax, edi
shl ch, cl
cdq
and edx, 7
add eax, edx
mov byte [ebp - 0xd], ch
push 7
pop ecx
sub ecx, ebx
mov dl, 1
shl dl, cl
sar eax, 3
not dl
and dl, byte [eax + esi]
or dl, byte [ebp - 0xd]
inc edi
mov byte [eax + esi], dl
cmp edi, 0x40
jl 0x4248dc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret
Function at 0x424966
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
mov dword [ebp - 0xc], eax
mov eax, dword [esi + 4]
mov dword [ebp - 8], eax
xor edi, edi
movzx eax, byte [edi + 0x46fdf0]
dec eax
mov ebx, eax
and ebx, 0x80000007
jns 0x42499f
dec ebx
or ebx, 0xfffffff8
inc ebx
mov ecx, edi
and ecx, 0x80000007
jns 0x4249ae
dec ecx
or ecx, 0xfffffff8
inc ecx
mov dword [ebp - 0x14], ecx
cdq
and edx, 7
add eax, edx
push 7
pop ecx
sub ecx, ebx
mov byte [ebp - 0xd], 1
mov ch, byte [ebp - 0xd]
shl ch, cl
sar eax, 3
mov cl, 7
sub cl, bl
and ch, byte [ebp + eax - 0xc]
mov ebx, dword [ebp - 0x14]
shr ch, cl
mov cl, 7
sub cl, bl
mov eax, edi
shl ch, cl
cdq
and edx, 7
add eax, edx
mov byte [ebp - 0xd], ch
push 7
pop ecx
sub ecx, ebx
mov dl, 1
shl dl, cl
sar eax, 3
not dl
and dl, byte [eax + esi]
or dl, byte [ebp - 0xd]
inc edi
mov byte [eax + esi], dl
cmp edi, 0x40
jl 0x424988
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret

Function at 0x424a12
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov eax, ecx
and eax, 0x80000007
jns 0x424a35
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x10], eax
mov eax, ecx
cdq
and edx, 7
lea esi, [edx + eax]
movzx eax, byte [ecx + 0x46fd60]
dec eax
mov ebx, eax
sar esi, 3
and ebx, 0x80000007
jns 0x424a5b
dec ebx
or ebx, 0xfffffff8
inc ebx
push 7
pop ecx
sub ecx, ebx
mov dl, 1
shl dl, cl
mov cl, 7
sub cl, bl
push 7
mov byte [ebp - 1], dl
cdq
and edx, 7
add eax, edx
mov dl, byte [ebp - 1]
sar eax, 3
and dl, byte [ebp + eax - 0xc]
mov eax, dword [ebp - 0x10]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
pop ecx
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp - 8]
not al
and al, byte [esi + edi]
or dl, al
inc ecx
mov byte [esi + edi], dl
mov dword [ebp - 8], ecx
cmp ecx, 0x30
jl 0x424a27
pop edi
pop esi
pop ebx
leave
ret

Function at 0x424aaa
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, ecx
xor ecx, ecx
mov eax, dword [edi]
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ecx
mov eax, ecx
and eax, 0x80000007
jns 0x424acd
dec eax
or eax, 0xfffffff8
inc eax
mov dword [ebp - 0x10], eax
mov eax, ecx
cdq
and edx, 7
lea esi, [edx + eax]
movzx eax, byte [ecx + 0x46fd90]
dec eax
mov ebx, eax
sar esi, 3
and ebx, 0x80000007
jns 0x424af3
dec ebx
or ebx, 0xfffffff8
inc ebx
push 7
pop ecx
sub ecx, ebx
mov dl, 1
shl dl, cl
mov cl, 7
sub cl, bl
push 7
mov byte [ebp - 1], dl
cdq
and edx, 7
add eax, edx
mov dl, byte [ebp - 1]
sar eax, 3
and dl, byte [ebp + eax - 0xc]
mov eax, dword [ebp - 0x10]
shr dl, cl
mov cl, 7
sub cl, al
shl dl, cl
pop ecx
sub ecx, eax
mov al, 1
shl al, cl
mov ecx, dword [ebp - 8]
not al
and al, byte [esi + edi]
or dl, al
inc ecx
mov byte [esi + edi], dl
mov dword [ebp - 8], ecx
cmp ecx, 0x20
jl 0x424abf
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424bd4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x20], ecx
mov ecx, edi
mov dword [ebp - 0x28], edi
call fcn.004248ba
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
mov eax, dword [edi + 4]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
xor ebx, ebx
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.00424a12
push 0xf
pop eax
sub eax, ebx
cmp dword [edi], 1
cmove eax, ebx
xor ecx, ecx
imul eax, eax, 6
lea edx, [eax + edi]
mov al, byte [edx + ecx + 0x10]
xor al, byte [ebp + ecx - 0x1c]
inc ecx
mov byte [ebp + ecx - 0xd], al
cmp ecx, 6
jl 0x424c23
mov cl, byte [ebp - 0xc]
mov dl, byte [ebp - 0xb]
mov al, cl
shr al, 2
mov byte [ebp - 0x14], al
and cl, 3
mov al, dl
shl cl, 4
shr al, 4
or cl, al
mov byte [ebp - 0x13], cl
mov cl, byte [ebp - 0xa]
mov al, cl
and cl, 0x3f
and dl, 0xf
shr al, 6
mov byte [ebp - 0x11], cl
mov cl, byte [ebp - 9]
shl dl, 2
or dl, al
mov al, cl
shr al, 2
mov byte [ebp - 0x12], dl
mov dl, byte [ebp - 8]
mov byte [ebp - 0x10], al
mov al, dl
and cl, 3
shl cl, 4
shr al, 4
or cl, al
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 7]
mov al, cl
and dl, 0xf
shl dl, 2
shr al, 6
or dl, al
and cl, 0x3f
lea eax, [ebp - 0x24]
mov byte [ebp - 0xe], dl
mov byte [ebp - 0xd], cl
push eax
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x20]
call fcn.00424b42
mov eax, dword [ebp - 0x20]
inc ebx
pop ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], eax
cmp ebx, 0x10
jl 0x424c06
mov edi, dword [ebp - 0x28]
mov ecx, edi
mov dword [edi], eax
mov dword [edi + 4], esi
call fcn.00424966
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret
Function at 0x425c53
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0
mov dword [ebp - 0x208], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx edx, bx
push str.BINDATA
mov esi, eax
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x425cf9
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x425cf3
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x425cf3
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
push 0x10
mov edi, eax
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
test esi, esi
je 0x425ce3
lea ecx, [esi + 4]
push ecx
and dword [ecx], 0
push edi
mov dword [esi], vtable.Gdiplus::Image.0
call dword [sym.imp.gdiplus.dll_GdipLoadImageFromStream]
mov dword [esi + 8], eax
jmp 0x425ce5
xor esi, esi
test edi, edi
je 0x425cef
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov eax, esi
jmp 0x425d4f
mov ebx, dword [ebp - 0x208]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x425d4d
xor eax, eax
push 0x1fc
mov word [ebp - 0x204], ax
xor edi, edi
lea eax, [ebp - 0x202]
push edi
push eax
call fcn.00435650
push esi
push ebx
lea eax, [ebp - 0x204]
push str.Function:__s__image_id:_d__Last_error:__d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
lea eax, [ebp - 0x204]
push edi
push str.Error
push eax
push edi
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042d3d2
leave
ret

Function at 0x4266c8
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
mov eax, dword [esi]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi]
push 0
push 0
push 0x402
push dword [eax + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x428b34
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov esi, ecx
call fcn.00428bed
mov ecx, esi
call fcn.00428c3a
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [esi + 0xe8], edi
test eax, eax
jle 0x428b5c
mov dword [esi + 4], eax
mov dword [esi + 0xc], eax
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x48], eax
test eax, eax
je 0x428b89
lea eax, [ebp + 8]
push eax
push edi
push esi
push 0x428ce2
push edi
push edi
mov dword [ebp + 8], edi
call fcn.00430b6b
add esp, 0x18
mov dword [esi + 0x44], eax
xor eax, eax
pop edi
inc eax
pop esi
pop ebp
ret 4

Function at 0x428ca3
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
je 0x428cda
push dword [esi + 0xe4]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x428ccd
push 0
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x44]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x44], 0
mov ecx, esi
pop esi
jmp fcn.00428bed
Function at 0x42a406
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
push 0x3c
pop ebx
xor eax, eax
push ebx
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x40]
push eax
mov esi, edx
mov edi, ecx
call fcn.00435650
push 0xc38
xor eax, eax
push eax
push esi
call fcn.00435650
lea eax, [esi + 0x210]
mov dword [ebp - 0x30], eax
lea eax, [esi + 0x418]
mov dword [ebp - 0x14], eax
lea eax, [esi + 0x620]
mov dword [ebp - 0x24], eax
lea eax, [esi + 0x828]
mov dword [ebp - 0x40], ebx
mov ebx, 0x104
mov dword [ebp - 0x1c], eax
mov ecx, edi
lea eax, [esi + 0xa30]
add esp, 0x18
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [ebp - 4]
jne 0x42a480
lea eax, [ebp - 0x40]
push eax
sub ecx, edx
push 0x10000000
sar ecx, 1
push ecx
push edi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x42a4d5
cmp dword [ebp - 0x34], 3
je 0x42a4b1
cmp dword [ebp - 0x34], 4
jne 0x42a4d5
push edi
push ebx
push esi
call fcn.00432d36
mov ax, word [ebp - 0x28]
mov word [esi + 0x208], ax
mov eax, dword [ebp - 0x34]
mov dword [esi + 0x20c], eax
xor eax, eax
add esp, 0xc
inc eax
jmp 0x42a4d7
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42b01a
Capabilities:
Connect to http server
Create http request

Disassembly:
push 8
mov eax, 0x452d2f
call fcn.00433618
mov edi, ecx
push 0x46d258
lea ecx, [ebp - 0x10]
xor ebx, ebx
call fcn.00404e8e
mov dword [ebp - 4], ebx
mov eax, dword [edi + 0xd10]
test eax, eax
jne 0x42b047
inc eax
jmp 0x42b081
cmp eax, 2
jne 0x42b0ad
lea eax, [edi + 0xd14]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 3
call fcn.00410297
mov eax, dword [edi + 0xd18]
test eax, eax
jle 0x42b07e
push eax
lea eax, [ebp - 0x10]
push 0x462874
push eax
call fcn.0041c5d9
add esp, 0xc
mov eax, dword [ebp - 0x14]
mov esi, dword [ebp - 0x10]
push 0x10000000
push ebx
push esi
push eax
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.1__SV1__.NET_CLR_2.0.50727__.NET_CLR_3.0.04506.648__.NET_CLR_3.5.8888.8888__
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [edi + 8], eax
test eax, eax
jne 0x42b0b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.__08x_InternetOpen_failed__error__d_n
jmp 0x42b121
mov eax, ebx
jmp 0x42b081
push 0x42af74
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
jne 0x42b0d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.__08x_InternetSetStatusCallback_failed__error__d_n
jmp 0x42b121
push 4
lea eax, [edi + 0xca4]
push eax
push 2
push dword [edi + 8]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
movzx eax, word [edi + 0x21c]
push edi
push ebx
push 3
push ebx
push ebx
push eax
lea eax, [edi + 0x224]
push eax
push dword [edi + 8]
mov dword [edi + 0xca0], 1
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x42b12b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
push str.__08x_InternetConnect_failed__error__d_n
call fcn.00410746
add esp, 0xc
jmp 0x42b12e
xor ebx, ebx
inc ebx
lea ecx, [esi - 0x10]
call fcn.0040390b
mov eax, ebx
call fcn.004335e6
ret
Function at 0x42bba7
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x46d978]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi], edi
je 0x42bc75
cmp dword [esi + 4], edi
je 0x42bbd2
xor eax, eax
inc eax
jmp 0x42bc77
mov eax, dword [ebp + 8]
push dword [esi + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
xorps xmm0, xmm0
mov dword [esi + 0xc], eax
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.SHLWAPI.dll_PathGetDriveNumberW]
add eax, 0x41
push 0x3a
mov word [ebp - 0xc], ax
pop eax
push 0x5c
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
push edi
mov word [ebp - 6], ax
push edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42bc75
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
cmp ecx, edi
ja 0x42bc2c
cmp eax, edi
jbe 0x42bc75
cmp dword [ebp - 0x14], ecx
jb 0x42bc75
ja 0x42bc38
cmp dword [ebp - 0x18], eax
jbe 0x42bc75
mov eax, ecx
push edi
sar eax, 0x1f
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
mov dword [ebp - 0x10], ecx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x42bbca
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x42bbca
cmp dword [esi], edi
je 0x42bc75
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], edi
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0042d3d2
leave
ret 8
Function at 0x42bd87
Capabilities:
Read file on windows

Disassembly:
push 0x70
mov eax, 0x452dc6
call fcn.0043364b
mov esi, ecx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
push 0x46d258
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x58], eax
call fcn.00404e8e
and dword [ebp - 4], 0
push str..fd.cfg
lea ecx, [ebp - 0x50]
call fcn.00429ca3
lea eax, [ebp - 0x50]
push eax
mov edx, esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 1
call fcn.00429ce4
pop ecx
push eax
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.00410297
mov ecx, dword [ebp - 0x60]
lea ecx, [ecx - 0x10]
call fcn.0040390b
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x50]
lea ecx, [ecx - 0x10]
call fcn.0040390b
mov esi, dword [ebp - 0x54]
and dword [ebp - 0x7c], 0
xorps xmm0, xmm0
push esi
lea ecx, [ebp - 0x6c]
movlpd qword [ebp - 0x74], xmm0
call fcn.004155a0
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 3
call fcn.0042bd4f
test eax, eax
je 0x42bf1a
xor eax, eax
mov byte [ebp - 0x4c], 0
lea edi, [ebp - 0x4b]
stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x30
stosb byte es:[edi], al
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.00435650
and dword [ebp - 0x50], 0
add esp, 0xc
cmp dword [ebp - 0x7c], 0
je 0x42bf1a
push 0
lea eax, [ebp - 0x50]
push eax
push 0x38
lea eax, [ebp - 0x4c]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42bf1a
cmp dword [ebp - 0x50], 0x38
jne 0x42bf1a
push 7
lea eax, [ebp - 0x4c]
push str.kdown_
push eax
call fcn.00435d98
add esp, 0xc
test eax, eax
jne 0x42bf1a
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x5c]
mov dword [ebx], eax
mov eax, dword [ebp - 0x38]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 0x34]
mov dword [ecx], eax
mov eax, dword [ebp - 0x30]
xor ebx, ebx
mov dword [ecx + 4], eax
cmp dword [ebp - 0x1c], ebx
jle 0x42bf15
mov esi, dword [ebp - 0x58]
push 0x28
call fcn.0042dbe8
mov edi, eax
xor eax, eax
pop ecx
test edi, edi
je 0x42bee1
mov dword [edi], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], eax
mov dword [edi + 0x20], eax
jmp 0x42bee3
mov edi, eax
cmp dword [ebp - 0x7c], 0
mov dword [ebp - 0x58], edi
je 0x42befd
push eax
lea eax, [ebp - 0x50]
push eax
push 0x28
push edi
push dword [ebp - 0x7c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
and dword [edi + 0x20], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, esi
call fcn.004240c8
inc ebx
cmp ebx, dword [ebp - 0x1c]
jl 0x42beb8
mov esi, dword [ebp - 0x54]
xor edi, edi
inc edi
jmp 0x42bf1c
xor edi, edi
lea ecx, [ebp - 0x7c]
call fcn.0042bd30
lea ecx, [esi - 0x10]
call fcn.0040390b
mov eax, edi
call fcn.004335fa
ret 0xc