joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442565
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [ebx]
push edi
mov edi, dword [ebp + 8]
lea eax, [ecx + 4]
mov esi, dword [ecx + edi]
mov dword [ebx], eax
xor ecx, ecx
push 2
pop edx
lea eax, [esi + 1]
mul edx
seto cl
mov dword [ebp + 8], esi
neg ecx
or ecx, eax
push ecx
call fcn.0041f4fe
mov ecx, dword [ebx]
add esi, esi
add ecx, edi
push esi
push ecx
mov edi, eax
push edi
call fcn.0041ee94
mov ecx, dword [ebp + 8]
add dword [ebx], esi
xor eax, eax
add esp, 0x10
mov word [esi + edi], ax
test ecx, ecx
jle 0x4425c0
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x4425b7
mov eax, edi
pop edi
pop esi
inc ebp
pop ebp
ret 8

Function at 0x44b641
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
dec dword [0x4bf7e0]
jne 0x44b653
call fcn.0044b6e0
mov eax, dword [0x4c3310]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4c3310], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x44b696
fadd qword [0x4b6a00]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4b69d0]
leave
ret

Function at 0x44b6a4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
inc esi
mov dword [0x4c3318], ecx
mov edx, esi
mov ecx, 0x4c3318
mov eax, dword [ecx]
shr eax, 0x1e
xor eax, dword [ecx]
add ecx, 4
imul eax, eax, 0x6c078965
add eax, edx
mov dword [ecx], eax
inc edx
cmp ecx, 0x4c3cd4
jl 0x44b6b5
mov dword [0x4bf7e0], esi
mov dword [0x4c3304], esi
pop esi
ret

Function at 0x44b6e0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
cmp dword [0x4c3304], 0
push ebx
push esi
push edi
mov esi, 0x4c3318
jne 0x44b700
push 0
call fcn.0042345e
pop ecx
mov ecx, eax
call fcn.0044b6a4
mov dword [0x4bf7e0], 0x270
mov dword [0x4c3310], esi
mov edi, 0xe3
mov ebx, 0x9908b0df
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi], eax
mov esi, edx
dec edi
jne 0x44b71a
mov edi, 0x24ba018c
lea edx, [esi + 4]
mov al, byte [edx]
and al, 1
movzx ecx, al
mov eax, dword [esi]
neg ecx
sbb ecx, ecx
xor eax, dword [edx]
and ecx, ebx
and eax, 0x7ffffffe
xor eax, dword [esi]
shr eax, 1
xor eax, dword [esi - 0x38c]
xor eax, ecx
mov dword [esi], eax
lea esi, [edx]
dec edi
jne 0x44b74b
mov ecx, dword [0x4c3318]
mov al, cl
and al, 1
movzx edx, al
mov eax, dword [esi]
neg edx
sbb edx, edx
xor eax, ecx
and eax, 0x7ffffffe
xor eax, dword [esi]
and edx, ebx
shr eax, 1
xor eax, dword [esi - 0x38c]
pop edi
xor eax, edx
mov dword [esi], eax
pop esi
pop ebx
ret
Function at 0x44bd9e
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi + 0x2424045c]
test eax, eax
je 0x44bdc6
push dword [esi + 0x20]
push eax
push 1
push dword [esi + 0x24240454]
call fcn.00422ac2
add esp, 0x10
and dword [esi + 0x24045c], 0
pop esi
ret

