joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ad10
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44ad43
push esi
call fcn.0044de10
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44ad3c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44adc9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44adb2
mov eax, dword [esi + 8]
test eax, eax
je 0x44ad67
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44adae
cmp eax, 2
je 0x44adb2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44ad5a
cmp eax, 3
je 0x44ad8d
cmp eax, 1
jne 0x44ad5a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44ad5a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44ad5a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044adf0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44add8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044adf0
add esp, 4
pop esi
ret

Function at 0x46c1a5
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x46c1dd
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0046a25c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0046a234
jmp 0x46c1e9
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x46d893
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x46d8d5
call fcn.0047334a
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x46d8d5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x46d8cc
xor eax, eax
jmp 0x46d8dd
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0046d8e3
pop edi
pop esi
pop ebx
ret 4

Function at 0x47387a
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4738a8
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4738c6
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004737e0
jmp 0x4738c6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4738c6
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004737e0
test edi, edi
mov eax, edi
jne 0x4738b0
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401e40
Capabilities:
Set socket configuration
Terminate process

Disassembly:
push ebp
mov ebp, esp
in al, dx
shr ch, cl
mov edx, dword [ebx + 0xc]
push esi
cmovne ecx, dword [eax + 0x650786f]
call fcn.004086e0
stc
dec ebp
push ecx
mov edx, dword [0xd7a93]
push eax
xchg dword [ebx - 0x5397bf3e], eax
aam 0x40
add byte [edx - 1], dl
adc eax, 0x39c180
mov eax, dword [0xc14102ac]
or dword [0x74b68514], 0xf
xchg dword [eax + 0x54], ebp
shl byte [eax + eax - 0x3e9bea01], cl
inc eax
push esp
or edi, 0x2c
push esi
call dword [sym.imp.MSVCRT.dll_exit]
xor dword [esi - 9], ebp
rcl byte [eax - 0x6f6f6f70], 0xe4
popfd
nop
nop

Function at 0x404a60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov al, byte [0x45b774b1]
nop
push ebx
push esi
push edi
lea edx, [eax + 7]
and edx, 0xfffffff8
cmp ebp, ecx
inc edi
inc ebp
or byte [ecx - 0x98ceeab], cl
mov eax, dword [eax + 0x20]
test eax, eax
je 0x404ccd
inc eax
and byte [ebp + 0x46840fc0], al
add al, byte [eax]
add byte [edx + 0xc], ch
push 0xc
call eax
xor dword [esp + eax + 0x33], 0xffffffc0
pop edi
pop esi
cmp ecx, dword [ebx + 0x8555de5]
add byte [edi + 0x70], dl
sub al, 0x8b
dec esi
adc byte [ebx - 0x6d4eb82], cl
jno 0x404a7d
lds edx, [eax]
add edx, ecx
pop edi
mov dword [esi + 0x10], edx
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x2b08
pop edi
pop ebp
imul esp, dword [edi], 0x5b
mov ch, ah
pop ebp
pop ss
xchg edi, eax
add byte [eax - 0x6f6f6f70], dl
nop
nop
nop
or ecx, dword [ebx + 0xcec83ec]
push ebx
push esi
push edi
dec ebx
jge 0x404cf4
lea edx, [ecx]
cmp byte [esi - 0x18], dl
ljmp 0x447
movsd dword es:[edi], dword [esi]
mov eax, dword [edi + 4]
xor ebx, ebx
sbb ebp, 4
cmp eax, ebx
sbb al, 0x1e
mov dword [edi + 0x3c], ebx
je 0x404d13
push eax
call fcn.00404e00
mov ecx, ecx
add al, 0x3b
ret
lea eax, [edi - 0x2b3ec813]
or dword [eax], eax
add byte [ebx + 0x1e891c47], cl
push eax
mov dword [edi + 0x14], ebx
push es
or al, byte [eax]
add byte [edx + 0x47], bh
xor byte [ebx + 0x5f73344f], al
sbb al, 0x89
pop edi
and al, 0xb4
inc edi
scasb al, byte es:[edi]
dec eax
adc byte [ebp + 8], ah
add esp, 8
cmp ecx, eax
mov dword [eax - 0x117bf00c], esp
add byte [eax], al
add byte [ebx + 0x1a890450], cl
mov eax, dword [eax + ebx - 0x3d74cf75]
or al, 0x85
sal byte [esi + eax + 0x50], 0xe8
insd dword es:[edi], dx
push ebp
add byte [eax], al
mov eax, dword [edi]
mov ecx, dword [edi - 3]
adc dl, byte [edi - 0x4a]
mov dword [ebp + 8], eax
mov dword [ebp - 4], ecx
xchg ebp, eax
push es
mov ecx, dword [ebp - 4]
mov eax, dword [0x468bf845]
or byte [ebp + 0x3b0a74d8], al
ret 0x676
Function at 0x405340
Capabilities:
Encode data using xor

