joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a72f
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x4afad6
call fcn.0043538a
mov edi, ecx
call fcn.00444280
cmp dword [ebp + 8], 0
mov edx, eax
je 0x44a788
mov ecx, dword [0x4e8960]
mov dword [ebp - 0x10], ecx
and dword [ebp - 4], 0
lea eax, [ebp - 0x14]
mov esi, dword [edx + 0x18]
mov ecx, edx
push str.DlgCaption2
push str.ProgressDlg
push eax
call fcn.00444200
mov byte [ebp - 4], 1
push esi
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0040240b
add esp, 0xc
mov byte [ebp - 4], 0
jmp 0x44a7c6
mov eax, dword [0x4e8960]
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x14]
mov esi, dword [edx + 0x18]
mov ecx, edx
push 0x4b9b3c
push str.ProgressDlg
push eax
call fcn.00444200
mov byte [ebp - 4], 3
push esi
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0040240b
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004019df
push dword [ebp - 0x10]
lea esi, [edi + 4]
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004019df
push 3
xor eax, eax
push eax
push eax
push eax
push eax
push 0xffffffffffffffff
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ecx
mov ecx, esi
call fcn.0040e044
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebp + 8], 0
jne 0x44a82b
push 0
push 0xbb8
push 1
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
push 0
push 0xc8
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_SetTimer]
and dword [edi + 0x50], 0
call fcn.00435353
ret 8
Function at 0x44c820
Capabilities:
Hide graphical window

Disassembly:
push 0x5c
mov eax, 0x4aff10
call fcn.0043538a
mov ebx, ecx
call fcn.00444280
movzx esi, word [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, 0x201
cmp si, ax
je 0x44c856
add eax, 2
cmp si, ax
je 0x44c856
mov eax, 0x405
cmp si, ax
jne 0x44c86c
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 5
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 0x204
cmp si, ax
jne 0x44c9cc
and dword [ebp - 0x2c], 0
lea eax, [ebp - 0x2c]
and dword [ebp - 0x28], 0
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 0xd6
push dword [0x4e99a8]
call dword [sym.imp.USER32.dll_LoadMenuW]
mov esi, eax
mov dword [ebp - 0x20], esi
and dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push 2
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d9f6
mov byte [ebp - 4], 1
mov edi, dword [eax]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 3
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push str.PopupShow
push str.ResendDlg
push eax
call fcn.00444200
mov byte [ebp - 4], 6
lea eax, [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
push str.PopupExit
push str.ResendDlg
push eax
call fcn.00444200
mov byte [ebp - 4], 7
lea eax, [ebp - 0x68]
push 0x30
push 0
push eax
call fcn.00415710
add esp, 0xc
mov dword [ebp - 0x68], 0x30
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x64], 0x40
push 0
call fcn.00402bdb
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0x8013
push edi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push 0
lea ecx, [ebp - 0x18]
call fcn.00402bdb
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0x8012
push edi
call dword [sym.imp.USER32.dll_SetMenuItemInfoW]
push ecx
push dword [ebx + 4]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0040da2b
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x18]
call fcn.004019df
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1c]
call fcn.004019df
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x38]
call fcn.00401a38
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x44c9b3
push edi
call dword [sym.imp.USER32.dll_DestroyMenu]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
mov dword [ebp - 0x10], edi
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x44c9cc
push esi
call dword [sym.imp.USER32.dll_DestroyMenu]
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov dword [ebp - 0x20], esi
xor eax, eax
call fcn.00435353
ret 0x10
Function at 0x44d2b0
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4b006f
call fcn.0043538a
mov esi, ecx
call fcn.00444280
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0043e1d0
xor ecx, ecx
mov dword [ebp - 4], ecx
push 5
push ecx
push ecx
push dword [eax]
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.004019df
xor eax, eax
call fcn.00435353
ret 0x10

Function at 0x44d300
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_KillTimer]
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 0x10