Function at 0x44bf6e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xdc
lea ecx, [ebp - 0xdc]
push esi
push edi
call fcn.0044bdc8
push dword [ebp + 0x10]
lea ecx, [ebp - 0xdc]
call fcn.0044be0c
xor esi, esi
cmp dword [ebp + 0xc], esi
jbe 0x44bfb2
mov edi, dword [ebp + 8]
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.0044bf42
xor byte [esi + edi], al
inc esi
cmp esi, dword [ebp + 0xc]
jb 0x44bf9c
pop edi
pop esi
leave
ret 0xc
Function at 0x41c500
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x427850], 0
jne 0x41c581
cmp dword [0x427870], 0
jne 0x41c530
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x427870], eax
test eax, eax
jne 0x41c530
push str.GetEnvironmentStrings_failed
call fcn.0041bd1c
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x427870]
jmp 0x41c544
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c53c
lea edi, [ebp + 1]
push edi
call fcn.004161a8
pop ecx
mov ebx, eax
mov dword [0x427854], ebx
test ebx, ebx
jne 0x41c56e
xor eax, eax
jmp 0x41c644
push edi
mov edx, dword [0x427870]
push edx
push ebx
call fcn.00416754
add esp, 0xc
jmp 0x41c5a1
xor esi, esi
mov ebx, dword [0x427850]
jmp 0x41c59b
push eax
call fcn.004168a4
pop ecx
test eax, eax
jne 0x41c597
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c58b
lea ebx, [esi + 4]
push 4
mov dword [0x427858], ebx
inc ebx
push ebx
call fcn.00415c80
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x41c5c4
xor eax, eax
jmp 0x41c644
cmp dword [0x427850], 0
jne 0x41c5f5
xor esi, esi
mov ebx, dword [0x427854]
mov eax, dword [esp]
mov ebp, eax
jmp 0x41c5e6
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.004168a4
pop ecx
mov edi, eax
test eax, eax
jne 0x41c5dc
jmp 0x41c626
xor esi, esi
mov ebx, dword [0x427850]
mov eax, dword [esp]
mov edi, eax
jmp 0x41c620
push eax
call fcn.004168a4
pop ecx
test eax, eax
je 0x41c615
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x41c619
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x41c604
mov eax, dword [0x427850]
test eax, eax
je 0x41c636
push eax
call fcn.004161b8
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x427850], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x5e46d5
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2bc
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x5e46f0
add esi, 0x1000
lea eax, [ebp - 0x2bc]
push edx
push 0x1c
push eax
push esi
call dword [edx + 0x124a9915]
pop edx
test eax, eax
je 0x5e47c2
cmp dword [ebp - 0x2ac], 0x1000
jne 0x5e47b1
test dword [ebp - 0x2a8], 1
jne 0x5e47b1
and dword [ebp - 0x2a8], 0x100
jne 0x5e47b1
push esi
push edx
push 4
push esi
call dword [edx + 0x122d3cfc]
pop edx
pop esi
test eax, eax
je 0x5e4754
jmp 0x5e47b1
cmp word [esi], 0x5a4d
jne 0x5e47b1
mov eax, esi
push ebx
mov ebx, dword [esi + 0x3c]
add eax, ebx
pop ebx
cmp dword [eax], 0x4550
jne 0x5e47b1
lea eax, [ebp - 0x28c]
push edx
push 0x28a
push eax
push esi
call dword [edx + 0x122d3ae4]
pop edx
test eax, eax
je 0x5e47b1
lea eax, [ebp - 0x28c]
push eax
call fcn.005e4631
test eax, eax
jne 0x5e47aa
jmp 0x5e47b1
mov eax, esi
jmp 0x5e47c2
mov esi, dword [ebp - 0x2b0]
add esi, dword [ebp - 0x2bc]
jmp 0x5e46f0
pop esi
leave
ret 4
Function at 0x40b6e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x572f10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.004cad40
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.004027e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x60
call fcn.004027e0
mov ecx, dword [ebp - 0x10]
add ecx, 0x48
call fcn.00424ef0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00424ef0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00424ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x432bb0
Capabilities:
Resolve function by fnv-1a hash

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea ecx, [ebp - 8]
call fcn.0040b910
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x18]
call fcn.0040b7e0
lea ecx, [ebp - 0x18]
call fcn.0040b840
movzx edx, al
test edx, edx
je 0x432c28
lea ecx, [ebp - 0x18]
call fcn.0040b870
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
sub ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 0xc], 0
je 0x432c28
mov edx, dword [ebp - 4]
push edx
lea ecx, [ebp - 0x18]
call fcn.0040b890
push eax
call fcn.00441960
add esp, 4
cmp eax, 0x53b2070f
jne 0x432c26
mov eax, dword [ebp - 4]
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b8c0
jmp 0x432c39
jmp 0x432be7
lea ecx, [ebp - 8]
call fcn.0040b930
movzx ecx, al
test ecx, ecx
jne 0x432bbe
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x463453
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x5a2054]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
and edx, 0xfffffffe
push edi
mov edi, dword [ebx + 8]
movups xmm6, xmmword [esi]
cmp edx, edi
jae 0x463555
lea ecx, [edx + 1]
xorps xmm5, xmm5
xorps xmm7, xmm7
shl ecx, 4
pslldq xmm7, 8
add ecx, esi
psrldq xmm5, 8
movups xmm4, xmmword [ecx - 0x20]
lea ecx, [ecx + 0x20]
movaps xmm3, xmm4
movaps xmm0, xmm4
pclmulqdq xmm0, xmm6, 1
pclmulqdq xmm3, xmm6, 0x10
pxor xmm3, xmm0
movaps xmm1, xmm4
pclmulqdq xmm1, xmm6, 0
movaps xmm0, xmm3
mov eax, edx
pslldq xmm0, 8
add edx, 2
pxor xmm1, xmm0
psrldq xmm3, 8
movaps xmm2, xmm1
pshufd xmm0, xmm1, 0x4e
pclmulqdq xmm2, xmmword [0x57a930], 0
pxor xmm2, xmm0
shr eax, 1
movaps xmm1, xmm2
pshufd xmm0, xmm2, 0x4e
pclmulqdq xmm1, xmmword [0x57a930], 0
pxor xmm1, xmm0
add eax, eax
pclmulqdq xmm4, xmm6, 0x11
pxor xmm4, xmm3
pxor xmm4, xmm1
movups xmmword [ecx - 0x30], xmm4
movups xmm3, xmmword [esi + eax*8]
movaps xmm0, xmm3
pclmulqdq xmm0, xmm3, 0
pxor xmm0, xmm7
movaps xmm1, xmm0
pshufd xmm0, xmm0, 0x4e
pclmulqdq xmm1, xmmword [0x57a930], 0
pxor xmm1, xmm0
pshufd xmm0, xmm1, 0x4e
movaps xmm2, xmm1
pclmulqdq xmm2, xmmword [0x57a930], 0
pxor xmm2, xmm0
pclmulqdq xmm3, xmm3, 0x11
pxor xmm3, xmm5
pxor xmm2, xmm3
movups xmmword [ecx - 0x20], xmm2
cmp edx, edi
jb 0x463480
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004602a6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4