Disassembly:
loope 0x4052fd
pop eax
cld
call dword [edx - 0x3f]
bound edi, qword [ebx]
mov dword [eax + 0xc], ecx
mov edi, dword [edx + 0xc]
mov dl, 0xcf
jae 0x40532f
mov ebx, dword [eax]
pop esp
dec edx
or al, 0x79
stc
cmp al, 0x48
mov cl, byte [ecx + 0x7d08e231]
jo 0x405323
jne 0x405392
add al, 0x8b
dec edx
sub ecx, dword [ecx + 0x1890448]
xor al, 0x10
mov dword [edx + 4], eax
mov eax, dword [ebp + 0x10]
pop edi
retf 0x8b5b
push ebp
mov ebp, esp
sub esp, 0x10
mov ebx, dword [eax + 0x5756531c]
mov ecx, dword [esi]
or byte [ebx + 0x507a8b02], cl
sub eax, dword [ebx + 0x10]
mov dword [eax - 0x45f3720c], ecx
cmp ecx, 0x20
loopne 0x405367
mov ecx, 0x75000020
cmp al, 0x24
adc byte [eax], al
lock add ebp, dword [edx]
jnp 0x4052fb
jo 0x405386
sub esi, dword [eax + 0x10]
cmp ecx, esi
ja 0x4053ea
mov ebx, dword [ecx - 0x764c74fc]
xor dword [ebx + 0x4708b08], ecx
mov dword [ecx + 0x12], esi
jno 0x40539a
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
mov dword [ecx], eax
mov dword [eax], ebx
mov dword [ebx + 0x24], eax
invalid
add byte [eax], al
mov dword [edi + 0x2c], eax
mov esi, dword [edx + 0x109a8b14]
mov esi, dword [ebx]
sub eax, ecx
mov ecx, esi
cmp dword [eax], eax
adc ch, cl
add byte [0xffff0000], ah
dec eax
sar eax, 0xc
mov dword [ebx + 0xc], eax
cmp eax, dword [ecx + 0xc]
pop eax
and dword [ebx + 0xc413b09], ecx
mov ecx, dword [ecx]
cmp eax, dword [ecx + 0xc]
jb 0x4053c1
mov eax, dword [ebx + 0x4f]
mov dword [edx + 0x348b5e8b], ebp
add al, 0x89
jo 0x4053d9
xor al, 4
mov dword [eax + 4], esi
jecxz 0x405418
add al, 0x89
inc ebx
add al, 0x89
and cl, byte [ecx + 0x2c59890b]
mov eax, dword [edi + 0x2c]
jg 0x4053d0
add byte [eax], al
add byte [ebp - 0x7ea6e789], ah
xchg dword [eax], edx
add byte [eax], al
and eax, 0xfff40300
movsd dword es:[edi], dword [esi]
ja 0x405405
pop ecx
add dword [edi + 0x25000010], 0xfff40300
cmp eax, ecx
mov dword [ebp - 4], eax
jb 0x4055c0
rol byte [eax], 1
and byte [eax], al
add byte [ebx + 0xa], dh
invalid
or al, 0x4f
cmp edi, 0x3c
mov dword [esi - 8], eax
ja 0x1276cc0
cmp edi, dword [esi]
retf
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
mov al, 0x90
nop
nop
nop
nop
nop
Function at 0x407d20
Capabilities:
Encode data using xor

Disassembly:
or byte [esp + ecx], 0xc
adc eax, 0xc750b0c
add ecx, dword [ebx + ebx*2]
or al, 0xc
or al, 0x17
push esp
jno 0x407c61
call 0x8e4c8866
mov bl, 0xc
adc byte [edi], ah
or al, 0x5d
push ecx
add byte [esi*2 + 0x50c0c0c], cl
push es
add bh, dl
add ecx, dword [eax + ecx]
or al, 0xa9
or al, 0xc
pop es
or byte [ecx], cl
or al, 0xc
or cl, byte [ebx + ecx]
or al, 0xc
mov al, 0x8d
dec ecx
mov eax, 0x2d407ba2
pop ebx
jns 0x407cc7
leave
jp 0x407ccb
add byte [edx + ebp*8 - 0x36], al
add cl, bl
jns 0x407cd3
add bl, ch
jns 0x407c42
ret 0x821f
or byte [eax], cl
mov dword [0xfb080808], eax
or byte [eax], cl
sti
mov esp, 0x80808eb
or byte [eax + ecx + 0x80808d9], bl
out 8, al
or bh, ah
jge 0x407ce8
mov ebx, 0x8080808
add cl, byte ss:[eax]
or byte [ebx + 2], dl
or byte [eax], cl
add ebp, dword [edi]
or byte [edx - 0x34], ah
or byte [eax], cl
or byte [esi + 8], bl
add al, byte [eax + ecx]
lahf
or byte [edi + 8], ch
or byte [eax], cl
or byte [eax], cl
xchg edi, eax
or byte [eax], cl
or byte [edi + 8], dl
or byte [eax], cl
or byte [eax], cl
mov cs, word [eax]
or byte [eax + ecx], ah
add eax, 0x806bb08
push ds
or byte [edi], al
nop
mov eax, 0x90909090
nop
push ebp
mov ebp, esp
or eax, 0x58
push esi
lea eax, [ebp - 0x58]
push edi
mov edi, dword [ebp + 0x10]
inc ebx
dec ebp
cld
push eax
mov eax, dword [ebp - 0x5d]
lea edx, [ebp + 0xc]
push ecx
mov ecx, dword [ebp + 8]
push edx
les edx, [eax + 0x51]
call fcn.00407e70
mov ecx, dword [ebp - 4]
mov ebx, dword [eax]
adc al, 0x83
les ebx, [eax]
mov dword [ebp + 0x1f], eax
test dword [ebx + ecx*4 - 0x39f98b7f], esp
push edi
sub eax, 0x8d01728d
dec edi
jo 0x407db4
push ebx
test dword [esi + 0x3cd70f7e], edi
add dword [eax], esi
jne 0x407d71
xlatb
cmp al, 1
xor byte [ebp + 6], dh
dec edi
daa
test ecx, ecx
jg 0x407d65
mov dword [ebp + 0x10], edi
ficomp word [ebp + 0xc]
test ebx, ebx
syscall
mov ah, 0
add byte [eax], al
mov ecx, ebx
mov ch, 0xcf
or ebx, 4
psrad mm6, qword [eax + 0x540000ac]
fstp xword [edi + 0x3b]
cmp byte [eax], 0x30
je 0x407d99
mov byte [ebp - 0x66], 0x46
test ebx, ebx
jge 0x407dcb
mov ecx, ebx
loop 0x407dd1
xor byte [eax], dh
xor bh, dh
and dword [ecx - 0x2e07f3b3], ecx
cmp dh, 0xc1
sub al, 2
rep stosd dword es:[edi], eax
retf 0xe183
and ecx, 0x3e
rep stosb byte es:[edi], al
inc eax
jge 0x407dae
mov eax, edx
mov edx, dword [ebp + 0x14]
xchg edi, eax
fadd dword [ebx]
invalid
mov ecx, 0x78000001
cmp edi, ecx
stc
jl 0x407d60
mov dh, dh
mov byte [esi], dl
inc esi
add ebp, dword [edx]
retf

Function at 0x408f94
Capabilities:
Encode data using xor