Function at 0x44dbb0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [esp + 0x10], 0
push esi
mov esi, ecx
mov dword [esp + 4], esi
je 0x44dc21
mov eax, dword [esp + 0x10]
push ebx
push edi
push 3
pop ecx
cdq
idiv ecx
mov ebx, eax
push ebx
call fcn.00413953
mov edi, eax
pop ecx
test ebx, ebx
jle 0x44dc08
push ebp
mov ebp, dword [esp + 0x18]
inc ebp
xor esi, esi
movzx ecx, byte [ebp + 1]
xor edx, edx
movzx eax, byte [ebp - 1]
add eax, ecx
movzx ecx, byte [ebp]
add eax, ecx
push 3
pop ecx
div ecx
add ebp, ecx
mov byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x44dbe2
mov esi, dword [esp + 0x10]
pop ebp
push dword [esi + 0x3c]
push 1
push ebx
push edi
call fcn.0041f47b
push edi
call fcn.00413923
add esp, 0x14
pop edi
pop ebx
jmp 0x44dc36
push dword [esi + 0x3c]
push 1
push dword [esp + 0x18]
push dword [esp + 0x18]
call fcn.0041f47b
add esp, 0x10
xor eax, eax
inc eax
pop esi
pop ecx
ret 0xc
Function at 0x44dc40
Capabilities:
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x4b01ad
call fcn.004353be
xor esi, esi
mov dword [ebp - 4], esi
lea ebx, [ecx + 0x3c]
push 0x4bb164
push esi
lea ecx, [ebp + 0x14]
mov dword [ebx], esi
call fcn.00402bdb
push eax
push ebx
call fcn.0041cc26
add esp, 0xc
cmp dword [ebx], esi
je 0x44dd1e
mov esi, dword [ebp + 0x10]
mov eax, 0x4d42
mov edx, dword [ebp + 8]
xor edi, edi
mov word [ebp - 0x20], ax
inc edi
xor eax, eax
test esi, esi
push 3
pop ecx
cmovne ecx, edi
mov dword [ebp - 0x1a], eax
imul ecx, edx
mov eax, ecx
and eax, reloc.WS2_32.dll_closesocket
jns 0x44dca6
dec eax
or eax, 0xfffffffc
inc eax
add eax, ecx
mov dword [ebp - 0x16], 0x36
mov ecx, dword [ebp + 0xc]
imul eax, ecx
push 0x18
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x48], 0x28
mov dword [ebp - 0x44], edx
add eax, 0x36
mov word [ebp - 0x3c], di
mov dword [ebp - 0x1e], eax
test esi, esi
pop eax
push 8
pop ecx
push dword [ebx]
cmovne eax, ecx
xor esi, esi
mov word [ebp - 0x3a], ax
mov eax, 0xec4
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x20]
push 0xe
push eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.0041f47b
add esp, 0x10
cmp eax, edi
jne 0x44dd1e
push dword [ebx]
lea eax, [ebp - 0x48]
push edi
push 0x28
push eax
call fcn.0041f47b
add esp, 0x10
cmp eax, edi
je 0x44dd20
mov edi, esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x14]
call fcn.004019df
mov eax, edi
call fcn.00435368
ret 0x10
Function at 0x44e840
Capabilities:
Enumerate gui resources