Function at 0x463960
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], eax
xor eax, eax
mov dword [ebp + 8], 0
push esi
nop word [eax + eax]
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx + eax]
mov ecx, dword [ebp - 4]
movzx esi, byte [ecx + eax]
inc eax
mov ecx, dword [ebp + 8]
xor esi, edx
or ecx, esi
mov dword [ebp + 8], ecx
cmp eax, 0x10
jl 0x463980
mov eax, dword [ebp + 8]
dec eax
shr eax, 8
and eax, 1
dec eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x466fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
lea ecx, [edx + 0x3f8]
lea esi, [eax + 0x3f8]
cmp eax, ecx
ja 0x466fed
cmp esi, edx
jb 0x466fed
sub edx, eax
mov esi, 0x80
mov ecx, dword [eax + edx]
lea eax, [eax + 8]
xor dword [eax - 8], ecx
mov ecx, dword [eax + edx - 4]
xor dword [eax - 4], ecx
sub esi, 1
jne 0x466fd5
pop esi
pop ebp
ret
lea esi, [edx + 0x30]
sub edx, eax
lea ecx, [eax + 0x10]
mov eax, 0x10
nop word [eax + eax]
lea ecx, [ecx + 0x40]
lea esi, [esi + 0x40]
movups xmm0, xmmword [ecx - 0x50]
movups xmm1, xmmword [esi - 0x70]
pxor xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edx + ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [esi - 0x50]
pxor xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm0, xmmword [ecx - 0x20]
movups xmm1, xmmword [esi - 0x40]
pxor xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
sub eax, 1
jne 0x467000
pop esi
pop ebp
ret
Function at 0x469c30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x5a2054]
xor eax, ebp
mov dword [ebp - 4], eax
xor edx, edx
xor eax, eax
mov cl, dl
mov dword [ebp - 0xc], edx
mov byte [ebp - 0x10], cl
mov cl, byte [ebp - 9]
mov byte [ebp - 0xf], cl
mov cl, byte [ebp - 0xa]
push ebx
mov byte [ebp - 0xe], cl
mov bl, dl
mov cl, byte [ebp - 0xb]
push esi
mov esi, dword [ebp + 8]
mov word [ebp - 8], dx
mov ch, byte [ebp - 7]
mov byte [ebp - 0xd], cl
nop dword [eax]
mov cl, byte [esi + eax]
mov bh, byte [eax + 0x57a9a0]
xor bh, cl
or bh, bl
mov bl, byte [eax + 0x57a9c0]
xor bl, cl
mov byte [ebp - 0x11], bh
or bl, byte [ebp - 0xd]
mov byte [ebp - 0x17], bl
mov byte [ebp - 0xd], bl
mov bl, byte [eax + 0x57a9e0]
xor bl, cl
or bl, byte [ebp - 0xe]
mov byte [ebp - 0x16], bl
mov byte [ebp - 0xe], bl
mov bl, byte [eax + 0x57aa00]
xor bl, cl
or bl, byte [ebp - 0xf]
mov byte [ebp - 0x15], bl
mov byte [ebp - 0xf], bl
mov bl, byte [eax + 0x57aa20]
xor bl, cl
or bl, byte [ebp - 0x10]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x10], bl
mov bl, byte [eax + 0x57aa40]
xor bl, cl
or bl, ch
mov byte [ebp - 0x13], bl
mov ch, bl
mov bl, byte [eax + 0x57aa60]
inc eax
xor bl, cl
or bl, dl
mov byte [ebp - 0x12], bl
mov dl, bl
mov bl, bh
cmp eax, 0x1f
jb 0x469c70
mov bl, byte [eax + esi]
movzx esi, byte [eax + 0x57aa60]
and bl, 0x7f
movzx ecx, bl
xor esi, ecx
movzx ecx, dl
movzx edx, byte [eax + 0x57aa40]
or esi, ecx
movzx ecx, bl
dec esi
xor edx, ecx
movzx ecx, byte [ebp - 0x13]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57aa20]
xor edx, ecx
movzx ecx, byte [ebp - 0x14]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57aa00]
xor edx, ecx
movzx ecx, byte [ebp - 0x15]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57a9e0]
xor edx, ecx
movzx ecx, byte [ebp - 0x16]
or edx, ecx
movzx ecx, bl
dec edx
or esi, edx
movzx edx, byte [eax + 0x57a9c0]
movzx eax, byte [eax + 0x57a9a0]
xor edx, ecx
movzx ecx, byte [ebp - 0x17]
or edx, ecx
movzx ecx, bl
xor eax, ecx
dec edx
movzx ecx, bh
or esi, edx
or eax, ecx
mov ecx, dword [ebp - 4]
dec eax
xor ecx, ebp
or eax, esi
shr eax, 8
pop esi
and eax, 1
pop ebx
call fcn.004602a6
mov esp, ebp
pop ebp
ret

