joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408fe9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x408ff1
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
invalid
inc ebp
iretd

Function at 0x4091d9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
mov byte [ebp - 0x78], 0x73
mov byte [ebp - 0x77], 0x5e
mov byte [ebp - 0x76], 0x77
mov byte [ebp - 0x75], 0x78
mov byte [ebp - 0x74], 0x72
mov byte [ebp - 0x73], 0x7a
mov byte [ebp - 0x72], 0x73
jae 0x4091a1
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.00408d03
test byte [esi - 0x7a72d6c4], cl
jl 0x4091ee
jae 0x4091a1
inc ebp
invalid
invalid
invalid

Function at 0x4093a5
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x4093b7
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x4093b2
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x40939c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x4093a4
cmp edx, ebx
jne 0x4094f2
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
dec eax
add al, 0x83
inc ebp
or byte [edx], al
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x409373
add eax, dword [eax + 4]
jmp 0x409360
mov dword [ebp + 0xc], ebx
jmp 0x4093c2
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x4093da
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x4093f8
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x409456
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x40943d
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x409446
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x409450
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x409432
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x4093bc
mov dword [ebp + 8], esi
xor edi, edi
Function at 0x402bf0
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x64a0008], 0x8088405
inc edx
mov dword [ebx + 0x64a0008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x404464
Capabilities:
Packed with generic packer

Disassembly:
test edx, edx
je 0x4044c9
test ecx, ecx
je fcn.0040419c
cmp edx, dword [eax]
je 0x4044d0
cmp ecx, dword [eax]
je 0x404486
push eax
push ecx
call fcn.0040419c
pop edx
pop eax
jmp fcn.00404420
push ebx
push esi
push edi
mov ebx, edx
mov esi, ecx
push eax
mov eax, dword [ebx - 4]
add eax, dword [esi - 4]
call fcn.0040420c
mov edi, eax
mov edx, eax
mov eax, ebx
mov ecx, dword [ebx - 4]
call fcn.0040293c
mov edx, edi
mov eax, esi
mov ecx, dword [esi - 4]
add edx, dword [ebx - 4]
call fcn.0040293c
pop eax
mov edx, edi
test edi, edi
je 0x4044c0
dec dword [edi - 8]
call fcn.0040419c
pop edi
pop esi
pop ebx
ret
mov edx, ecx
jmp fcn.0040419c
mov edx, ecx
jmp fcn.00404420

Function at 0x42f7c4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f7f1
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [eax + esi*4]
mov ebp, dword [edx + esi*4]
mov dword [edi + esi*4], ebx
xor dword [eax + esi*4], ebp
inc esi
jne 0x42f7e2
and ecx, 3
je 0x42f809
mov bl, byte [ecx + eax - 1]
mov bh, byte [ecx + edx - 1]
mov byte [ecx + edi - 1], bl
xor byte [ecx + eax - 1], bh
dec ecx
jne 0x42f7f6
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x42f814
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push ebp
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push esi
shr esi, 2
je 0x42f84d
lea ecx, [ecx + esi*4]
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebp, dword [eax + esi*4]
mov ebx, dword [edi + esi*4]
xor ebx, dword [edx + esi*4]
mov dword [edx + esi*4], ebx
xor ebx, dword [ecx + esi*4]
mov dword [edi + esi*4], ebp
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f835
pop esi
and esi, 3
je 0x42f872
mov bl, byte [esi + eax - 1]
mov bh, byte [esi + edx - 1]
xor bh, byte [esi + edi - 1]
mov byte [esi + edx - 1], bh
xor bh, byte [esi + ecx - 1]
mov byte [esi + edi - 1], bl
mov byte [esi + eax - 1], bh
dec esi
jne 0x42f853
pop ebp
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x42f87c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov edi, ecx
mov ecx, dword [ebp + 8]
mov esi, ecx
shr esi, 2
je 0x42f8a8
lea edi, [edi + esi*4]
lea edx, [edx + esi*4]
lea eax, [eax + esi*4]
neg esi
mov ebx, dword [edx + esi*4]
xor ebx, dword [eax + esi*4]
mov dword [edi + esi*4], ebx
mov dword [eax + esi*4], ebx
inc esi
jne 0x42f899
and ecx, 3
je 0x42f8c0
mov bl, byte [ecx + edx - 1]
xor bl, byte [ecx + eax - 1]
mov byte [ecx + edi - 1], bl
mov byte [ecx + eax - 1], bl
dec ecx
jne 0x42f8ad
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x42f8c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push edi
shr ecx, 1
lea edi, [eax + ecx*8]
lea edx, [edx + ecx*8]
neg ecx
mov ebx, dword [edx + ecx*8]
mov eax, dword [edx + ecx*8 + 4]
xor dword [edi + ecx*8], ebx
xor dword [edi + ecx*8 + 4], eax
inc ecx
jne 0x42f8d4
pop edi
pop ebx
ret

Function at 0x4301f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call dword [eax + 0x20]
mov esi, eax
mov eax, esi
shr eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
call fcn.0042fe48
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x63c032f
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
dec edi
test edi, edi
jl 0x43029e
inc edi
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f8c8
lea eax, [ebx + esi]
mov ebx, eax
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f8c8
lea eax, [ebx + esi]
mov ebx, eax
dec edi
jne 0x43024b
mov eax, esi
add eax, eax
push eax
mov eax, dword [ebp - 8]
pop edx
mov ecx, edx
cdq
idiv ecx
mov edi, edx
cmp esi, edi
jg 0x4302ec
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, esi
call fcn.0040293c
mov edx, ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
call fcn.0042f8c8
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x10]
mov ecx, esi
call fcn.0040293c
lea eax, [ebx + esi]
mov ebx, eax
sub edi, esi
test edi, edi
jle 0x430316
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
dec edi
test edi, edi
jl 0x430316
inc edi
xor eax, eax
mov edx, dword [ebp - 4]
mov edx, dword [edx + 8]
mov dl, byte [edx + eax]
xor byte [ebx + eax], dl
inc eax
dec edi
jne 0x430306
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x63c0336
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042ffe4
ret
Function at 0x43eaf8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
xor ebx, ebx
mov bl, dl
dec ebx
test ebx, ebx
jl 0x43eb4c
inc ebx
xor edx, edx
mov ecx, edx
shl ecx, 2
movzx esi, byte [eax + ecx]
lea esi, [esi*4 + 0x64a0814]
mov esi, dword [esi]
movzx edi, byte [eax + ecx + 1]
lea edi, [edi*4 + 0x64a0c14]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 2]
lea edi, [edi*4 + 0x64a1014]
xor esi, dword [edi]
movzx edi, byte [eax + ecx + 3]
lea edi, [edi*4 + 0x64a1414]
xor esi, dword [edi]
lea ecx, [eax + ecx]
mov dword [ecx], esi
inc edx
dec ebx
jne 0x43eb07
pop edi
pop esi
pop ebx
ret

