joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aee9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, 0x400
push esi
call fcn.0041c0b6
mov ebx, eax
pop ecx
test ebx, ebx
je 0x40af87
push dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push dword [ebp + 8]
push eax
call fcn.0040ed32
add esp, 0xc
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0040ee5d
pop ecx
pop ecx
test eax, eax
jne 0x40af31
push ebx
call fcn.0041bfd9
jmp 0x40af86
push dword [ebp + 0x10]
push ebx
call fcn.0041cb70
mov esi, eax
pop ecx
pop ecx
cmp esi, 0xffffffff
je 0x40af70
test esi, esi
je 0x40af70
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.0040ee00
add esp, 4
push eax
push 1
lea eax, [ebp - 0x14]
call fcn.0040ee0b
push eax
call fcn.0041cce9
push esi
call fcn.0041cde2
add esp, 0x14
jmp 0x40af29
push ebx
call fcn.0041bfd9
pop ecx
call dword [0x1002615c]
push eax
push 8
call fcn.0040a2d6
pop ecx
pop ecx
pop esi
pop ebx
leave
ret

Function at 0x40b739
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea ebx, [edi + 4]
push esi
mov esi, eax
mov dword [ebp - 4], esi
mov dword [ebp - 8], ebx
cmp ebx, dword [ebp + 0xc]
jbe 0x40b754
xor eax, eax
jmp 0x40b78c
call fcn.0040aa62
mov dword [esi], eax
add esi, 4
xor ecx, ecx
test edi, edi
jbe 0x40b78a
mov eax, dword [ebp + 8]
sub eax, esi
mov dword [ebp + 0xc], eax
mov ebx, dword [ebp - 4]
mov edx, ecx
and edx, 3
mov dl, byte [edx + ebx]
mov ebx, dword [ebp + 0xc]
lea eax, [ecx + esi]
xor dl, byte [ebx + eax]
inc ecx
mov byte [eax], dl
cmp ecx, edi
jb 0x40b76c
mov ebx, dword [ebp - 8]
mov eax, ebx
pop esi
pop ebx
leave
ret