Disassembly:
pop esi
push esi
xor dword [esi], ebx
lodsd eax, dword [esi]
add ebx, eax
test eax, eax
jne 0x408f96
ret
Function at 0x424536
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004246e6
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x424634
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x4245d7
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x42461a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x4245ee
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x424609
test al, 0x40
je 0x424600
mov ecx, dword [edi + 0x20]
jmp 0x424607
test al, 0x80
je 0x42461a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x42461a
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x4245a6
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x401000
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.004123b0
mov esi, dword [ebp + 0xc]
push 0x2454
push 0
push esi
call fcn.004123b0
lea eax, [esi + 0x48]
lea edx, [esi + 0x2148]
mov dword [ebp - 0x10], eax
mov eax, 0x800
lea ecx, [esi + 8]
mov dword [ebp - 0x2c], edx
lea edx, [esi + 0x2348]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov eax, 0x80
lea ecx, [esi + 0x1048]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 8]
mov dword [ebp - 8], ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], eax
lea ecx, [esi + 0x2048]
mov eax, edx
add esp, 0x18
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0x20
mov dword [ebp - 0x28], 0x100
mov dword [ebp - 0x18], ecx
lea edi, [eax + 2]
jmp 0x401090
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401090
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp + 0x10]
sub eax, edi
push ecx
sar eax, 1
push eax
push edx
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x4010f8
mov eax, dword [ebp - 0x30]
cmp eax, 3
je 0x4010c5
cmp eax, 4
je 0x4010c5
cmp eax, 1
jne 0x4010f8
mov dx, word [ebp - 0x24]
mov dword [esi + 4], eax
pop edi
mov dword [esi + 0x2448], 0
mov dword [esi + 0x244c], 0
mov word [esi], dx
mov dword [esi + 0x2450], 0xffffffff
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401b10
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4297c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov dword [ebp - 0x210], 0
mov dword [ebp - 0x214], 0
mov word [ebp - 0x20c], ax
call fcn.004123b0
mov edx, dword [esi + 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
add esp, 0xc
push 2
push 0
push 0xffffffffffffff96
push edx
call edi
mov edx, dword [esi + 8]
push 0
lea eax, [ebp - 0x210]
push eax
push 0x6a
lea ecx, [ebp - 0x20c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x210], 0x6a
jne 0x401c1b
mov edx, str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
lea ecx, [ebp - 0x20c]
nop
mov ax, word [ecx]
cmp ax, word [edx]
jne 0x401bc6
test ax, ax
je 0x401bc2
mov ax, word [ecx + 2]
cmp ax, word [edx + 2]
jne 0x401bc6
add ecx, 4
add edx, 4
test ax, ax
jne 0x401ba0
xor eax, eax
jmp 0x401bcb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x401c1b
push 1
push eax
mov eax, dword [esi + 8]
push 0xffffffffffffff92
push eax
call edi
mov eax, dword [esi + 8]
push 0
lea ecx, [ebp - 0x210]
push ecx
push 4
lea edx, [ebp - 0x214]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp - 0x214]
mov edx, dword [ebp - 0x210]
mov eax, dword [esi + 8]
push 1
add ecx, edx
push 0
neg ecx
push ecx
push eax
call edi
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004125d9
mov esp, ebp
pop ebp
ret
Function at 0x4028f0
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.004125f0
mov eax, dword [0x4297c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
cmp dword [esi + 0x2480], 0
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x1008], esi
mov ebx, 0x422768
je 0x402928
mov ebx, str.POST
xor eax, eax
push 0xffe
push eax
lea ecx, [ebp - 0x1002]
push ecx
mov dword [ebp - 0x1018], 0x422754
mov dword [ebp - 0x1014], 0
mov word [ebp - 0x1004], ax
call fcn.004123b0
mov eax, dword [edi + 0x20]
lea edx, [eax + 0x1048]
push edx
add eax, 0x48
push eax
push str._s_s
lea eax, [ebp - 0x1004]
push 0x7ff
push eax
call fcn.0041246a
add esp, 0x20
cmp dword [esi + 0x62acc], 0
mov eax, 0x8400c300
je 0x402991
mov eax, 0x8408c300
mov ecx, dword [edi + 0x20]
cmp dword [ecx + 4], 4
jne 0x40299f
or eax, 0x803000
mov ecx, dword [edi + 0x18]
push edi
push eax
lea edx, [ebp - 0x1018]
push edx
push 0
push str.HTTP_1.1
lea eax, [ebp - 0x1004]
push eax
push ebx
push ecx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [edi + 0x1c], eax
test eax, eax
je 0x402af0
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionW]
push 4
lea edx, [ebp - 0x1010]
push edx
push 2
push eax
mov dword [ebp - 0x1010], 0x3a98
call esi
mov ecx, dword [edi + 0x1c]
push 4
lea eax, [ebp - 0x100c]
push eax
push 0x41
push ecx
mov dword [ebp - 0x100c], 1
call esi
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x1040], eax
mov dword [ebp - 0x103c], eax
mov dword [ebp - 0x1038], eax
mov dword [ebp - 0x1034], eax
mov dword [ebp - 0x1030], eax
mov dword [ebp - 0x102c], eax
mov dword [ebp - 0x1028], eax
mov dword [ebp - 0x1024], eax
mov dword [ebp - 0x1020], eax
mov dword [ebp - 0x101c], eax
xor ecx, ecx
mov eax, 0x5168
mov edx, 2
mul edx
seto cl
mov dword [ebp - 0x1040], 0x28
neg ecx
or ecx, eax
push ecx
call fcn.00412200
mov esi, eax
add esp, 4
test esi, esi
je 0x402ab6
push 0xa2d0
push 0
push esi
call fcn.004123b0
mov ecx, dword [ebp - 0x1008]
add esp, 0xc
push ebx
push 0xa2cf
push esi
push edi
call fcn.00401230
mov eax, esi
mov dword [ebp - 0x1038], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x402aa1
sub eax, edx
sar eax, 1
mov dword [ebp - 0x1034], eax
mov ecx, dword [edi + 0x1c]
push edi
push 1
push 0
lea eax, [ebp - 0x1040]
push eax
push ecx
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
mov edi, eax
test esi, esi
je 0x402adb
push esi
call fcn.004132ac
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004125d9
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.004125d9
mov esp, ebp
pop ebp
ret 4
Function at 0x402b10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x270c]
sub eax, dword [esi + 0x2708]
mov ecx, dword [esi + 8]
push 2
xor edi, edi
push edi
push edi
sar eax, 2
push ecx
mov dword [ebp - 8], edi
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 4], edi
je 0x402bf4
mov ecx, dword [esi + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
lea edx, [ebp - 8]
push edx
push 4
lea eax, [ebp - 4]
push eax
push ecx
call ebx
mov edx, dword [esi + 0x270c]
sub edx, dword [esi + 0x2708]
mov dword [ebp - 0xc], 4
sar edx, 2
test edx, edx
jbe 0x402bc8
lea ebx, [ebx]
mov eax, dword [esi + 0x270c]
sub eax, dword [esi + 0x2708]
sar eax, 2
cmp edi, eax
jb 0x402b98
call fcn.004127f9
mov edx, dword [esi + 0x2708]
mov eax, dword [edx + edi*4]
push 0
lea ecx, [ebp - 8]
push ecx
mov ecx, dword [esi + 8]
push 0x20
push eax
push ecx
call ebx
mov edx, dword [esi + 0x270c]
sub edx, dword [esi + 0x2708]
add dword [ebp - 0xc], 0x20
inc edi
sar edx, 2
cmp edi, edx
jb 0x402b80
mov eax, dword [ebp - 0xc]
push 0
lea ecx, [ebp - 8]
push ecx
push 4
lea edx, [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [esi + 8]
push edx
push eax
call ebx
mov edx, dword [esi + 8]
push 0
lea ecx, [ebp - 8]
push ecx
push 0x6a
push str.546865576F726C64_86C36F73_2C25_4a7d_91EA_F5581018A42D
push edx
call ebx
pop ebx
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x404a00
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x26f4]
sub eax, dword [esi + 0x26f0]
push edi
mov edi, dword [ebp + 8]
sar eax, 2
mov dword [ebp - 4], esi
cmp edi, eax
jb 0x404a29
call fcn.004127f9
mov ecx, dword [esi + 0x26f0]
mov edi, dword [ecx + edi*4]
xor eax, eax
lea esi, [edi + 0x8044]
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
push 0x8000
mov dword [esi + 0x20], eax
push eax
lea ebx, [edi + 0x40]
mov dword [esi + 0x24], eax
push ebx
mov dword [esi], 0x28
call fcn.004123b0
mov eax, dword [edi + 0x8040]
mov dword [edi + 0x8058], ebx
add esp, 0xc
lea ebx, [edi + 0x805c]
mov dword [ebx], 0x8000
test eax, eax
je 0x404ac8
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0x18]
mov edx, dword [eax + 0x14]
sbb edx, dword [eax + 0x1c]
sub ecx, dword [eax + 8]
sbb edx, dword [eax + 0xc]
add ecx, 1
mov eax, edx
adc eax, 0
test eax, eax
jb 0x404ac1
ja 0x404ab1
cmp ecx, 0x8000
jbe 0x404ac1
mov ecx, 0x8000
mov dword [ebp - 8], 0
mov dword [ebx], ecx
jmp 0x404b0c
mov dword [ebp - 8], eax
mov dword [ebx], ecx
jmp 0x404b0c
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x5d120]
mov ecx, dword [edx + 0x5d124]
cmp eax, 0xffffffff
jne 0x404ae0
cmp ecx, eax
je 0x404b0c
sub eax, dword [edx + 0x5d130]
sbb ecx, dword [edx + 0x5d134]
test ecx, ecx
jb 0x404b07
ja 0x404af9
cmp eax, 0x8000
jbe 0x404b07
mov eax, 0x8000
mov dword [ebp - 8], 0
jmp 0x404b0a
mov dword [ebp - 8], ecx
mov dword [ebx], eax
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov ecx, dword [edi + 0x20]
mov dword [edi + 0x28], 9
cmp dword [ecx + 4], 1
je 0x404b6b
mov edx, dword [edi + 0x1c]
push edi
push 1
push esi
push edx
call dword [sym.imp.WININET.dll_InternetReadFileExA]
test eax, eax
je 0x404b50
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x404ba9
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebx]
mov edx, dword [edi + 0x8058]
mov eax, dword [edi + 0x1c]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x404b9c
mov ecx, dword [edi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x404b42
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 4]
push edx
call fcn.004042e0
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4