joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428397
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44d37c]
jne 0x4283a1
repz ret
jmp fcn.0042d2dc

Function at 0x436300
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042ccd0
and dword [ebp - 4], 0
cmp dword [0x45163c], 0
mov ebx, eax
jne 0x4363b1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x436462
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x443460
push edi
call esi
test eax, eax
je 0x436462
push eax
call fcn.0042cc5e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45163c], eax
call esi
push eax
call fcn.0042cc5e
mov dword [esp], 0x44343c
push edi
mov dword [0x451640], eax
call esi
push eax
call fcn.0042cc5e
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x451644], eax
call esi
push eax
call fcn.0042cc5e
pop ecx
mov dword [0x45164c], eax
test eax, eax
je 0x4363b1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042cc5e
pop ecx
mov dword [0x451648], eax
mov eax, dword [0x451648]
cmp eax, ebx
je 0x436409
cmp dword [0x45164c], ebx
je 0x436409
push eax
call fcn.0042ccd9
push dword [0x45164c]
mov esi, eax
call fcn.0042ccd9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x436409
test edi, edi
je 0x436409
call esi
test eax, eax
je 0x436400
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x436400
test byte [ebp - 0xc], 1
jne 0x436409
or dword [ebp + 0x10], 0x200000
jmp 0x436442
mov eax, dword [0x451640]
cmp eax, ebx
je 0x436442
push eax
call fcn.0042ccd9
pop ecx
test eax, eax
je 0x436442
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x436442
mov eax, dword [0x451644]
cmp eax, ebx
je 0x436442
push eax
call fcn.0042ccd9
pop ecx
test eax, eax
je 0x436442
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45163c]
call fcn.0042ccd9
pop ecx
test eax, eax
je 0x436462
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x436464
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x403170
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x429ac0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x43a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 1
lea eax, [ebp + 0x20]
cmp dword [ebp + 0x34], 0x10
mov ecx, 0x43b02c
push dword [ebp + 0x30]
cmovae eax, dword [ebp + 0x20]
push eax
call fcn.00418030
cmp dword [ebp + 0x1c], 0x10
lea eax, [ebp + 8]
push dword [ebp + 0x18]
cmovae eax, dword [ebp + 8]
mov ecx, 0x43aa14
push eax
call fcn.00418030
mov esi, dword [0x43b03c]
xor ebx, ebx
mov edi, dword [0x43b040]
nop word [eax + eax]
cmp edi, 0x10
mov byte [ebx + 0x43c230], bl
mov eax, ebx
mov ecx, 0x43b02c
cmovae ecx, dword [0x43b02c]
cdq
idiv esi
mov al, byte [edx + ecx]
mov byte [ebx + 0x43c330], al
inc ebx
cmp ebx, 0x100
jl 0x4031f0
xor edi, edi
xor esi, esi
mov dl, byte [esi + 0x43c230]
movzx eax, byte [esi + 0x43c330]
add edi, eax
movzx ecx, dl
add edi, ecx
and edi, 0x800000ff
jns 0x403244
dec edi
or edi, 0xffffff00
inc edi
mov al, byte [edi + 0x43c230]
mov byte [esi + 0x43c230], al
inc esi
mov byte [edi + 0x43c230], dl
cmp esi, 0x100
jl 0x403220
mov esi, dword [ebp - 0x10]
mov ecx, esi
call fcn.00402ed0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x403299
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40328f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032ef
push edx
push ecx
call fcn.0041972f
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x4032db
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4032d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4032ef
push edx
push ecx
call fcn.0041972f
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041dd8c
int3
Function at 0x404c70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [0x43a008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov esi, ecx
push eax
push 0
call dword [0x4300cc]
mov eax, 0x5a4d
cmp word [esi], ax
jne 0x404e8d
mov edi, dword [esi + 0x3c]
add edi, esi
cmp dword [edi], 0x4550
jne 0x404e8d
push 0x44
lea eax, [ebp - 0x14c]
push 0
push eax
call fcn.0041a780
add esp, 0xc
lea eax, [ebp - 0x160]
xorps xmm0, xmm0
movups xmmword [ebp - 0x160], xmm0
push eax
lea eax, [ebp - 0x14c]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x108]
push eax
call dword [0x43007c]
test eax, eax
je 0x404e8d
push 4
push 0x1000
push 4
push 0
call dword [0x4300b8]
mov ebx, eax
push ebx
mov dword [ebp - 0x16c], ebx
mov dword [ebx], 0x10007
push dword [ebp - 0x15c]
call dword [0x430060]
test eax, eax
je 0x404e8d
push 0
push 4
lea eax, [ebp - 0x150]
push eax
push 0x435ecc
push dword [ebp - 0x160]
call dword [0x430074]
mov eax, dword [edi + 0x34]
cmp dword [ebp - 0x150], eax
jne 0x404d8c
push str.acos
push 0x435ee8
call dword [0x4300a4]
push eax
call dword [0x430064]
push dword [ebp - 0x150]
push dword [ebp - 0x160]
call eax
mov eax, dword [edi + 0x34]
push 0x40
push 0x3000
push dword [edi + 0x50]
push eax
push dword [ebp - 0x160]
call dword [0x430068]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x404e8d
push 0
push dword [edi + 0x54]
push esi
push eax
push dword [ebp - 0x160]
call dword [0x4300c8]
xor eax, eax
mov dword [ebp - 0x164], 0
cmp ax, word [edi + 6]
jae 0x404e26
xor ebx, ebx
lea ecx, [ebx + esi]
add ecx, dword [esi + 0x3c]
push 0
push dword [ecx + 0x108]
mov eax, dword [ecx + 0x10c]
add eax, esi
push eax
mov eax, dword [ecx + 0x104]
add eax, dword [ebp - 0x168]
push eax
push dword [ebp - 0x160]
call dword [0x4300c8]
mov ecx, dword [ebp - 0x164]
lea ebx, [ebx + 0x28]
movzx eax, word [edi + 6]
inc ecx
mov dword [ebp - 0x164], ecx
cmp ecx, eax
jl 0x404dd8
mov ebx, dword [ebp - 0x16c]
push 0
push 4
lea eax, [edi + 0x34]
push eax
mov eax, dword [ebx + 0xa4]
add eax, 8
push eax
push dword [ebp - 0x160]
call dword [0x4300c8]
mov eax, dword [edi + 0x28]
add eax, dword [ebp - 0x168]
push ebx
mov dword [ebx + 0xb0], eax
push dword [ebp - 0x15c]
call dword [0x430084]
push dword [ebp - 0x15c]
call dword [0x4300a8]
push 0x8000
push 0
push esi
call dword [0x4300c0]
pop edi
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004192a2
mov esp, ebp
pop ebp
ret
push 0x8000
push 0
push esi
call dword [0x4300c0]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004192a2
mov esp, ebp
pop ebp
ret
Function at 0x409110
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42a3b0
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x43a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x43b194
lea ecx, [ebp - 0x40]
call fcn.00417b70
mov dword [ebp - 4], 0
xor edx, edx
mov ecx, 7
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [ebp - 0x14], ecx
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
xor esi, esi
mov ebx, dword [ebp - 0x40]
cmp dword [ebp - 0x30], esi
jbe 0x4091c2
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
cmovae eax, ebx
movsx ax, byte [eax + esi]
movzx edi, ax
cmp edx, ecx
jae 0x4091a3
lea eax, [edx + 1]
cmp ecx, 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax + edx*2], di
mov word [eax + edx*2 + 2], cx
jmp 0x4091b4
push edi
mov byte [ebp - 0x44], 0
push dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00418b30
mov ecx, dword [ebp - 0x14]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x4091c2
mov edx, dword [ebp - 0x18]
jmp 0x409170
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0
call dword [0x4300b4]
call dword [0x430044]
cmp eax, 0xb7
je 0x40927d
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x40921e
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x409214
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409284
push edx
push ecx
call fcn.0041972f
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x14], 7
cmp eax, 0x10
jb 0x409261
lea ecx, [eax + 1]
mov eax, ebx
cmp ecx, 0x1000
jb 0x409257
mov ebx, dword [ebx - 4]
add ecx, 0x23
sub eax, ebx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x409284
push ecx
push ebx
call fcn.0041972f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004192a2
mov esp, ebp
pop ebp
ret
push 0
call fcn.0041cb4f
call fcn.0041dd8c
int3
Function at 0x4075de
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461944], 0
jne 0x407619
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4075f2
mov dword [ecx*4 + 0x461940], eax
inc ecx
cmp ecx, 0x100
jl 0x4075ed
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407646
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461940]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x407627
not eax
pop ebp
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x4c040f70
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x5a9d527e
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x406294
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push esi
mov esi, 0x104
lea eax, [ebp - 0x120]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp eax, esi
pop esi
jbe 0x4062b8
xor eax, eax
test eax, eax
je 0x4062ca
cmp byte [ebp + eax - 0x121], 0x5c
je 0x4062ca
xor ecx, ecx
jmp 0x4062cd
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx + 0x409014]
lea eax, [ebp + eax - 0x120]
push ecx
push str._s_s.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x120]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
leave
ret 4