Disassembly:
push 0x4c
mov eax, 0x4b0368
call fcn.004353be
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 4], ebx
xor eax, eax
inc eax
cmp dword [ebp + 0x10], eax
jne 0x44e8d7
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], ebx
mov byte [ebp - 4], al
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x48]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0x44da50
mov dword [ebp - 0x18], ebx
call dword [sym.imp.USER32.dll_EnumWindows]
lea ecx, [ebp - 0x48]
call fcn.0044d970
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
sub eax, ecx
push 0x1c
cdq
pop edi
idiv edi
test eax, eax
je 0x44e8cc
lea eax, [ecx + 4]
push eax
lea ecx, [ebp - 0x54]
call fcn.004114b7
push dword [ebp - 0x48]
lea ecx, [esi + 0x2c]
call fcn.0041158d
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x48]
jmp 0x44e973
cmp dword [ebp + 0x10], 2
jne 0x44e97a
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
push 0x44da50
call dword [sym.imp.USER32.dll_EnumWindows]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
mov ebx, dword [ebp - 0x28]
mov eax, ebx
sub eax, edi
push 0x1c
pop ecx
cdq
idiv ecx
mov dword [ebp - 0x58], ecx
test eax, eax
jle 0x44e957
xor esi, esi
lea eax, [edi + 4]
add eax, esi
lea ecx, [ebp - 0x54]
push eax
call fcn.004114b7
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
push 0x1c
pop eax
add esi, eax
mov ecx, dword [ebp - 0x30]
mov eax, ebx
inc ecx
sub eax, edi
mov dword [ebp - 0x30], ecx
cdq
idiv dword [ebp - 0x58]
cmp ecx, eax
jl 0x44e928
mov esi, dword [ebp - 0x34]
lea ecx, [esi + 0x2c]
lea eax, [ebp - 0x2c]
cmp ecx, eax
je 0x44e96b
push dword [ebp - 0x3c]
push ebx
push edi
call fcn.004047e2
xor ebx, ebx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2c]
call fcn.00403a0d
jmp 0x44e996
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x20], xmm0
call fcn.0044e0f0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x54]
call fcn.004114b7
lea eax, [esi + 0x10]
mov dword [esi], 1
push eax
call fcn.0044e0f0
lea eax, [esi + 8]
push eax
call fcn.00417e43
pop ecx
lea eax, [esi + 0x20]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x24]
push ecx
mov ecx, esp
mov dword [ebp - 0x34], esp
push dword [ebp - 0x38]
call fcn.00402ae6
mov byte [ebp - 4], 7
sub esp, 0xc
lea eax, [ebp - 0x54]
mov dword [ebp - 0x38], esp
mov ecx, esp
push eax
call fcn.00411502
mov byte [ebp - 4], 8
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x3c]
call fcn.0044e660
xor ebx, ebx
test eax, eax
setne bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004114e0
mov eax, ebx
call fcn.00435368
ret 0x20
Function at 0x44ea40
Capabilities:
Read file on windows

Disassembly:
push 0x30
mov eax, 0x4b03ad
call fcn.004353be
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
push 2
pop ebx
mov byte [ebp - 4], bl
mov ecx, dword [ebp + 8]
call fcn.00436e59
mov esi, eax
test esi, esi
jns 0x44ea79
xor ebx, ebx
inc ebx
jmp 0x44eaf5
push esi
call fcn.00413953
and dword [ebp - 0x2c], 0
mov edi, eax
mov dword [esp], 0x4b9440
lea eax, [ebp - 0x2c]
push dword [ebp + 8]
push eax
call fcn.0041cc26
add esp, 0xc
cmp dword [ebp - 0x2c], 0
je 0x44eaee
push dword [ebp - 0x2c]
push 1
push esi
push edi
call fcn.0041e91c
add esp, 0x10
cmp eax, 1
jne 0x44eaee
push dword [ebp - 0x2c]
call fcn.0041ca0d
push ecx
push esi
mov edx, edi
lea ecx, [ebp - 0x28]
call fcn.00437e58
add esp, 0xc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x30]
push eax
call fcn.0040f3a3
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x28]
call fcn.00403129
push edi
call fcn.00413923
xor ebx, ebx
jmp 0x44eaf4
push edi
call fcn.00413923
pop ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.00401a38
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004019df
mov eax, ebx
call fcn.00435368
ret 8
Function at 0x44eb60
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push 0x1c
mov eax, 0x4b0447
call fcn.0043538a
mov eax, ecx
mov dword [ebp - 0x10], eax
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 1
mov ecx, dword [eax + 0x14]
call fcn.00437ae6
or ebx, 0xffffffff
test al, al
je 0x44eb9c
mov edi, ebx
jmp 0x44ed26
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
test ecx, ecx
je 0x44ecdb
mov edi, ecx
lea edx, [edi + 2]
mov ax, word [edi]
add edi, 2
cmp ax, word [ebp - 0x18]
jne 0x44ebaf
sub edi, edx
push ecx
lea ecx, [ebp - 0x28]
sar edi, 1
call fcn.00403677
xor ecx, ecx
push ecx
push edi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
mov edi, eax
cmp edi, ebx
jne 0x44ec77
mov eax, dword [0x4e8960]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x14]
push ebx
push str.Send_error:__d
push eax
call fcn.0040240b
mov esi, dword [ebp - 0x10]
add esp, 0xc
xor eax, eax
mov esi, dword [esi + 0x14]
push 1
push eax
push ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00437bfa
mov eax, dword [0x4e8960]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x10]
push 1
mov esi, dword [eax + 0x14]
xor eax, eax
push eax
push ecx
lea eax, [ebp - 0x18]
mov dword [ebp - 0x1c], esp
mov ecx, esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 5
mov byte [ebp - 4], 4
mov ecx, esi
call fcn.00437bfa
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.004019df
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004019df
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x44ed26
xor edi, edi
jmp 0x44ecdb
push esi
lea ecx, [ebp - 0x14]
call fcn.00401f8f
mov byte [ebp - 4], 7
xor edi, edi
mov eax, dword [ebp - 0x10]
push 1
push edi
push ecx
mov esi, dword [eax + 0x14]
mov ecx, esp
lea eax, [ebp - 0x14]
mov dword [ebp - 0x1c], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 8
mov byte [ebp - 4], 7
mov ecx, esi
call fcn.00437bfa
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x44eccf
mov ecx, esi
call fcn.0044ede0
mov edi, eax
cmp edi, ebx
jne 0x44ed3b
xor edi, edi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004019df
push dword [ebp + 0x14]
push edi
push esi
call fcn.00415710
add esp, 0xc
push edi
push dword [ebp + 0x14]
push esi
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
cmp edi, ebx
jne 0x44ec83
mov eax, dword [ebp - 0x10]
push 1
mov esi, dword [eax + 0x14]
xor eax, eax
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.Receive_error
call fcn.00402ae6
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
mov ecx, esi
call fcn.00437bfa
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x28]
call fcn.00401a38
mov eax, edi
call fcn.00435353
ret 0x10
cmp edi, 0xfffffffe
cmove edi, ebx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004019df
jmp 0x44ed26
Function at 0x450250
Capabilities:
Resolve dns

