joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10152504
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov eax, dword [ebp + 8]
mov dword [0x10165254], 0x26de
mov dword [ebp - 0x10], eax
call fcn.10151ad9
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov dword [0x10165254], 0xe73
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x10152554
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10165250], 0x16bd
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x18]
cmp esi, 0
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
jne 0x101525ee
mov eax, dword [ebp - 0x30]
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp - 0x34]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x3e], cl
je 0x101525e5
jmp 0x1015261f
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x48]
add edx, 1
mov esi, dword [ebp - 0x2c]
cmp edx, esi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], edx
jb 0x10152600
jmp 0x10152589
mov al, byte [ebp - 0x3e]
test al, 1
jne 0x1015264d
jmp 0x101525bf
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x4c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edx
jmp 0x10152594
mov eax, dword [ebp - 0x3c]
add eax, 1
mov cl, byte [ebp - 0x3d]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3e]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x34], eax
jne 0x10152594
jmp 0x101525e5
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10165250], 0x22a3
mov dword [ebp - 0x30], edi
jmp 0x10152589
Function at 0x101526c0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x10165250], 0x1927
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
jmp 0x1015277f
mov dword [0x10165250], 0x21a9
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x18], 0x6f
je 0x101527bf
jmp 0x101527e3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x10], 0x6c
sete dl
mov byte [ebp - 0x15], dl
mov al, byte [ebp - 0x15]
test al, 1
jne 0x1015273a
jmp 0x101527e3
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x1c], eax
je 0x101527ea
jmp 0x101527e3
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x14], eax
je 0x101526f9
jmp 0x101527e3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x14], 0x64
je 0x101527d0
jmp 0x101527e3
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edx
je 0x1015275a
mov dword [0x10165250], 0x9f6
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, 0x104
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], ecx
jl 0x1015277f
jmp 0x1015275a
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x16], 0x61
je 0x1015276e
jmp 0x101527e3
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x14]
cmp word [eax + ecx*2 - 0x12], 0x64
je 0x1015271b
xor eax, eax
mov dword [ebp - 0x1c], eax
jmp 0x101527ea
mov eax, dword [ebp - 0x1c]
add esp, 0x28
pop ebp
ret
Function at 0x101527f2
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x50
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x10152840
lea eax, [ebp - 0x24]
mov dword [ebp - 0x34], eax
mov dword [0x10165250], 0x1372
call fcn.10152f2b
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10151c36
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10152924
jmp 0x1015286c
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101555a3]
mov dh, byte [eax + 0x10155574]
sub dh, dl
mov byte [ebp + eax - 0x24], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
je 0x1015280c
jmp 0x10152840
mov eax, dword [ebp - 0x38]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x10165250]
add ecx, 0xffffdbc9
mov dword [0x10165250], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10151ded
xor eax, eax
mov ecx, dword [0x10165250]
add ecx, 0xffffe005
mov dword [0x10165254], ecx
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0xc], ecx
mov dword [0x10165250], 0x19c4
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x4c], ecx
add ecx, 0x22f4
mov esi, dword [ebp - 0x3c]
cmp esi, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x1015291b
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x50
pop esi
pop ebp
ret
xor eax, eax
add esp, 0x50
pop esi
pop ebp
ret
Function at 0x10152a46
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [0x10165258], 0
mov dword [0x1016525c], 0
mov dword [0x10165268], 0
mov ebx, dword [0x10165254]
add ebx, 0xfffff338
mov dword [0x10165250], ebx
cmp eax, 0
mov ebx, edi
mov dword [ebp - 0x10], eax
mov eax, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edi
jne 0x10152acc
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [0x10165258]
mov ecx, dword [0x1016525c]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x24]
mov esi, 0x100
mov dword [0x10165250], 0x20d1
mov dword [0x10165254], 0x7e7
add ecx, 1
mov dword [ebp - 0x30], eax
mov eax, ecx
mov dword [ebp - 0x34], edx
cdq
idiv esi
mov dword [0x10165258], edx
mov ecx, dword [ebp - 0x20]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x34]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1016525c], edx
mov esi, dword [ebp - 0x38]
mov cl, byte [ecx + esi]
mov byte [0x10165260], cl
mov edi, dword [ebp - 0x20]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov cl, byte [0x10165260]
mov edx, dword [0x1016525c]
mov byte [edi + edx], cl
mov dword [0x10165254], 0x2664
mov edx, dword [0x10165258]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1016525c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x10165268], ebx
mov dword [0x10165250], 0x1fb1
mov cl, byte [edi + ebx]
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x30]
mov ch, byte [edx + ebx]
mov byte [0x1016526d], ch
mov byte [0x1016526e], cl
xor ch, cl
mov byte [0x1016526c], ch
mov dword [0x10165250], 0x251f
mov edx, dword [ebp - 0x1c]
mov byte [edx + ebx], ch
mov dword [0x10165254], 0x13d3
add ebx, 1
mov edx, dword [ebp - 0x10]
cmp ebx, edx
mov dword [ebp - 0x2c], ebx
je 0x10152aad
jmp 0x10152ab5
Function at 0x10152d00
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
call fcn.10001066
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0x24], ecx
je 0x10152d37
jmp 0x10152e5f
mov eax, dword [esp + 0x20]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x1c], eax
jmp 0x10152db5
lea eax, [esp + 0x80]
lea ecx, [esp + 0x28]
mov dword [0x10165250], 0x1f19
mov dword [esp], eax
mov dword [esp + 0x18], ecx
call fcn.10152092
lea ecx, [0x10152675]
mov edx, dword [esp + 0x80]
mov dword [esp + 0x4c], edx
mov dword [esp + 0x2c], 0x113a00
mov edx, dword [0x1016523c]
mov dword [esp + 0x38], edx
mov edx, dword [0x10165240]
mov dword [esp + 0x64], edx
mov edx, dword [0x10165244]
mov dword [esp + 0x40], edx
mov edx, dword [0x10165248]
mov dword [esp + 0x58], edx
mov edx, dword [0x1016524c]
mov dword [esp + 0x3c], edx
mov dword [0x10165254], 0x4bf
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x20], eax
jne 0x10152d23
mov eax, dword [esp + 0x20]
add eax, 0x3c
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
cmp dword [edx + ecx], 0x4550
mov dword [esp + 0xc], ecx
jne 0x10152d23
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
mov dword [0x10165254], 0xe73
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x70], edx
call fcn.101526c0
xor ecx, ecx
cmp eax, 0
mov dword [esp + 8], ecx
jne 0x10152e57
lea eax, [esp + 0x28]
mov dword [0x10165254], 0x341
mov ecx, dword [esp + 0x88]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.101527f2
mov ecx, esp
lea edx, [esp + 0x28]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov esp, ebp
pop ebp
ret
Function at 0x10013090
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x1001309f
pop dword [ebp - 0x40]
mov eax, 0x1001309f
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xd34de9d
add dword [ebp - 0x50], 0x411d66ae
mov dword [ebp - 0x4c], 0xa8528ab8
sub dword [ebp - 0x4c], 0x761f3e73
mov dword [ebp - 0x48], 0xdeb20104
add dword [ebp - 0x48], 0x6d9a432a
mov dword [ebp - 0x44], 0x183e9850
sub dword [ebp - 0x44], 0x183e9850
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xff3befd5
sub dword [ebp - 0x50], 0x8ac9867f
mov dword [ebp - 0x4c], 0xab0fac2a
add dword [ebp - 0x4c], 0x965cb54b
mov dword [ebp - 0x48], 0x428aa06f
sub dword [ebp - 0x48], 0xdf1b3403
mov dword [ebp - 0x44], 0x2b9005e6
sub dword [ebp - 0x44], 0x2b9005e6
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x6437bfb1
sub eax, 0x54360f9d
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3e37b
push 0
call eax
mov ecx, 0x1cf26a89
add ecx, 0xe30ddd68
xor esi, esi
add esi, eax
mov edx, 0xf21bcf2c
add edx, 0x1de6e0d4
add edx, dword [ebp - 0x40]
mov edi, 0x6656046f
sub edi, 0x542035c
add dword [ebp - 8], edx
mov ebx, dword [edx]
sub dword [ebp - 0x28], edi
add ebx, edi
xor dword [ebp - 0xc], 0x679e113c
mov dword [esi], ebx
mov dword [ebp - 0x30], 0xf4d28774
add esi, 0x4f1ddbe
sub esi, 0x4f1ddba
add edx, 0xd9a64e5
sub edx, 0xd9a64e1
loop 0x100131b9
add eax, 0x8a3c3738
add eax, 0x75c4db5f
mov ebx, eax
add eax, 0x5b7ca2d7
sub eax, 0x5b7ca2d2
mov ecx, 0x10000000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret
Function at 0x62eb4ad0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, ecx
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x1c
xor eax, eax
mov edi, dword [esp + 0x30]
mov dword [edi], 0
jmp 0x62eb4af8
add eax, dword [edi]
cmp ebp, eax
mov dword [edi], eax
jbe 0x62eb4b20
mov edx, ebp
sub edx, eax
lea eax, [esi + eax]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 0
jg 0x62eb4af0
jne 0x62eb4b2a
mov dword [ebx + 0x28], 1
xor eax, eax
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.62eb3fe0
or eax, 0xffffffff
jmp 0x62eb4b22