Function at 0x4063b9
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42229c], 0
push esi
jne 0x4063f0
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4063ca
mov dword [ecx*4 + 0x422298], eax
inc ecx
cmp ecx, 0x100
jl 0x4063c5
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406421
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x422298]
xor eax, esi
inc ecx
dec edx
jne 0x406403
pop edi
not eax
pop esi
ret 0xc

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0x74117455
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x48035864
nop
nop
nop
test eax, eax
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x406780
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov esi, eax
or al, 0x56
push edi
push ebx
push eax
push ebx
call 0x14404a60
mov esi, dword [ebp + 8]
mov edi, eax
xor eax, eax
mov ebp, esi
jne 0x4067b0
add byte [eax], al
add byte [edx + 0x38], ch
rep stosd dword es:[edi], eax
cmp bl, dh
stosd dword es:[edi], eax
mov dword [esi], edx
mov dword [edx], ebx
mov eax, dword [esi]
mov ebp, dword [ecx]
push ecx
call 0x6e3f9d41
insd dword es:[edi], dx
mov edi, eax
xor eax, eax
popfd
xlatb
lodsb al, byte [esi]
push cs
add byte [eax], al
add bl, dh
stosd dword es:[edi], eax
call 0x1c69a02e
in al, 0x8b
push cs
mov edx, dword [ecx + 0x10]
mov dword [edx], ebx
push es
mov ecx, dword [eax]
cmp ebp, eax
mov ah, dl
inc ebx
mov edi, 0xd24333f8
cmp dword [ecx - 0x59ffff33], edi
rep stosd dword es:[edi], eax
mov eax, dword [esi]
and al, byte [eax]
outsd dx, dword [esi]
imul eax, dword [ecx], 0x8b145089
stc
outsb dx, byte [esi]
push ecx
adc al, 0x89
sbb bl, byte [esi + eax + 0x26]
inc eax
xor al, 1
lcall 0xc183, 0xe8b0000
dec eax
push ecx
call fcn.00406010
mov dword [0xc35d5483], eax
nop
jnp 0x4067a0
Function at 0x406fa0
Capabilities:
Set socket configuration

Disassembly:
push ebp
sub ah, 0x8b
dec ebp
popfd
mov edx, dword [ebp + 8]
mov eax, ecx
push esi
mov esi, dword [ebp + 0xc]
and eax, 0xffffffde
push edi
mov dword [edx], 0
add byte [eax], al
je 0x406f76
fdiv st(6)
je 0x406f47
mov ecx, esi
adc al, byte [ebp - 0x7cea8a01]
mov bl, 3
je 0x406f6b
test cl, 2
ja 0x406f7d
pop edi
mov eax, 0xf51187
pop esi
scasd eax, dword es:[edi]
add byte [esi - 0x51], bl
ret 0x18
pop edi
mov eax, 0xf316
xchg dword [ebp - 0x3e], ebx
sbb byte [eax], al
mov eax, dword [ebp + 0x10]
test eax, eax
into
add eax, 0x2b8
add byte [ebx + 0x51571c7d], cl
mov eax, 2
mov edi, dword [ebp + 0x1c]
push edi
push ecx
mov esp, dword [esp + edx + 0x1b]
push eax
lds edx, [edx - 0x18]
or eax, 0x83000000
les ebx, [eax]
pop edi
cmp edx, dword [ecx]
sbb dword [eax], 0
nop
nop
nop
nop
push ebp
mov ebp, esp
daa
in al, dx
and al, 0xc4
push esi
mov ebp, dword [ebx]
jp 0x406fdf
fstp xword [ebx]
push edi
mov dword [ebp - 0xc], esi
jne 0x406f65
fiadd word [eax - 0xc]
inc eax
add byte [edx + 0xf303c06], cl
mov ecx, 0x3c009200
pop ecx
btr dword [ecx + 0x68f20000], esi
xor al, 0xf4
inc eax
add byte [esi - 0x74], dl
adc eax, 0x5335c11c
adc eax, edx
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 8
dec ebx
not ecx
dec ecx
cmp edx, ecx
jne 0x4070a8
push esi
call dword [sym.imp.WSOCK32.dll_inet_addr]
mov dword [ebp - 8], eax
lea ecx, [eax - 0x13335d08]
lea esp, [esp + ebx*8]
mov dword [edx - 0x14], edx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ecx
mov dword [ebp + 0x41], edx
bound eax, qword [ebp + 0x49]
dec eax
or al, 0x39
sbb dword [edi], ecx
test byte [eax - 0x23ffffc8], ch
pop ebp
cld
adc edx, dword [ebp + 0x1c]
push 0x38
push edx
call 0x3d404a60
mov ecx, dword [esp + ebx*4 - 2]
mov esi, edi
push cs
sti
enter 0x3100, 0xffffffffffffffab
rol byte [ebp + 0x1c], 0x8b
dec ebp
mov eax, dword [0x89fc7d8b]
push es
jns 0x407097
or al, 0x8b
iretd
call esi
pop edi
dec ecx
push ecx
cmp byte [edx - 0x74a4fff6], 0xe5
pop ebp
mov bh, 0x8b
push ebx
add al, 0x89
push esi
add al, 0x89
jae 0x4070d2
mov dword [esi + 4], edx
mov dword [ebx + 0x24], esi
mov eax, dword [ebp - 0x1c]
add edi, 4
mov ebx, esi
mov dword [ebp - 4], edi
mov ecx, dword [eax + 0xc]
cmp dword [edi + ecx], 0x45
push ebp
test dword [ecx - 1], ebx
invalid
in al, dx
sub esp, 0xf842
mov ecx, dword [ebp + 0xc]
push ebx
sal byte [ebx], 0xf6
daa
dec edx
aam 0x51
add al, 0x89
inc ebp
hlt
Function at 0x10001f6b
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x3a980
call fcn.1000a419
xor edx, edx
inc edx
call fcn.10009f1d
xor ecx, ecx
and al, 8
cmp al, 8
setne cl
push 0x32
pop edx
dec ecx
and ecx, 0x803000
add ecx, 0x84400200
mov dword [0x10032c44], ecx
call fcn.10009f1d
cmp ax, 1
jne 0x10001fb7
or dword [0x10032c44], 0x80000
push esi
push edi
push 0x23
pop edx
call fcn.10009f1d
movzx eax, ax
xor edi, edi
sub eax, edi
je 0x10001fdc
dec eax
je 0x10002094
dec eax
je 0x1000208b
dec eax
dec eax
jne 0x10001ff7
push edi
push edi
push 0x20
pop edx
call fcn.10009f46
push eax
push 3
push dword [ebp + 0x10]
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [0x10035f84], eax
mov esi, dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
lea eax, [ebp - 4]
push eax
push 5
push dword [0x10035f84]
call esi
push 4
lea eax, [ebp - 4]
push eax
push 6
push dword [0x10035f84]
call esi
push 0x10032c40
push edi
push 3
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [0x10035f84]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
push 0x23
pop edx
mov dword [0x10035f88], edi
call fcn.10009f1d
cmp ax, 4
jne 0x10002082
push 0x21
pop edx
call fcn.10009f57
push eax
push 0x21
pop edx
call fcn.10009f46
push eax
push 0x2b
push edi
call esi
push 0x22
pop edx
call fcn.10009f57
push eax
push 0x22
pop edx
call fcn.10009f46
push eax
push 0x2c
push dword [0x10035f88]
call esi
call fcn.1000a43a
pop edi
pop esi
leave
ret
push edi
push edi
push edi
push edi
jmp 0x10001fe9
push edi
push edi
push edi
push 1
jmp 0x10001fe9
Function at 0x1000218c
Capabilities:
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b4
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x4af]
push ebx
push eax
mov dword [ebp - 0x30], 0x1002c534
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x4b0], bl
call fcn.1001bdd0
push 0x7f
lea eax, [ebp - 0xaf]
push ebx
push eax
mov byte [ebp - 0xb0], bl
call fcn.1001bdd0
add esp, 0x18
push 8
xor eax, eax
pop ecx
lea edi, [ebp - 0x24]
mov dword [ebp - 0x28], ebx
rep stosd dword es:[edi], eax
mov eax, dword [0x10035f90]
cmp eax, ebx
je 0x10002342
lea esi, [ebp - 0x28]
call fcn.10007de1
push 0x10039ca0
mov edi, 0x1002c528
push edi
mov esi, 0x400
push esi
push dword [ebp - 0x20]
call fcn.100145c6
push dword [0x10039880]
lea eax, [ebp - 0xb0]
push 0x1002c538
push pe_nt_image_headers32
push eax
call fcn.100145c6
lea eax, [ebp - 0xb0]
add esp, 0x20
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x10002237
push dword [0x10035f90]
sub eax, ecx
push dword [0x10035f8c]
push eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0x28]
push eax
push 0xd
pop edx
call fcn.10009f46
push eax
call fcn.1000778e
mov eax, dword [ebp - 0x24]
add esp, 0x18
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1000226f
sub eax, ecx
lea eax, [ebp - 0x4b0]
jne 0x10002290
push dword [ebp - 0x20]
push edi
push esi
push eax
call fcn.100145c6
add esp, 0x10
jmp 0x100022a5
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push 0x1002c53c
push esi
push eax
call fcn.100145c6
add esp, 0x14
call fcn.1000a419
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 4], ebx
push 0x10032c40
push dword [0x10032c44]
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
lea eax, [ebp - 0x4b0]
push eax
push 0x1b
pop edx
call fcn.10009f46
push eax
push dword [0x10035f88]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
push esi
call fcn.100020e6
mov eax, dword [ebp - 0x28]
pop ecx
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x100022ef
push dword [ebp - 0x18]
sub eax, ecx
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
push esi
call fcn.10002145
pop ecx
push esi
test eax, eax
jne 0x1000232d
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jb 0x100022b3
jmp 0x1000232f
call edi
lea eax, [ebp - 0x28]
call fcn.10007e5e
mov dword [0x10035f90], ebx
call fcn.1000a43a
pop edi
pop esi
pop ebx
leave
ret