Function at 0x465378
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x465438
xor ebx, ebx
lea esi, [ebp - 0x114]
mov eax, dword [ebp + 8]
xor edx, edx
push edx
push eax
mov eax, ebx
cdq
call fcn.00405410
mov al, byte [edi + eax]
mov byte [esi], al
inc ebx
inc esi
cmp ebx, 0x100
jne 0x4653a2
xor edx, edx
mov byte [ebp - 0xd], 0
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x465438
inc eax
mov dword [ebp - 0x14], eax
xor ebx, ebx
inc edx
and dl, 0xff
mov esi, edx
and esi, 0xff
mov al, byte [ebp + esi - 0x114]
mov cl, byte [ebp - 0xd]
add cl, al
and cl, 0xff
mov byte [ebp - 0xd], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov cl, byte [ebp + ecx - 0x114]
mov byte [ebp + esi - 0x114], cl
xor ecx, ecx
mov cl, byte [ebp - 0xd]
mov byte [ebp + ecx - 0x114], al
add al, byte [ebp + esi - 0x114]
and al, 0xff
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + ebx]
and eax, 0xff
xor cl, byte [ebp + eax - 0x114]
mov eax, dword [ebp - 8]
mov byte [eax + ebx], cl
inc ebx
dec dword [ebp - 0x14]
jne 0x4653d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x465444
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp dword [ebp - 0xc], 0
jle 0x4654fc
xor esi, esi
lea ecx, [ebp - 0x110]
mov eax, esi
cdq
idiv edi
mov al, byte [ebx + edx]
mov byte [ecx], al
inc esi
inc ecx
cmp esi, 0x100
jne 0x465471
xor edx, edx
xor ecx, ecx
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4654fc
inc eax
mov dword [ebp - 0x10], eax
xor esi, esi
inc edx
and dl, 0xff
xor eax, eax
mov al, dl
mov al, byte [ebp + eax - 0x110]
lea ecx, [eax + ecx]
and cl, 0xff
xor ebx, ebx
mov bl, cl
mov bl, byte [ebp + ebx - 0x110]
mov edi, edx
and edi, 0xff
mov byte [ebp + edi - 0x110], bl
xor ebx, ebx
mov bl, cl
mov byte [ebp + ebx - 0x110], al
xor ebx, ebx
mov bl, dl
add al, byte [ebp + ebx - 0x110]
and al, 0xff
mov ebx, dword [ebp - 4]
mov bl, byte [ebx + esi]
and eax, 0xff
xor bl, byte [ebp + eax - 0x110]
mov eax, dword [ebp - 8]
mov byte [eax + esi], bl
inc esi
dec dword [ebp - 0x10]
jne 0x465497
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4ad404
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ebx, ecx
mov dword [ebp - 4], eax
mov esi, dword [0x64b2948]
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 1
xor eax, eax
push ebp
push 0x643d5dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004a55d4
add dword [ebp - 0xc], 4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004a67fc
mov eax, dword [esi]
call fcn.004940e4
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x4c]
add edx, dword [ebp - 0x14]
cmp eax, edx
jge 0x4ad476
mov eax, dword [esi]
call fcn.004940e4
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x4c]
mov dword [ebp - 0x14], eax
mov eax, dword [esi]
call fcn.004940f0
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x48]
add edx, dword [ebp - 0x18]
cmp eax, edx
jge 0x4ad49a
mov eax, dword [esi]
call fcn.004940f0
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x48]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004940d8
cmp eax, dword [ebp - 0x18]
jle 0x4ad4b0
mov eax, dword [esi]
call fcn.004940d8
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
call fcn.004940cc
cmp eax, dword [ebp - 0xc]
jle 0x4ad4c6
mov eax, dword [esi]
call fcn.004940cc
mov dword [ebp - 0xc], eax
push 0x10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
call fcn.004abd8c
push eax
call fcn.00407808
call fcn.00406d28
mov edx, dword [ebp - 4]
sub eax, dword [edx + 0x214]
cmp eax, 0xfa
jbe 0x4ad58d
mov eax, ebx
call fcn.00404418
cmp eax, 0x64
jge 0x4ad58d
cmp dword [0x64b06d4], 0
je 0x4ad58d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1016
call fcn.00407858
cmp dword [ebp - 8], 0
je 0x4ad58d
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0x1018
call fcn.00407858
cmp dword [ebp - 8], 0
je 0x4ad550
mov bl, 2
jmp 0x4ad56b
lea edx, [ebp - 0x20]
mov eax, dword [0x64ba830]
call fcn.004b069c
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x14]
jle 0x4ad569
xor ebx, ebx
jmp 0x4ad56b
mov bl, 1
xor eax, eax
mov al, bl
mov eax, dword [eax*4 + 0x64b07dc]
or eax, 0x40000
push eax
push 0x64
mov eax, dword [ebp - 4]
call fcn.004abd8c
push eax
call dword [0x64b06d4]
mov eax, dword [0x64b2778]
mov eax, dword [eax]
mov edx, dword [eax + 0x30]
mov eax, dword [ebp - 4]
call fcn.004a94c0
push 4
mov eax, dword [ebp - 4]
call fcn.004abd8c
push eax
call fcn.00407850
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x7c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x643d5e4
call fcn.00406d28
mov edx, dword [ebp - 4]
mov dword [edx + 0x214], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x210], 0
ret
Function at 0x4d0848
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, edx
xor edx, edx
push ebp
push 0x6460936
push dword fs:[edx]
mov dword fs:[edx], esp
xor edx, edx
mov dword [ebp - 8], edx
mov esi, ebx
xor ecx, ecx
cmp byte [eax + 0x6a], 0
je 0x4d0897
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x88]
test edx, edx
je 0x4d08b6
mov ecx, edx
add ecx, ebx
jmp 0x4d08b6
mov eax, ebx
xor edx, edx
push edx
push eax
mov eax, dword [esi + 0x3c]
cdq
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [eax + 0x78]
test edx, edx
je 0x4d08b6
mov ecx, edx
add ecx, ebx
test ecx, ecx
je 0x4d0928
mov esi, dword [ecx + 0x18]
mov eax, dword [ecx + 0x1c]
add eax, ebx
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 0x20]
add edi, ebx
mov eax, dword [ecx + 0x24]
add eax, ebx
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffff
jbe 0x4d0911
test esi, esi
jbe 0x4d0928
mov eax, dword [edi]
add eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040a510
test eax, eax
jne 0x4d0903
mov eax, dword [ebp - 0xc]
movzx eax, word [eax]
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
jmp 0x4d0928
add dword [ebp - 0xc], 2
add edi, 4
dec esi
test esi, esi
ja 0x4d08e0
jmp 0x4d0928
mov edx, eax
sub edx, dword [ecx + 0x10]
cmp edx, dword [ecx + 0x14]
jae 0x4d0928
mov eax, edx
shl eax, 2
add eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x646093d
ret
Function at 0x4d1bc8
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x6461de3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00404868
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x4d1c03
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x4d1c1c
lea eax, [ebp - 0x10]
mov edx, dword [0x64b2760]
mov edx, dword [edx]
mov edx, dword [edx + 0xc]
call fcn.004048c8
jmp 0x4d1c2f
lea eax, [ebp - 0x10]
mov edx, dword [0x64b2760]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004048c8
lea eax, [ebp - 0x10]
mov edx, ebx
sar edx, 1
jns 0x4d1c3b
adc edx, 0
mov edx, dword [edx*4 + 0x64b0d0c]
call fcn.00404ac8
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0x10]
call fcn.00404aac
push eax
call fcn.00406a50
mov esi, eax
cmp esi, 0xffffffff
je 0x4d1db5
mov eax, 0x40
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x4d1da8
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.00406ef8
mov eax, edi
call fcn.00402744
mov eax, 0x18
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
cmp dword [eax], 0x4550
jne 0x4d1da8
add eax, 4
mov dword [ebp - 0xc], eax
cmp byte [ebp - 1], 0
je 0x4d1d46
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x8664
jne 0x4d1d46
mov eax, edi
call fcn.00402744
mov eax, 0xf0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1d46
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d1d46
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
cmp byte [ebp - 1], 0
jne 0x4d1da8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x14c
jb 0x4d1da8
mov eax, dword [ebp - 0xc]
cmp word [eax], 0x150
ja 0x4d1da8
mov eax, edi
call fcn.00402744
mov eax, 0xe0
call fcn.00402724
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00406e80
test eax, eax
je 0x4d1da8
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x4d1da8
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
call fcn.004048a4
mov eax, edi
call fcn.00402744
push esi
call fcn.00406a08
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.00404bd4
jne 0x4d1dcd
inc ebx
cmp ebx, 0x19
jne 0x4d1bf5
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x6461dea
lea eax, [ebp - 0x10]
call fcn.00404868
ret
Function at 0x10001540
Capabilities:
Get local ipv4 addresses

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x1000a018]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
call fcn.10002520
call fcn.100013c0
mov esi, eax
mov edi, 5
jmp 0x10001570
push 0
push 0
call fcn.10005d30
sub edi, 1
jne 0x10001570
call fcn.100014c0
mov edi, eax
call fcn.10003300
call fcn.10001340
mov edi, eax
push edi
push 0x100038d0
call fcn.100013c0
mov esi, eax
call fcn.10005d30
push edi
push 0x10003930
call fcn.100013c0
mov esi, eax
call fcn.10005d30
mov edi, dword [sym.imp.MSVCR80.dll_malloc]
push 0x288
call edi
mov esi, eax
add esp, 4
lea eax, [esp + 0x14]
push eax
push esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], 0x288
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x100015fd
push esi
call dword [sym.imp.MSVCR80.dll_free]
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
call edi
add esp, 4
mov dword [esp + 0x18], eax
mov esi, eax
lea edx, [esp + 0x14]
push edx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x10001706
test esi, esi
mov dword [esp + 0x10], esi
je 0x10001714
jmp 0x10001624
mov esi, dword [esp + 0x10]
mov edi, dword [sym.imp.MSVCR80.dll_strcpy_s]
lea eax, [esi + 0x1b0]
push eax
lea ecx, [esp + 0x28]
push 0x10
push ecx
call edi
add esp, 0xc
add esi, 0x1c0
push esi
lea edx, [esp + 0x38]
push 0x10
push edx
call edi
mov edi, dword [sym.imp.WS2_32.dll_inet_addr]
add esp, 0xc
lea eax, [esp + 0x34]
push eax
call edi
lea ecx, [esp + 0x24]
push ecx
mov esi, eax
call edi
mov ebx, dword [0x1000a4a4]
and esi, eax
xor edi, edi
mov dword [esp + 0x20], esi
mov esi, dword [0x1000a4a0]
mov dword [esp + 0x1c], edi
mov edi, edi
test esi, esi
jne 0x10001688
xor eax, eax
jmp 0x1000169d
mov ecx, ebx
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jge 0x100016e7
test esi, esi
je 0x100016be
mov ecx, ebx
sub ecx, esi
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x100016d0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [0x1000a4a4]
mov esi, dword [0x1000a4a0]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp edx, dword [eax + esi]
je 0x100016f0
add edi, 1
add dword [esp + 0x1c], 0x24
jmp 0x10001680
lea eax, [esp + 0x20]
call fcn.10001ed0
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x10001620
mov esi, dword [esp + 0x18]
test esi, esi
je 0x10001714
push esi
call dword [sym.imp.MSVCR80.dll_free]
add esp, 4
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10006c60
mov esp, ebp
pop ebp
ret
Function at 0x10001820
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x100079bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1000a018]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 1
push 0
push 0
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100018a3
push 0x108
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x1000188e
push 0x1400
push 2
push esi
push eax
mov edi, 0x2800
call fcn.100040c0
jmp 0x10001890
xor eax, eax
test eax, eax
mov dword [esp + 0x18], 0xffffffff
jne 0x100018b7
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push eax
push esi
call fcn.10001440
call fcn.10004d00
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret

Function at 0x100018e0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x100079bb
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x1000a018]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
push 1
push 0
push 0
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_WSASocketW]
mov esi, eax
cmp esi, 0xffffffff
je 0x10001963
push 0x108
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0xc], eax
test eax, eax
mov dword [esp + 0x18], 0
je 0x1000194e
push 0x2800
push 1
push esi
push eax
mov edi, 0x5000
call fcn.100040c0
jmp 0x10001950
xor eax, eax
test eax, eax
mov dword [esp + 0x18], 0xffffffff
jne 0x10001977
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret
push eax
push esi
call fcn.10001440
call fcn.10004d00
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret