Function at 0x43997a
Capabilities:
Create process on windows
Encrypt data using speck
Enumerate gui resources
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x178
push ebx
mov ebx, dword [ebp + 0x14]
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
mov eax, 0x113
xor edx, edx
push edi
mov edi, dword [ebp + 0x10]
cmp ecx, eax
mov dword [ebp - 8], edx
ja 0x439b68
cmp ecx, eax
je 0x439b41
sub ecx, 7
je 0x439b29
sub ecx, 0x15
je 0x439a61
sub ecx, 0xe4
je 0x439a30
dec ecx
je 0x4399e7
dec ecx
jne 0x43a25f
mov ecx, dword [esi + 0xc64]
cmp ecx, edx
je 0x43a25f
call fcn.0043a2e1
jmp 0x43a25f
cmp edi, 0x4d
jne 0x439a02
mov eax, dword [esi + 0xc2c]
cmp dword [eax + 0x44], edx
je 0x43a25f
xor dword [esi + 0x280], 1
cmp edi, 0x1b
jne 0x43a25f
mov ecx, dword [esi + 0xc60]
lea edi, [esi + 0xc60]
call fcn.0044b4d2
test eax, eax
je 0x43a25f
mov ecx, dword [edi]
call fcn.0044b4e9
jmp 0x43a2da
mov ecx, dword [esi + 0xc64]
cmp ecx, edx
je 0x439a40
push edi
call fcn.0044bd28
cmp edi, 0x1b
jne 0x43a25f
mov ecx, dword [esi + 0xc60]
call fcn.0044b4d2
test eax, eax
jne 0x43a2da
jmp 0x43a25f
cmp byte [0x47e075], 0
je 0x439a83
cmp edi, edx
setne al
mov byte [0x474f1c], al
mov dword [esi + 0x23c], 1
jmp 0x43a25f
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x23c]
test eax, eax
mov dword [edi], eax
jne 0x439aa1
mov ecx, dword [esi + 0xc2c]
test ecx, ecx
je 0x439aa1
call fcn.00414ecd
cmp dword [edi], 1
jne 0x43a2da
lea eax, [ebp - 0x114]
push eax
call fcn.0045c708
lea eax, [ebp - 0x114]
push eax
call fcn.0045c6fd
imul eax, eax, 0x168
mov dword [0x47e060], eax
lea eax, [ebp - 0x111]
push eax
call fcn.0045c6fd
imul eax, eax, 0x3c
add dword [0x47e060], eax
lea eax, [ebp - 0x10e]
push eax
call fcn.0045c6fd
add dword [0x47e060], eax
mov eax, dword [0x47e060]
and byte [0x47e065], 0
and byte [0x47e064], 0
mov dword [0x4749f4], eax
mov dword [0x4749f0], 6
mov ecx, dword [esi + 0x104]
add esp, 0x10
call fcn.00456ae8
jmp 0x43a2da
mov ecx, dword [esi + 0xc18]
cmp ecx, edx
je 0x43a25f
call fcn.0044b68d
jmp 0x43a25f
mov eax, edi
sub eax, 0x24
je 0x439b60
dec eax
jne 0x43a25f
push edx
push 0x4383dd
call dword [sym.imp.user32.dll_EnumWindows]
jmp 0x43a25f
push edx
push 0x43860b
jmp 0x439b55
sub ecx, 0x200
je 0x43a170
dec ecx
je 0x439e9a
dec ecx
je 0x439e50
sub ecx, 0x2fe
jne 0x43a25f
cmp byte [0x474f1a], 0
mov ebx, dword [sym.imp.ws2_32.dll_htons]
je 0x439c66
mov edi, dword [ebp + 0x10]
mov eax, dword [0x4a6210]
lea edi, [edi + edi*4]
shl edi, 0xb
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
cmp ax, 0xf007
je 0x439c66
mov eax, dword [0x4a6210]
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
cmp ax, 0xf201
je 0x439c66
mov eax, dword [0x4a6210]
mov ecx, dword [ebp + 0x10]
cmp byte [0x474f1a], 0
mov ecx, dword [eax + ecx*4]
je 0x439bf5
sub ecx, 4
lea eax, [edi + eax + 0xca]
push dword [eax + ecx]
call dword [sym.imp.ws2_32.dll_htonl]
mov dword [ebp - 4], eax
mov eax, dword [0x4a6210]
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
movzx ecx, ax
xor ecx, dword [ebp - 4]
mov eax, dword [0x4a6210]
xor ecx, 0x1212
and dword [ebp - 4], 0
mov edx, dword [ebp + 0x10]
cmp byte [0x474f1a], 0
mov edx, dword [eax + edx*4]
je 0x439c3f
sub edx, 4
cmp dword [ebp - 4], edx
jge 0x439c5a
mov ebx, dword [ebp - 4]
lea edx, [edi + eax]
movzx edx, byte [edx + ebx + 0xca]
add dword [ebp - 8], edx
inc dword [ebp - 4]
jmp 0x439c2d
cmp dword [ebp - 8], ecx
je 0x439c6d
push 7
jmp 0x439d72
mov eax, dword [0x4a6210]
jmp 0x439c73
mov ebx, dword [sym.imp.ws2_32.dll_htons]
mov ecx, dword [esi + 0x270]
test ecx, ecx
jl 0x43a25f
cmp ecx, 0xf
jg 0x43a25f
cmp dword [esi + ecx*4 + 0x290], 0
je 0x439cec
mov edi, dword [ebp + 0x10]
lea edi, [edi + edi*4]
shl edi, 0xb
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
mov edx, dword [0x4a6210]
cmp byte [0x474f1a], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + eax*4]
je 0x439cc3
sub ecx, 4
mov eax, dword [esi + 0x270]
lea edx, [edi + edx + 0xca]
push edx
mov eax, dword [esi + eax*4 + 0x290]
push dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 4]
call dword [eax + 8]
mov eax, dword [0x4a6210]
mov ecx, dword [esi + 0x230]
cmp dword [esi + 0x270], ecx
je 0x439d56
test ecx, ecx
je 0x439d56
mov edi, dword [ebp + 0x10]
lea edi, [edi + edi*4]
shl edi, 0xb
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
mov edx, dword [0x4a6210]
cmp byte [0x474f1a], 0
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [edx + eax*4]
je 0x439d2d
sub ecx, 4
mov eax, dword [esi + 0x230]
lea edx, [edi + edx + 0xca]
push edx
mov eax, dword [esi + eax*4 + 0x290]
push dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [eax]
push ecx
mov ecx, dword [ebp - 4]
call dword [eax + 8]
mov eax, dword [0x4a6210]
mov ecx, dword [ebp + 0x10]
lea edi, [ecx + ecx*4]
shl edi, 0xb
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
cmp ax, 0xe000
jne 0x439d7e
push 0xd
mov ecx, esi
call fcn.0043fd0f
jmp 0x43a2da
mov eax, dword [0x4a6210]
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
cmp ax, 0x1111
jne 0x439dfe
cmp dword [esi + 0x258], 0
je 0x439dd5
mov ecx, dword [esi + 0x254]
call fcn.00453514
mov eax, dword [esi + 0x258]
mov eax, dword [eax + 4]
test eax, eax
je 0x439dbe
push 0
push eax
call dword [sym.imp.kernel32.dll_TerminateThread]
mov ecx, dword [esi + 0x258]
test ecx, ecx
je 0x439dce
mov eax, dword [ecx]
push 1
call dword [eax]
and dword [esi + 0x258], 0
mov eax, dword [0x4a6210]
cmp byte [edi + eax + 0xca], 0
jne 0x439ded
or dword [esi + 0xca4], 0xffffffff
jmp 0x439dfe
and dword [esi + 0xca4], 0
mov dword [esi + 0xcb0], 1
mov eax, dword [0x4a6210]
mov ax, word [edi + eax + 0xc8]
push eax
call ebx
cmp ax, 0x1151
jne 0x43a25f
mov eax, dword [0x4a6210]
cmp byte [edi + eax + 0xca], 0
jne 0x43a25f
lea ecx, [esi + 0x284]
xor eax, eax
mov edx, dword [ecx]
and word [edx + eax], 0
mov edx, dword [ecx]
and dword [edx + eax + 2], 0
add eax, 6
cmp eax, 0x1770
jl 0x439e33
jmp 0x43a25f
cmp dword [esi + 0xc5c], edx
je 0x439e81
mov ecx, dword [esi + 0xc60]
call fcn.0044b4d2
test eax, eax
jne 0x439e81
cmp dword [esi + 0x100], eax
mov ecx, dword [esi + 0xc5c]
movsx eax, word [ebp + 0x16]
push eax
movsx eax, bx
push eax
call fcn.0044a7fd
movsx eax, word [ebp + 0x16]
push eax
lea ecx, [esi + 0xc68]
movsx eax, bx
push eax
call fcn.0044b039
jmp 0x43a25f
cmp dword [esi + 0xc5c], edx
mov di, word [ebp + 0x16]
je 0x439ece
mov ecx, dword [esi + 0xc60]
call fcn.0044b4d2
test eax, eax
jne 0x439ece
cmp dword [esi + 0x100], eax
mov ecx, dword [esi + 0xc5c]
movsx eax, di
push eax
movsx eax, bx
push eax
call fcn.0044a7b4
mov ecx, dword [esi + 0xc64]
test ecx, ecx
je 0x439eec
movsx eax, di
cmp dword [esi + 0x100], 0
push eax
movsx eax, bx
push eax
call fcn.0044bcc2
movsx ecx, di
movsx eax, bx
push ecx
push eax
lea ecx, [esi + 0xc68]
call fcn.0044af1e
mov eax, dword [esi + 0x270]
test eax, eax
je 0x43a25f
cmp eax, 8
je 0x43a25f
cmp eax, 0xc
je 0x43a25f
cmp eax, 0xe
je 0x43a25f
cmp eax, 6
je 0x43a25f
cmp eax, 0xd
je 0x43a25f
cmp eax, 0xf
je 0x43a25f
cmp word [ebp + 0x14], 4
mov ebx, dword [sym.imp.shell32.dll_ShellExecuteA]
mov edi, str.open
jle 0x439f9d
cmp word [ebp + 0x14], 0xa6
jge 0x439f9d
cmp word [ebp + 0x16], 4
jle 0x439f9d
cmp word [ebp + 0x16], 0x3e
jge 0x439f9d
mov eax, dword [0x4a620c]
cmp byte [eax + 0xc88], 0
je 0x439f82
cmp dword [eax + 0xc94], 0
jne 0x439f9d
movsx eax, word [ebp + 0x14]
push 1
push 0
push 0
push eax
mov ecx, 0x47e050
call fcn.0044fdfc
push eax
push edi
push 0
call ebx
cmp word [ebp + 0x14], 0xa9
jle 0x43a25f
cmp word [ebp + 0x14], 0x27d
jge 0x43a25f
cmp word [ebp + 0x16], 3
jle 0x43a25f
cmp word [ebp + 0x16], 0x3f
jge 0x43a25f
mov edx, dword [esi + 0x270]
cmp edx, 4
jne 0x43a131
lea eax, [ebp - 0x114]
push str.http:__addelivery.x2online.com_RealMedia_ads_click_lx.ads_fortress2.
push eax
call fcn.0045bf50
mov eax, dword [esi + 0x284]
mov eax, dword [eax + 0x1b60]
push dword [eax*4 + 0x4749fc]
lea eax, [ebp - 0x114]
push eax
call fcn.0045bf60
add esp, 0x10
cmp dword [esi + 0x270], 0xb
je 0x43a030
mov eax, dword [0x4a6218]
push dword [eax*4 + 0x474a3c]
lea eax, [ebp - 0x114]
push eax
call fcn.0045bf60
pop ecx
pop ecx
mov edi, 0x474e54
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0045bf60
mov eax, dword [esi + 0x270]
push dword [eax*4 + 0x474a7c]
lea eax, [ebp - 0x114]
push eax
call fcn.0045bf60
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0045bf60
add esp, 0x18
call fcn.0045b832
cdq
mov ecx, 0xffff
idiv ecx
lea eax, [ebp - 0x14]
push edx
push 0x46c608
push eax
call fcn.0045be9e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0045bf60
lea eax, [ebp - 0x114]
push str._Top_
push eax
call fcn.0045bf60
mov eax, dword [esi + 0x104]
add eax, 0x66104
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0045bf60
lea eax, [ebp - 0x114]
push edi
push eax
call fcn.0045bf60
mov eax, dword [esi + 0x104]
add eax, 0x66084
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0045bf60
add esp, 0x34
call fcn.0045b832
cdq
mov ecx, 0xffff
idiv ecx
lea eax, [ebp - 0x14]
push edx
push 0x474e48
push eax
call fcn.0045be9e
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x114]
push eax
call fcn.0045bf60
add esp, 0x14
xor eax, eax
lea ecx, [ebp - 0x114]
push 1
push eax
push eax
push ecx
push str.open
push eax
call ebx
jmp 0x43a25f
and byte [ebp - 0x178], 0
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x177]
push edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 0x47e040
stosb byte es:[edi], al
call fcn.0044ea29
push eax
lea eax, [ebp - 0x178]
push eax
call fcn.0045bf50
pop ecx
xor eax, eax
pop ecx
push 1
push eax
push eax
lea ecx, [ebp - 0x178]
jmp 0x43a123
mov ecx, dword [esi + 0xc1c]
mov di, word [ebp + 0x16]
cmp ecx, edx
je 0x43a1f7
mov eax, dword [esi + 0x270]
cmp eax, edx
je 0x43a1f7
cmp eax, 8
je 0x43a1f7
cmp eax, 0xe
je 0x43a1f7
cmp eax, 6
je 0x43a1f7
cmp eax, 0xd
je 0x43a1f7
cmp eax, 0xf
je 0x43a1f7
cmp di, 4
jle 0x43a1f4
cmp di, 0x3e
jge 0x43a1f4
cmp bx, 4
jle 0x43a1ba
cmp bx, 0xa6
jl 0x43a1c8
cmp bx, 0xa9
jle 0x43a1f4
cmp bx, 0x27d
jge 0x43a1f4
mov eax, dword [0x4a620c]
cmp dword [eax + 0xc94], edx
je 0x43a1eb
cmp byte [eax + 0xc88], 0
je 0x43a1eb
cmp bx, 4
jle 0x43a1eb
cmp bx, 0xa6
jl 0x43a1f4
mov dword [ecx + 8], 9
jmp 0x43a1f7
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0xc1c]
cmp ecx, edx
je 0x43a210
movsx eax, di
push eax
movsx eax, bx
push eax
call fcn.0045384e
xor edx, edx
mov ecx, dword [esi + 0xc5c]
cmp ecx, edx
je 0x43a22f
movsx eax, di
cmp dword [esi + 0x100], edx
push eax
movsx eax, bx
push eax
call fcn.0044a871
xor edx, edx
mov ecx, dword [esi + 0xc60]
cmp ecx, edx
je 0x43a24c
movsx eax, di
cmp dword [esi + 0x100], edx
push eax
movsx eax, bx
push eax
call fcn.0044b3f9
movsx eax, di
push eax
lea ecx, [esi + 0xc68]
movsx eax, bx
push eax
call fcn.0044b096
mov ecx, dword [esi + 0xc54]
xor edi, edi
cmp ecx, edi
je 0x43a279
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.004381d6
mov ecx, dword [esi + 0xc2c]
cmp ecx, edi
je 0x43a291
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.0045389b
mov eax, dword [esi + 0x270]
cmp eax, edi
jl 0x43a2da
cmp eax, 0xf
jg 0x43a2da
mov ecx, dword [esi + eax*4 + 0x290]
cmp ecx, edi
je 0x43a2d1
cmp dword [esi + 0x230], edi
jne 0x43a2d1
cmp dword [esi + 0x240], edi
jne 0x43a2d1
cmp dword [esi + 0x27c], edi
jne 0x43a2d1
push dword [ebp + 0x14]
mov eax, dword [ecx]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [eax + 4]
mov eax, dword [esi + 0x230]
mov dword [ebp + 0x14], eax
pop edi
pop esi
pop ebx
leave
ret 0x10