Function at 0x40b790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, eax
lea eax, [edi - 4]
mov esi, ecx
cmp eax, dword [ebp + 0xc]
jbe 0x40b7a5
xor eax, eax
jmp 0x40b7d0
mov eax, esi
add esi, 4
sub edi, 4
push 0
pop edx
je 0x40b7ce
sub esi, dword [ebp + 8]
push ebx
mov ecx, dword [ebp + 8]
mov ebx, edx
and ebx, 3
mov bl, byte [ebx + eax]
add ecx, edx
xor bl, byte [esi + ecx]
inc edx
mov byte [ecx], bl
cmp edx, edi
jb 0x40b7b6
pop ebx
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x40c002
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor edi, edi
mov esi, eax
cmp dword [0x10035fc8], edi
jne 0x40c024
push 0x80004
call fcn.0041c0b6
pop ecx
mov dword [0x10035fc8], eax
push dword [esi]
call fcn.0042aa79
mov ecx, dword [0x10035fc8]
mov dword [ecx], eax
mov ebx, dword [esi + 4]
cmp ebx, dword [ebp + 8]
jbe 0x40c063
mov ebx, dword [ebp + 8]
jmp 0x40c063
push dword [esi + 8]
mov eax, dword [0x10035fc8]
push ebx
lea eax, [eax + edi + 4]
push 1
push eax
call fcn.0041d494
add esp, 0x10
test eax, eax
je 0x40c069
add edi, eax
sub ebx, eax
sub dword [esi + 4], eax
test ebx, ebx
ja 0x40c040
jmp 0x40c06d
and dword [esi + 4], 0
push 8
add edi, 4
push edi
push dword [0x10035fc8]
call fcn.00409798
add esp, 0xc
call fcn.0040c08b
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x411bb5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push ebx
push esi
push edi
mov esi, 0x200
push esi
mov dword [0x10039884], eax
call fcn.0041c0b6
push esi
push 0
push eax
mov dword [0x10039888], eax
call fcn.00423d83
add esp, 0x10
xor eax, eax
xor byte [eax + 0x10031010], 0x2e
inc eax
cmp eax, 0x1000
jl 0x411be4
push 0x1000
lea eax, [esp + 0x14]
push 0x10031010
push eax
call fcn.0040ed32
lea eax, [esp + 0x1c]
push eax
call fcn.0040ed8e
add esp, 0x10
jmp 0x411cb3
lea eax, [esp + 0x10]
push eax
call fcn.0040ed8e
movzx edi, ax
lea eax, [esp + 0x14]
push eax
call fcn.0040ed8e
movsx ebx, si
pop ecx
pop ecx
movzx ecx, ax
mov eax, dword [0x10039888]
shl ebx, 3
lea esi, [ebx + eax]
movsx eax, di
dec eax
mov word [esi], di
je 0x411c92
dec eax
je 0x411c7b
dec eax
jne 0x411ca8
movsx edi, cx
push edi
call fcn.0041c0b6
pop ecx
push edi
mov dword [esi + 4], eax
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0040edb9
pop ecx
pop ecx
push eax
push dword [esi + 4]
call fcn.00422ba3
add esp, 0xc
jmp 0x411ca8
lea eax, [esp + 0x10]
push eax
call fcn.0040ed4b
pop ecx
mov ecx, dword [0x10039888]
mov dword [ebx + ecx + 4], eax
jmp 0x411ca8
lea eax, [esp + 0x10]
push eax
call fcn.0040ed8e
pop ecx
mov ecx, dword [0x10039888]
mov word [ebx + ecx + 4], ax
lea eax, [esp + 0x10]
push eax
call fcn.0040ed8e
pop ecx
movzx esi, ax
test si, si
jg 0x411c19
push 0x1000
push 0
push 0x10031010
call fcn.00423d83
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4129fd
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, eax
xor edx, edx
push 3
lea eax, [edi + 2]
pop ebx
div ebx
mov ecx, dword [ebp + 0x10]
shl eax, 2
inc eax
cmp dword [ecx], eax
jae 0x412a27
push 6
mov dword [ecx], eax
pop eax
jmp 0x412b09
xor edx, edx
push 3
mov eax, edi
pop ebx
div ebx
mov ecx, dword [ebp + 0xc]
xor edx, edx
imul eax, eax, 3
test eax, eax
jbe 0x412aa6
dec eax
push ebx
pop edi
div edi
mov edi, eax
inc edi
mov edx, edi
imul edx, edx, 3
movzx eax, byte [esi]
shr eax, 2
mov al, byte [eax + 0x1002e468]
mov byte [ecx], al
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
shr eax, 4
shl ebx, 4
add eax, ebx
and eax, 0x3f
mov al, byte [eax + 0x1002e468]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
movzx ebx, byte [esi + 1]
shr eax, 6
lea eax, [eax + ebx*4]
and eax, 0x3f
mov al, byte [eax + 0x1002e468]
inc ecx
mov byte [ecx], al
movzx eax, byte [esi + 2]
and eax, 0x3f
mov al, byte [eax + 0x1002e468]
inc ecx
mov byte [ecx], al
inc ecx
add esi, 3
dec edi
jne 0x412a49
mov edi, dword [ebp + 8]
cmp edx, edi
jae 0x412afc
movzx eax, byte [esi]
inc edx
cmp edx, edi
jae 0x412ab8
movzx esi, byte [esi + 1]
jmp 0x412aba
xor esi, esi
mov ebx, eax
shr ebx, 2
and ebx, 0x3f
mov bl, byte [ebx + 0x1002e468]
mov byte [ecx], bl
shl eax, 4
mov ebx, esi
shr ebx, 4
add ebx, eax
and ebx, 0x3f
mov al, byte [ebx + 0x1002e468]
inc ecx
mov byte [ecx], al
inc ecx
cmp edx, edi
jae 0x412af2
and esi, 0xf
movsx eax, byte [esi*4 + 0x1002e468]
jmp 0x412af5
push 0x3d
pop eax
mov byte [ecx], al
inc ecx
mov byte [ecx], 0x3d
inc ecx
mov eax, dword [ebp + 0x10]
mov byte [ecx], 0
sub ecx, dword [ebp + 0xc]
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41437e
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], 0x6a09e667
mov dword [eax + 0xc], 0xbb67ae85
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xa54ff53a
mov dword [eax + 0x18], 0x510e527f
mov dword [eax + 0x1c], 0x9b05688c
mov dword [eax + 0x20], 0x1f83d9ab
mov dword [eax + 0x24], 0x5be0cd19
xor eax, eax
pop ebp
ret

Function at 0x4145c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [0x10032c80]
mov ebx, eax
push edi
mov eax, esi
call fcn.00415373
test eax, eax
jne 0x4146c5
mov ecx, dword [0x10032c84]
cmp ecx, 1
jl 0x4146c2
cmp ecx, 0x80
jg 0x4146c2
mov eax, dword [ebp + 0xc]
xor edx, edx
div ecx
test edx, edx
jne 0x4146c2
test cl, 3
jne 0x4146c2
mov edx, esi
imul edx, edx, 0x60
mov edx, dword [edx + 0x10036880]
test edx, edx
je 0x41463b
push 0x10032d08
push 0x10032c88
push eax
push ebx
push dword [ebp + 8]
call edx
add esp, 0x14
jmp 0x4146c5
cmp dword [ebp + 0xc], 0
je 0x4146be
mov edi, 0x10032c88
jmp 0x41464e
mov esi, dword [0x10032c80]
xor edx, edx
test ecx, ecx
jle 0x414675
mov ecx, dword [ebp + 8]
sub ecx, edi
lea eax, [edx + 0x10032c88]
mov esi, dword [ecx + eax]
xor dword [eax], esi
add edx, 4
cmp edx, dword [0x10032c84]
jl 0x414659
mov esi, dword [0x10032c80]
imul esi, esi, 0x60
push 0x10032d08
push ebx
push edi
call dword [esi + 0x10036864]
add esp, 0xc
test eax, eax
jne 0x4146c5
mov ecx, dword [0x10032c84]
xor edx, edx
test ecx, ecx
jle 0x4146b4
mov esi, ebx
sub esi, edi
lea eax, [edx + 0x10032c88]
mov ecx, dword [esi + eax]
mov dword [eax], ecx
mov ecx, dword [0x10032c84]
add edx, 4
cmp edx, ecx
jl 0x41469c
add dword [ebp + 8], ecx
add ebx, ecx
sub dword [ebp + 0xc], ecx
jne 0x414648
xor eax, eax
jmp 0x4146c5
push 0x10
pop eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x414a04
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10030370]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10033da8]
push edi
mov ebx, ecx
mov edi, edx
mov eax, esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], edi
call fcn.00415373
test eax, eax
jne 0x414b11
mov ecx, dword [0x10033dac]
cmp ecx, 1
jl 0x414b0e
cmp ecx, 0x80
jg 0x414b0e
mov eax, dword [ebp + 8]
xor edx, edx
div ecx
test edx, edx
jne 0x414b0e
test cl, 3
jne 0x414b0e
mov ecx, esi
imul ecx, ecx, 0x60
mov ecx, dword [ecx + 0x10036884]
test ecx, ecx
je 0x414a8f
push 0x10033e30
push 0x10033db0
push eax
push edi
push ebx
call ecx
add esp, 0x14
jmp 0x414b11
cmp dword [ebp + 8], 0
je 0x414b0a
jmp 0x414a9d
mov esi, dword [0x10033da8]
imul esi, esi, 0x60
push 0x10033e30
lea eax, [ebp - 0x14]
push eax
push ebx
call dword [esi + 0x10036868]
add esp, 0xc
test eax, eax
jne 0x414b11
mov eax, dword [0x10033dac]
xor edi, edi
test eax, eax
jle 0x414afa
mov ecx, dword [ebp - 0x18]
lea esi, [ebp - 0x14]
mov eax, 0x10033db0
sub esi, ebx
sub ebx, eax
sub ecx, eax
mov dword [ebp - 0x20], ecx
lea eax, [edi + 0x10033db0]
lea edx, [ebx + eax]
mov ecx, dword [esi + edx]
xor ecx, dword [eax]
mov edx, dword [edx]
mov dword [eax], edx
mov edx, dword [ebp - 0x20]
mov dword [edx + eax], ecx
mov eax, dword [0x10033dac]
add edi, 4
cmp edi, eax
jl 0x414ad6
mov ebx, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
add ebx, eax
sub dword [ebp + 8], eax
mov dword [ebp - 0x1c], ebx
jne 0x414a97
xor eax, eax
jmp 0x414b11
push 0x10
pop eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004204bb
leave
ret
Function at 0x415a5a
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebx + 0x70]
mov eax, esi
call fcn.0041594a
test eax, eax
jne 0x415b9a
imul esi, esi, 0x68
push edi
mov edi, dword [esi + 0x10037950]
push dword [esi + 0x10037954]
mov dword [ebp - 8], edi
call fcn.0041c0b6
push edi
mov dword [ebp - 4], eax
call fcn.0041c0b6
cmp dword [ebp - 4], 0
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0xc], edi
je 0x415b8b
test edi, edi
je 0x415b82
push edi
push ebx
call dword [esi + 0x100379a4]
mov edi, eax
xor eax, eax
pop ecx
pop ecx
cmp edi, eax
jne 0x415b60
cmp dword [esi + 0x10037954], eax
jbe 0x415ae6
mov ecx, dword [ebx + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 4]
xor cl, 0x5c
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x10037954]
jb 0x415acb
push ebx
call dword [esi + 0x1003799c]
mov edi, eax
pop ecx
test edi, edi
jne 0x415b60
push dword [esi + 0x10037954]
push dword [ebp - 4]
push ebx
call dword [esi + 0x100379a0]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x415b60
push dword [ebp - 8]
push dword [ebp - 0xc]
push ebx
call dword [esi + 0x100379a0]
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x415b60
push dword [ebp - 4]
push ebx
call dword [esi + 0x100379a4]
pop ecx
pop ecx
mov edi, eax
xor ecx, ecx
cmp edi, ecx
jne 0x415b60
cmp dword [ebp - 8], ecx
jbe 0x415b59
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp ecx, dword [eax]
jae 0x415b59
mov eax, dword [ebp + 8]
add eax, ecx
mov dl, byte [esi + eax]
inc ecx
mov byte [eax], dl
cmp ecx, dword [ebp - 8]
jb 0x415b42
mov eax, dword [ebp + 0xc]
mov dword [eax], ecx
xor edi, edi
push dword [ebx + 0xe8]
call fcn.0041bfd9
push dword [ebp - 0xc]
call fcn.0041bfd9
push dword [ebp - 4]
call fcn.0041bfd9
add esp, 0xc
mov eax, edi
jmp 0x415b99
push dword [ebp - 4]
call fcn.0041bfd9
pop ecx
test edi, edi
je 0x415b96
push edi
call fcn.0041bfd9
pop ecx
push 0xd
pop eax
pop edi
pop esi
leave
ret
Function at 0x415b9d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, eax
call fcn.0041594a
test eax, eax
jne 0x415bd8
push esi
mov esi, ebx
imul esi, esi, 0x68
mov dword [edi + 0x70], ebx
mov eax, dword [esi + 0x10037950]
push dword [esi + 0x10037954]
mov dword [ebp - 4], eax
call fcn.0041c0b6
pop ecx
mov dword [ebp - 8], eax
test eax, eax
jne 0x415bdb
push 0xd
pop eax
pop esi
pop ebx
leave
ret
push dword [esi + 0x10037954]
call fcn.0041c0b6
pop ecx
mov dword [edi + 0xe8], eax
test eax, eax
jne 0x415c01
push 0xd
pop ebx
push dword [ebp - 8]
call fcn.0041bfd9
pop ecx
mov eax, ebx
jmp 0x415bd7
mov ecx, dword [esi + 0x10037954]
cmp ecx, 0x10
jae 0x415c49
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
push ecx
push eax
push 0x10
push 0x10035f88
mov eax, ebx
call fcn.00414c60
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x415cc9
mov eax, dword [esi + 0x10037954]
cmp dword [ebp - 4], eax
jae 0x415c79
sub eax, dword [ebp - 4]
push eax
mov eax, dword [edi + 0xe8]
add eax, dword [ebp - 4]
jmp 0x415c71
push 0x10
push 0x10035f88
push eax
call fcn.00422ba3
mov eax, dword [esi + 0x10037954]
add esp, 0xc
cmp eax, 0x10
jbe 0x415c79
add eax, 0xfffffff0
push eax
mov eax, dword [edi + 0xe8]
add eax, 0x10
push eax
call fcn.00415917
pop ecx
pop ecx
xor eax, eax
cmp dword [esi + 0x10037954], eax
jbe 0x415c9e
mov ecx, dword [edi + 0xe8]
mov cl, byte [ecx + eax]
mov edx, dword [ebp - 8]
xor cl, 0x36
mov byte [eax + edx], cl
inc eax
cmp eax, dword [esi + 0x10037954]
jb 0x415c83
push edi
call dword [esi + 0x1003799c]
mov ebx, eax
pop ecx
test ebx, ebx
jne 0x415cc9
push dword [esi + 0x10037954]
push dword [ebp - 8]
push edi
call dword [esi + 0x100379a0]
mov ebx, eax
add esp, 0xc
test ebx, ebx
je 0x415bf4
push dword [edi + 0xe8]
call fcn.0041bfd9
pop ecx
jmp 0x415bf4
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
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
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x405a43
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00402a40
mov dword [ebp - 0x14], eax
cmp dword [0x414e54], esi
jne 0x405b36
push 0x800
push esi
push 0x40e490
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x405ac3
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x405c16
push esi
push esi
push 0x40e490
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x405c16
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x405c16
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x414e54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x414e58], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x414e5c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x414e64], eax
test eax, eax
je 0x405b33
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x414e60], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x405b5b
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x405b4e
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x405b70
push 4
pop eax
jmp 0x405c18
cmp dword [ebp - 0x14], esi
je 0x405b70
push dword [0x414e54]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x405b55
mov eax, dword [0x414e60]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x405bce
cmp dword [0x414e64], edi
je 0x405bce
push eax
call ebx
push dword [0x414e64]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x405bce
test eax, eax
je 0x405bce
call ecx
test eax, eax
je 0x405bc3
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x405bc3
test byte [ebp - 8], 1
jne 0x405bce
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x405bfe
mov eax, dword [0x414e58]
cmp eax, edi
je 0x405bfb
push eax
call ebx
test eax, eax
je 0x405bfb
call eax
mov esi, eax
test esi, esi
je 0x405bfb
mov eax, dword [0x414e5c]
cmp eax, edi
je 0x405bfb
push eax
call ebx
test eax, eax
je 0x405bfb
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x414e54]
call ebx
test eax, eax
je 0x405c16
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x405c18
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004020a9
mov esp, ebp
pop ebp
ret
Function at 0x564520
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xff000]
push edi
jmp 0x56453a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x564541
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x564530
mov eax, 1
add ebx, ebx
jne 0x564553
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x564564
jne 0x564583
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x564583
dec eax
add ebx, ebx
jne 0x564570
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x564548
add ebx, ebx
jne 0x56457f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5645d5
xor ecx, ecx
sub eax, 3
jb 0x56459b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x56460a
sar eax, 1
mov ebp, eax
jmp 0x5645a6
add ebx, ebx
jne 0x5645a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x564574
inc ecx
add ebx, ebx
jne 0x5645b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x564574
add ebx, ebx
jne 0x5645c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5645b6
jne 0x5645d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5645b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5645f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5645e6
jmp 0x564536
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5645f4
add edi, ecx
jmp 0x564536
pop esi
mov edi, esi
mov ecx, 0x5767
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x564612
cmp byte [edi], 0x22
jne 0x564612
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x564617
lea edi, [esi + 0x161000]
mov eax, dword [edi]
or eax, eax
je 0x56468f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x167670]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x16779c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x564644
mov ecx, edi
jns 0x564673
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1677a0]
or eax, eax
je 0x564689
mov dword [ebx], eax
add ebx, 4
jmp 0x564661
call dword [esi + 0x1677b0]
mov ebp, dword [esi + 0x1677a4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
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 0x5646c3
sub esp, 0xffffff80
jmp 0x4b044d
Function at 0x414ac0
Capabilities:
Encode data using xor

Disassembly:
adc byte [esi], al
mov dword [ebx + 0x4735f40], 0x954a8e45
xchg ebp, ecx
and ch, byte [edi]
mov bl, 0x67
pop eax
cmp byte [ebx - 0x1e528d90], 0x49
fdivr qword [edx + 0x7c28ffc]
inc ebp
xor eax, 0x8f07a526
lcall 0x15ad, 0x22ce2575
jo 0x414acc
mov edx, 0xbaddd4ad
mov edx, 0x4253237
invalid
Function at 0x421640
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Resolve dns
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576a28
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x65], 0
cmp dword [eax + 0x14], 0x10
jb 0x421689
mov eax, dword [eax]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4216a9
push 0x5e37b4
lea eax, [ebp - 0x78]
mov dword [ebp - 0x78], 9
push eax
call fcn.0053d5d3
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x24], xmm0
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
push eax
lea eax, [ebp - 0x24]
push str._d._d._d._d
push eax
call fcn.00423230
add esp, 0x18
mov dword [ebp - 0x28], 0xf
cmp byte [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 0x3c], 0
jne 0x4216f6
xor ecx, ecx
jmp 0x421709
lea ecx, [ebp - 0x24]
lea edx, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x421700
sub ecx, edx
push ecx
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x3c]
call fcn.00421120
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x54]
call fcn.004242e0
mov ebx, eax
lea esi, [edi + 0xc]
cmp esi, ebx
je 0x421759
cmp dword [esi + 0x14], 8
jb 0x42173e
push dword [esi]
call fcn.0053ce38
add esp, 4
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov ecx, esi
push ebx
mov word [esi], ax
call fcn.00424aa0
cmp dword [ebp - 0x40], 8
jb 0x42176a
push dword [ebp - 0x54]
call fcn.0053ce38
add esp, 4
xor eax, eax
mov dword [ebp - 0x40], 7
mov byte [ebp - 4], al
cmp dword [ebp - 0x28], 0x10
mov dword [ebp - 0x44], 0
mov word [ebp - 0x54], ax
jb 0x421792
push dword [ebp - 0x3c]
call fcn.0053ce38
add esp, 4
mov eax, dword [edi + 8]
cmp eax, 0xffffffff
je 0x4217a1
push eax
call dword [sym.imp.WS2_32.dll_closesocket]
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x4217ca
push 0x5e37b4
lea eax, [ebp - 0x74]
mov dword [ebp - 0x74], 0xa
push eax
call fcn.0053d5d3
push 4
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x70], 0x2710
push ecx
push 0x1006
push 0xffff
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x64], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x62], ax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push 0x10
push eax
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x421834
push 0x5e37b4
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 2
push eax
call fcn.0053d5d3
mov al, 1
jmp 0x42184d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 8