Disassembly:
push 0x1c
mov eax, 0x4b0775
call fcn.0043538a
mov edi, ecx
push dword [ebp + 8]
and dword [ebp - 0x10], 0
lea ecx, [ebp - 0x1c]
call fcn.00402ae6
and dword [ebp - 4], 0
mov eax, dword [0x4e8960]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov esi, dword [ebp - 0x1c]
cmp dword [esi - 8], 0
jle 0x450294
push 0x40
push esi
call fcn.00414ee6
pop ecx
pop ecx
test eax, eax
jne 0x450299
or eax, 0xffffffff
jmp 0x45029d
sub eax, esi
sar eax, 1
inc eax
lea ecx, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00402ca9
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push eax
call fcn.00402d8e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.004019df
mov eax, dword [0x4e8960]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
lea eax, [ebp - 0x14]
push dword [ebp - 0x18]
push str.Quering_MX_record_of_domain__s
push eax
call fcn.0040240b
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x14]
add esp, 0xc
push 1
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 4
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
xor ecx, ecx
lea eax, [ebp - 0x10]
push ecx
push eax
push ecx
push ecx
push 0xf
pop eax
push eax
push dword [ebp - 0x18]
call dword [sym.imp.DNSAPI.dll_DnsQuery_W]
mov ecx, dword [ebp - 0x10]
mov esi, ecx
test eax, eax
jne 0x45038a
test esi, esi
je 0x45037d
push 0xf
pop edi
cmp word [ecx + 8], di
jne 0x450374
push dword [ecx + 0x18]
lea ecx, [ebp - 0x20]
call fcn.00402ae6
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
add eax, 0x1c
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00411c88
lea ecx, [ebp - 0x20]
push ecx
mov ecx, dword [eax]
add ecx, 0x14
call fcn.00402d8e
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call fcn.004019df
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
test ecx, ecx
jne 0x45032f
push 1
push esi
call dword [sym.imp.DNSAPI.dll_DnsFree]
xor esi, esi
jmp 0x4503c4
push eax
lea eax, [ebp - 0x14]
push str.DNS_query_failed_with_code__d
push eax
call fcn.0040240b
mov esi, dword [edi + 0x14]
lea eax, [ebp - 0x14]
add esp, 0xc
push 1
push 2
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040180b
mov byte [ebp - 4], 6
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.00437bfa
xor esi, esi
inc esi
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004019df
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004019df
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.004019df
mov eax, esi
call fcn.00435353
ret 8
Function at 0x450860
Capabilities:
Initialize winsock library