Function at 0x46a590
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
mov eax, dword [ecx]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x20], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x2c], eax
pop ebp
ret
Function at 0x46ce60
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx]
mov dword [edx + 0x14], eax
mov eax, dword [ecx + 4]
mov dword [edx + 0x28], eax
mov eax, dword [ecx + 8]
mov dword [edx + 0x3c], eax
mov eax, dword [ecx + 0xc]
mov dword [edx + 0x30], eax
mov eax, dword [ecx + 0x10]
mov dword [edx + 0x1c], eax
mov eax, dword [ecx + 0x14]
mov dword [edx + 0x10], eax
mov eax, dword [ecx + 0x18]
mov dword [edx + 0x24], eax
mov eax, dword [ecx + 0x1c]
mov dword [edx + 0x38], eax
mov dword [edx], 0x61707865
mov dword [edx + 4], 0x3320646e
mov dword [edx + 8], 0x79622d32
mov dword [edx + 0xc], 0x6b206574
pop ebp
ret

Function at 0x478e10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
imul eax, dword [ebp + 0xc], 0x3c0
add eax, 0x57acc0
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00478c80
Function at 0x487592
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x579294]
test eax, eax
je 0x4875d1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4875d1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4875d1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4875d1
cmp dword [ecx + 0x74], 0xe
jbe 0x4875d1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x4c8da0
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5789a5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x50
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
push 0x58cffb
lea ecx, [ebp - 0x58]
call fcn.00402870
mov byte [ebp - 4], 1
xor eax, eax
mov byte [ebp - 0x11], al
xor ecx, ecx
mov byte [ebp - 0x12], cl
xor edx, edx
mov byte [ebp - 0x13], dl
movzx eax, byte [ebp - 0x11]
push eax
movzx ecx, byte [ebp - 0x12]
push ecx
movzx edx, byte [ebp - 0x13]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.0040b990
add esp, 0x10
mov ecx, eax
call fcn.0040e080
mov dword [ebp - 0x24], eax
lea ecx, [ebx + 0xc]
call fcn.00425400
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call fcn.0047df08
add esp, 8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x4c8eb4
push 2
push 0
mov eax, dword [ebp - 0x18]
push eax
call fcn.00481e46
add esp, 0xc
mov ecx, dword [ebp - 0x18]
push ecx
call fcn.0047d9db
add esp, 4
mov dword [ebp - 0x1c], eax
push 0
push 0
mov edx, dword [ebp - 0x18]
push edx
call fcn.00481e46
add esp, 0xc
push 0
mov eax, dword [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x58]
call fcn.004253b0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 1
lea ecx, [ebp - 0x58]
call fcn.00425400
mov ecx, 1
imul edx, ecx, 0
add eax, edx
push eax
call fcn.0048615b
add esp, 0x10
mov eax, dword [ebp - 0x18]
push eax
call fcn.004818f8
add esp, 4
lea ecx, [ebp - 0x58]
push ecx
mov ecx, dword [ebx + 8]
call fcn.00402800
mov edx, dword [ebp - 0x20]
or edx, 1
mov dword [ebp - 0x20], edx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004027e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebx + 0xc]
call fcn.004027e0
mov eax, dword [ebx + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x4cce00
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x67452301
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], 0xefcdab89
mov edx, dword [ebp - 4]
mov dword [edx + 8], 0x98badcfe
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], 0x10325476
mov ecx, 4
imul edx, ecx, 0
mov eax, dword [ebp - 4]
mov dword [eax + edx + 0x10], 0
mov ecx, 4
shl ecx, 0
mov edx, dword [ebp - 4]
mov dword [edx + ecx + 0x10], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x18], 0
mov ecx, dword [ebp - 4]
mov byte [ecx + 0x9c], 0
mov esp, ebp
pop ebp
ret
Function at 0x55e980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x88], 0
je 0x55e9d0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x88]
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [edx + 0x88], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 0x10], 0
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 8]
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x55ea63
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x8c]
add ecx, 0x28
xor edx, edx
push edx
push ecx
call fcn.0056f590
add esp, 8
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], ecx
cmp dword [ebp - 4], 0
jne 0x55ea31
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
sub ecx, 1
xor esi, esi
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x98]
cdq
push edx
push eax
push esi
push ecx
call fcn.00460370
push edx
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
push ecx
call fcn.005709b0
add esp, 0x10
mov eax, 7
jmp 0x55ea86
mov edx, 0x28
shl edx, 0
add edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [eax + 8], edx
mov ecx, 0x20
mov edx, dword [ebp - 4]
mov word [edx + 0x1c], cx
mov eax, 1
mov ecx, dword [ebp - 4]
mov word [ecx + 0x1e], ax
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 0x14], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x18], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 4], ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
add eax, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], eax
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x56c4b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
mov dword [eax], 0
push 0
push 0x14
call fcn.0056fa70
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x56c4dc
mov eax, 7
jmp 0x56c58c
movzx ecx, byte [0x5a468c]
test ecx, ecx
je 0x56c4f8
push 0xc8
call fcn.0056b6d0
add esp, 4
test eax, eax
je 0x56c50d
xor edx, edx
mov eax, dword [ebp - 4]
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
jmp 0x56c55d
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 4]
add edx, 4
push edx
push 0
mov eax, dword [ebp - 4]
push eax
push 0x56b990
push 0
push 0
call fcn.0048784a
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x56c55d
xor eax, eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 8], 0
jne 0x56c582
call dword [0x5791d4]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
mov edx, dword [ebp + 0x10]
push edx
call dword [ebp + 0xc]
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x401070
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
sub esp, 0x94
push edi
mov dword [esp + 4], 0x10
call fcn.00401970
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x58]
lea edx, [esp + 0x58]
rep stosd dword es:[edi], eax
fstp qword [esp + 0x38]
mov edi, dword [esp + 0x9c]
lea eax, [esp + 4]
lea ecx, [esp + 0x88]
push eax
push ecx
push 0
push 0x30
push edx
push edi
call sub.WS2_32.dll_recvfrom
test eax, eax
jge 0x4010c7
or eax, 0xffffffff
pop edi
add esp, 0x94
ret
push ebx
push esi
lea eax, [esp + 0x60]
push 0x30
push eax
call fcn.00401640
lea ecx, [esp + 0x68]
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00401880
mov eax, dword [esp + 0x28]
add esp, 0x10
sub eax, 3
mov dword [esp + 0x10], 0
neg eax
sbb eax, eax
mov dword [esp + 0x1c], 1
and al, 0xfe
mov byte [esp + 0x24], 0xfa
add eax, 4
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call fcn.00401970
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x5c]
fst qword [esp + 0x40]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov esi, str.TSSM
lea eax, [esp + 0x38]
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x40117a
test cl, cl
je 0x401176
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x40117a
add eax, 2
add esi, 2
test cl, cl
jne 0x401152
xor eax, eax
jmp 0x40117f
sbb eax, eax
sbb eax, 0xffffffff
pop esi
pop ebx
test eax, eax
je 0x4011a3
push 4
lea eax, [esp + 0x34]
push str.LOCL
push eax
fstp st(0)
call fcn.00401a40
fld qword [esp + 0x44]
add esp, 0xc
fst qword [esp + 0x40]
fst qword [esp + 0x48]
fstp qword [esp + 0x50]
lea ecx, [esp + 8]
lea edx, [esp + 0x58]
push ecx
push edx
call fcn.004017d0
lea eax, [esp + 0x60]
push 0x30
push eax
call fcn.004015c0
mov ecx, dword [esp + 0x14]
add esp, 0x10
lea edx, [esp + 0x88]
lea eax, [esp + 0x58]
push ecx
push edx
push 0
push 0x30
push eax
push edi
call sub.WS2_32.dll_sendto
test eax, eax
jge 0x401206
push str.sendto_return__1
push 0x40a038
call sub.dblib.dll_PutInfo
add esp, 8
or eax, 0xffffffff
pop edi
add esp, 0x94
ret
xor eax, eax
pop edi
add esp, 0x94
ret