Function at 0x62eb4b60
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x2c
mov dword [esp + 0x1c], ebx
mov ebx, eax
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ebp
mov eax, dword [eax + 0x34]
test eax, eax
je 0x62eb4ba0
cmp eax, 1
je 0x62eb4be4
cmp eax, 2
je 0x62eb4bc1
xor eax, eax
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x28]
add esp, 0x2c
ret
mov eax, ebx
call fcn.62eb40f0
mov edx, eax
mov eax, 0xffffffff
cmp edx, 0xffffffff
je 0x62eb4b88
mov esi, dword [ebx + 0x24]
xor eax, eax
test esi, esi
jne 0x62eb4b88
mov eax, dword [ebx + 0x34]
jmp 0x62eb4b7c
mov eax, dword [ebx + 0x10]
add eax, eax
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x60], eax
mov eax, ebx
call fcn.62eb3dd0
cmp eax, 0xffffffff
setne al
movzx eax, al
sub eax, 1
jmp 0x62eb4b88
mov esi, dword [ebx + 0x10]
lea edi, [ebx + 0x24]
xor al, al
mov ebp, dword [ebx + 0x1c]
mov dword [ebx + 0x24], 0
add esi, esi
jmp 0x62eb4c08
add eax, dword [edi]
cmp esi, eax
mov dword [edi], eax
jbe 0x62eb4c31
mov edx, esi
sub edx, eax
lea eax, [ebp + eax]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp + 8], edx
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 0
jg 0x62eb4c00
jne 0x62eb4c3e
mov dword [ebx + 0x28], 1
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], eax
xor eax, eax
jmp 0x62eb4b88
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.62eb3fe0
or eax, 0xffffffff
jmp 0x62eb4b88
Function at 0x62eb5290
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
push esi
mov esi, edx
push ebx
mov ebx, eax
sub esp, 0x2c
xor eax, eax
test edx, edx
jne 0x62eb52c5
jmp 0x62eb530b
jl 0x62eb5313
cmp eax, esi
mov esi, esi
lea edi, [edi]
jg 0x62eb5313
sub esi, eax
mov edx, eax
xor eax, eax
add dword [ebx + 0x20], edx
add dword [ebx + 0xc], edx
mov dword [ebx + 0x24], eax
test esi, esi
je 0x62eb5320
mov eax, dword [ebx + 0x24]
cmp eax, 0
jne 0x62eb52a3
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x62eb52db
mov ebp, dword [ebx + 0x58]
test ebp, ebp
je 0x62eb5320
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x62eb532a
cmp eax, 1
je 0x62eb5342
cmp eax, 2
jne 0x62eb52c1
mov eax, dword [ebx + 0x10]
add eax, eax
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x60], eax
mov eax, ebx
call fcn.62eb3dd0
cmp eax, 0xffffffff
jne 0x62eb52c1
mov eax, 0xffffffff
add esp, 0x2c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, esi
sub eax, esi
xor esi, esi
jmp 0x62eb52b8
add esp, 0x2c
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, ebx
call fcn.62eb40f0
cmp eax, 0xffffffff
je 0x62eb5306
mov edi, dword [ebx + 0x24]
test edi, edi
jne 0x62eb52c1
mov eax, dword [ebx + 0x34]
jmp 0x62eb52e2
mov eax, dword [ebx + 0x1c]
lea ebp, [ebx + 0x24]
mov edi, dword [ebx + 0x10]
mov dword [ebx + 0x24], 0
mov dword [esp + 0x1c], eax
xor eax, eax
add edi, edi
jmp 0x62eb536a
add eax, dword [ebp]
cmp edi, eax
mov dword [ebp], eax
jbe 0x62eb5393
mov edx, edi
sub edx, eax
add eax, dword [esp + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call sub.msvcrt.dll__read
cmp eax, 0
jg 0x62eb5360
jne 0x62eb539e
mov dword [ebx + 0x28], 1
mov eax, dword [ebx + 0x1c]
mov dword [ebx + 0x20], eax
jmp 0x62eb52c1
call sub.msvcrt.dll__errno
mov eax, dword [eax]
mov dword [esp], eax
call sub.msvcrt.dll_strerror
mov dword [esp + 4], 0xffffffff
mov dword [esp], ebx
mov dword [esp + 8], eax
call fcn.62eb3fe0
or eax, 0xffffffff
jmp 0x62eb530b
Function at 0x11d31220
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x11dcb9c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
push 1
lea ecx, [esp + 0xc]
lea eax, [esi + 8]
push eax
call fcn.11d75020
mov eax, dword [esi + 4]
mov dword [esp + 0x1c], 0
test eax, eax
je 0x11d3127f
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.11d75080
mov eax, 1
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
call fcn.11d8c8b0
test eax, eax
je 0x11d313d7
push str.winhadnt.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x28], eax
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d312df
push str.winhadnt.dll
lea ecx, [esp + 8]
call fcn.11d665e0
mov ecx, dword [eax]
mov edx, dword [esi + 0x28]
push ecx
push edx
push str.CDetoursMgr::InitFuncPtrs_____d____s_
push 0x11de01d0
push 0xffffffffffffffff
mov byte [esp + 0x30], 1
call fcn.11d354f0
add esp, 0x14
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 0
call fcn.11d66d80
mov eax, dword [esi + 0x28]
test eax, eax
jne 0x11d31309
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.11d75080
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetTobeTargetProcessByName
push eax
call edi
mov dword [esi + 0x2c], eax
mov eax, dword [esi + 0x28]
push str.SetTobeTargetProcessByProcID
push eax
call edi
mov ecx, dword [esi + 0x28]
push str.IsInSecuDesktop
push ecx
mov dword [esi + 0x30], eax
call edi
mov edx, dword [esi + 0x28]
push str.SetNetShareWhitePath
push edx
mov dword [esi + 0x34], eax
call edi
mov dword [esi + 0x38], eax
mov eax, dword [esi + 0x28]
push str.SetProtectdIPAndPort
push eax
call edi
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x3c], eax
test ecx, ecx
pop edi
je 0x11d3137b
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x11d3137b
mov ecx, dword [esi + 0x34]
test ecx, ecx
je 0x11d3137b
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x11d3137b
test eax, eax
je 0x11d3137b
mov dword [esi + 4], 1
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d3139c
mov ecx, dword [esi + 4]
push ecx
push str.CDetoursMgr::InitFuncPtrs___2__d_
push 0x11de01d0
push 0xffffffffffffffff
call fcn.11d354f0
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
jne 0x11d313d7
mov edx, dword [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esi + 0x28], 0
mov dword [esp + 0x1c], 0xffffffff
call fcn.11d75080
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov esi, dword [esi + 4]
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call fcn.11d75080
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x11d31f90
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, 0x11df6590
jmp 0x11d31fc0
push 0xffffffffffffffff
push 0x11dcba9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 0xc]
call fcn.11d74af0
mov eax, dword [0x11dd37d8]
lea ecx, [esi + 0x2c]
xor ebx, ebx
mov dword [esp + 0x18], ebx
mov dword [ecx], eax
lea edi, [esi + 0x30]
mov dword [edi], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov byte [esp + 0x18], 3
mov dword [esi], 0x11dd34c4
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.11d66af0
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.11d33570
mov edi, dword [esi + 0x40]
cmp edi, ebx
je 0x11d32063
mov eax, dword [esi + 0x44]
mov ecx, eax
dec eax
test ecx, ecx
je 0x11d32054
push ebp
lea ebp, [eax + 1]
mov ecx, edi
call fcn.11d333d0
add edi, 0x10
dec ebp
jne 0x11d32046
pop ebp
mov edx, dword [esi + 0x40]
push edx
call fcn.11d7882e
add esp, 4
mov dword [esi + 0x40], ebx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x48], ebx
mov dword [esi + 0x44], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x11d32e50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x11dcbc80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
xor eax, eax
push ebp
mov dword [esp + 0xc], eax
push esi
mov dword [esp + 0x14], eax
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x1c], eax
or eax, 0xffffffff
push 0x3a
mov ebp, ecx
push edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call fcn.11d78f0c
mov esi, eax
add esp, 8
test esi, esi
jne 0x11d32eb8
lea ecx, [esp + 0x10]
push ecx
push edi
mov ecx, ebp
call fcn.11d32fe0
or ebp, 0xffffffff
jmp 0x11d32f55
mov eax, esi
lea ecx, [esp + 0xc]
sub eax, edi
sar eax, 1
push eax
push edi
call fcn.11d66990
add esi, 2
lea ecx, [esp + 0x30]
push esi
mov dword [esp + 0x2c], 0
call fcn.11d665e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 1
call fcn.11d6aab0
lea ecx, [esp + 0xc]
call fcn.11d6a790
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x11d32f0d
lea edx, [esp + 0x10]
mov ecx, ebp
push edx
push eax
call fcn.11d32fe0
lea ecx, [esp + 0x30]
call fcn.11d6aab0
lea ecx, [esp + 0x30]
call fcn.11d6a790
mov eax, dword [esp + 0x30]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x11d32f37
lea ecx, [esp + 0x10]
push ecx
push eax
mov ecx, ebp
call fcn.11d33130
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.11d66d80
or ebp, 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], ebp
call fcn.11d66d80
cmp dword [esp + 0x10], ebp
jne 0x11d32f61
cmp dword [esp + 0x14], ebp
je 0x11d32fca
mov edi, dword [esp + 0x34]
push ebp
mov ecx, edi
mov esi, dword [edi + 4]
lea edx, [esi + 1]
push edx
call fcn.11d33420
mov ecx, dword [edi]
mov eax, esi
shl eax, 4
add eax, ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], ecx
mov edx, dword [esp + 0x14]
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x18]
mov dword [eax + 8], ecx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0xc], edx
mov eax, dword [0x11dfc748]
test eax, eax
je 0x11d32fca
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push esi
push 0x11de0764
push str.IPG_16656
push 4
call fcn.11d354f0
add esp, 0x20
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x11d34970
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
mov ecx, dword [0x11df65f0]
sub esp, 0x14
xor eax, eax
push ebx
push ebp
push esi
cmp ecx, eax
push edi
jbe 0x11d34a3c
mov word [esp + 0x14], ax
mov dword [esp + 0x16], eax
mov dword [esp + 0x1a], eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x1e], eax
lea edx, [esp + 0x14]
mov word [esp + 0x22], ax
mov eax, dword [esp + 0x28]
push ecx
push edx
push eax
mov dword [esp + 0x1c], 0x10
call dword [sym.imp.WS2_32.dll_getsockname]
mov edi, dword [esp + 0x2c]
mov ebx, dword [sym.imp.WS2_32.dll_ntohl]
mov ebp, dword [sym.imp.WS2_32.dll_ntohs]
cmp eax, 0xffffffff
je 0x11d349f0
mov ecx, dword [esp + 0x18]
push ecx
call ebx
mov edx, dword [esp + 0x16]
mov esi, eax
push edx
call ebp
push edi
push esi
push eax
mov ecx, 0x11df65e8
call fcn.11d348e0
test eax, eax
jne 0x11d34a2b
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
push edx
call dword [sym.imp.WS2_32.dll_getpeername]
cmp eax, 0xffffffff
je 0x11d34a3a
mov eax, dword [esp + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x16]
mov esi, eax
push ecx
call ebp
push edi
push esi
push eax
mov ecx, 0x11df65e8
call fcn.11d348e0
test eax, eax
je 0x11d34a3a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8