Disassembly:
push 0x19c
mov eax, 0x4b09b0
call fcn.004353be
mov esi, ecx
mov dword [ebp - 0x1a4], esi
mov dword [ebp - 0x1a8], esi
mov eax, dword [0x4e8960]
mov dword [esi], eax
and dword [ebp - 4], 0
mov eax, dword [0x4e8960]
mov dword [esi + 8], eax
mov byte [ebp - 4], 1
mov eax, dword [0x4e8960]
mov dword [esi + 0xc], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1a0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
and dword [esi + 0x14], 0
and dword [esi + 0x10], 0
mov dword [esi + 4], 0x19
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.00435368
ret

Function at 0x450b30
Capabilities:
Create thread

Disassembly:
mov eax, dword [esp + 8]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 4]
mov dword [ecx + 0x10], eax
xor eax, eax
push eax
push eax
push ecx
push 0x450610
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
inc eax
ret 8
Function at 0x4526c0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x38
push ebx
push ebp
lea eax, [ecx - 1]
mov dword [esp + 0x14], edx
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 8
push edi
xor ecx, ecx
movzx eax, byte [eax + ecx]
mov dword [esp + ecx*4 + 0x20], eax
inc ecx
mov eax, dword [esp + 0x10]
cmp ecx, 0xa
jl 0x4526dc
xor esi, esi
xor edi, edi
xor ecx, ecx
mov eax, dword [esp + ecx*4 + 0x24]
sub eax, dword [esp + ecx*4 + 0x20]
cdq
xor eax, edx
sub eax, edx
add edi, eax
mov eax, dword [esp + ecx*4 + 0x34]
sub eax, dword [esp + ecx*4 + 0x38]
cdq
xor eax, edx
sub eax, edx
add esi, eax
inc ecx
cmp ecx, 4
jl 0x4526f4
mov edx, dword [esp + 0x54]
mov ecx, dword [edx]
lea eax, [ecx - 0xff]
add eax, edi
cmp edi, 0xff
cmovl ecx, eax
add ecx, 0xff
mov dword [edx], ecx
mov ecx, dword [edx + 4]
lea eax, [ecx - 0xff]
add eax, esi
cmp esi, 0xff
cmovl ecx, eax
add ecx, 0xff
mov dword [edx + 4], ecx
cmp edi, dword [esp + 0x50]
jge 0x452844
cmp esi, dword [esp + 0x50]
jge 0x452844
mov ebx, dword [esp + 0x34]
mov eax, ebx
mov ebp, dword [esp + 0x30]
sub eax, ebp
cmp eax, dword [esp + 0x4c]
jge 0x452844
mov eax, ebp
sub eax, ebx
cmp eax, dword [esp + 0x4c]
jge 0x452844
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x10]
imul eax, edi, 3
add eax, edx
lea eax, [eax + esi*2]
add esi, 4
add eax, 4
add eax, ecx
add eax, ebp
sar eax, 3
mov byte [ebx + 1], al
lea eax, [edx + edi]
mov ebx, dword [esp + 0x34]
lea eax, [ecx + eax*2]
mov ecx, dword [esp + 0x10]
add eax, esi
add eax, ebx
add eax, ebp
sar eax, 3
xor edx, edx
mov byte [ecx + 2], al
lea esi, [ecx + 3]
mov ecx, dword [esp + edx*4 + 0x2c]
mov eax, dword [esp + edx*4 + 0x38]
lea eax, [eax + ecx*2]
add eax, 4
add eax, dword [esp + edx*4 + 0x20]
add eax, dword [esp + edx*4 + 0x24]
add eax, dword [esp + edx*4 + 0x28]
add eax, dword [esp + edx*4 + 0x34]
add eax, dword [esp + edx*4 + 0x30]
sar eax, 3
mov byte [esi], al
inc esi
inc edx
cmp edx, 4
jl 0x4527d7
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x18], esi
lea eax, [edi + 2]
add eax, dword [esp + 0x44]
lea eax, [edx + eax*2]
add eax, ecx
add eax, ebx
add eax, ebp
mov ebp, esi
sar eax, 3
mov byte [ebp], al
imul eax, dword [esp + 0x44], 3
add eax, edx
lea eax, [eax + ecx*2]
add eax, 4
add eax, edi
add eax, ebx
sar eax, 3
mov byte [ebp + 1], al
mov eax, dword [esp + 0x10]
add eax, dword [esp + 0x1c]
sub dword [esp + 0x14], 1
mov dword [esp + 0x10], eax
jne 0x4526da
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
Function at 0x452870
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x3c
push ebx
push ebp
push esi
push edi
mov edi, edx
mov eax, ecx
mov dword [esp + 0x10], edi
xor ebp, ebp
mov dword [esp + 0x20], eax
lea ecx, [eax + edi]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x50]
lea ebx, [eax + ebp]
add edx, ebp
mov dword [esp + 0x18], ebx
xor ecx, ecx
movzx eax, byte [edx]
add edx, dword [esp + 0x54]
mov dword [esp + ecx*4 + 0x24], eax
inc ecx
cmp ecx, 0xa
jl 0x45289b
xor esi, esi
xor ecx, ecx
xor edi, edi
mov eax, dword [esp + edi*4 + 0x28]
sub eax, dword [esp + edi*4 + 0x24]
cdq
xor eax, edx
sub eax, edx
add ecx, eax
mov eax, dword [esp + edi*4 + 0x38]
sub eax, dword [esp + edi*4 + 0x3c]
cdq
xor eax, edx
sub eax, edx
add esi, eax
inc edi
cmp edi, 4
jl 0x4528b2
mov edi, dword [esp + 0x60]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0x14]
mov ecx, dword [edi]
lea eax, [edx - 0xff]
add eax, ecx
cmp edx, 0xff
cmovl ecx, eax
add ecx, 0xff
mov dword [edi], ecx
mov edi, dword [esp + 0x64]
mov ecx, dword [edi]
lea eax, [ecx - 0xff]
add eax, esi
cmp esi, 0xff
cmovl ecx, eax
add ecx, 0xff
mov dword [edi], ecx
mov edi, dword [esp + 0x10]
cmp edx, dword [esp + 0x5c]
jge 0x452a19
cmp esi, dword [esp + 0x5c]
jge 0x452a19
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x34]
cmp eax, dword [esp + 0x58]
jge 0x452a19
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x38]
cmp eax, dword [esp + 0x58]
jge 0x452a19
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
imul eax, ebx, 3
mov esi, dword [esp + 0x10]
add eax, dword [esp + 0x2c]
lea eax, [eax + edi*2]
add eax, 4
add eax, ecx
add eax, dword [esp + 0x34]
sar eax, 3
mov byte [edx], al
lea eax, [ebx + 2]
add eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
add edx, ebp
lea eax, [ecx + eax*2]
add eax, edi
add eax, dword [esp + 0x38]
lea ebx, [edx + esi]
add eax, dword [esp + 0x34]
sar eax, 3
mov byte [edx], al
xor edx, edx
mov ecx, dword [esp + edx*4 + 0x30]
mov eax, dword [esp + edx*4 + 0x3c]
lea eax, [eax + ecx*2]
add eax, 4
add eax, dword [esp + edx*4 + 0x24]
add eax, dword [esp + edx*4 + 0x28]
add eax, dword [esp + edx*4 + 0x2c]
add eax, dword [esp + edx*4 + 0x38]
add eax, dword [esp + edx*4 + 0x34]
sar eax, 3
mov byte [ebx], al
add ebx, esi
inc edx
cmp edx, 4
jl 0x4529a8
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
lea eax, [edi + 2]
add edi, 4
add eax, dword [esp + 0x48]
lea eax, [edx + eax*2]
add eax, ecx
add eax, dword [esp + 0x38]
add eax, dword [esp + 0x34]
sar eax, 3
mov byte [ebx], al
imul eax, dword [esp + 0x48], 3
add eax, edx
lea eax, [eax + ecx*2]
add eax, edi
mov edi, esi
add eax, dword [esp + 0x38]
sar eax, 3
mov byte [ebx + edi], al
jmp 0x452a2a
xor ecx, ecx
inc ecx
mov al, byte [esp + ecx*4 + 0x24]
mov byte [ebx], al
add ebx, edi
inc ecx
cmp ecx, 8
jle 0x452a1c
mov eax, dword [esp + 0x20]
inc ebp
cmp ebp, 8
jl 0x45288c
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret