joyce8/EMBER2024-capa huggingface dataset:
Function at 0x456e30
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x456e47
add esp, 0xfffffff0
call fcn.00403b44
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00419ec4
mov eax, dword [0x45d9fc]
cmp word [eax + 2], 0
jne 0x456e6f
mov eax, dword [0x45d9fc]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004588e0
mov eax, dword [0x45daa8]
cmp word [eax + 2], 0
jne 0x456e89
mov eax, dword [0x45daa8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00458aec
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x411cc0]
call fcn.00403808
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x411cc0]
call fcn.00403808
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x411cc0]
call fcn.00403808
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41e2b4]
call fcn.00424200
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x457040
mov eax, dword [0x45d91c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004245d4
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4591ac
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45d91c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c7f8
test eax, eax
je 0x456f90
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408aa0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c82c
test eax, eax
je 0x456fa4
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004048bc
mov byte [ebx + 0xd4], 0
push ebx
push 0x458440
call fcn.0041b054
mov dword [ebx + 0xc8], eax
mov eax, dword [0x45d810]
cmp byte [eax], 0
jne 0x456ff5
mov eax, ebx
call fcn.00457184
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00459388
mov eax, ebx
call fcn.00459ee8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457035
call fcn.00403b9c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457404
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x46157c]
cmp dword [eax + 0x30], 0
je 0x4574ae
cmp dword [ebx + 0x94], 0
jne 0x4574a8
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457394
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4574a8
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45746e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4574a8
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.0041406c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45747d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4581c8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4581fd
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0040473c
jmp 0x45820a
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004046a0
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45956c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4595da
mov eax, esi
call fcn.00443c94
test al, al
je 0x4595da
mov eax, dword [ebx + 0x84]
call fcn.004438f4
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4595da
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4595ce
push 0
mov eax, dword [ebx + 0x84]
call fcn.004438f4
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0043bce0
jmp 0x4595da
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004593a8
pop esi
pop ebx
ret

Function at 0x45a658
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
xor ecx, ecx
mov edx, 4
lea eax, [ebp - 4]
xor cl, byte [eax]
inc eax
dec edx
jne 0x45a669
xor cl, 0x55
mov eax, ecx
pop ecx
pop ebp
ret
Function at 0x402750
Capabilities:
Create process on windows

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x438996
push eax
mov eax, dword [esp + 0x10]
mov dword fs:[0], esp
sub esp, 0x45c
cmp eax, 8
push esi
mov esi, ecx
jge 0x402821
mov ecx, dword [0x45a268]
mov dword [esp + 4], ecx
cmp eax, 7
mov dword [esp + 0x468], 0
ja case.default.0x402795
jmp dword [eax*4 + 0x4029e0]
push str.http:__qyw.meibu.com_reg.htm
jmp 0x4027d2
push str.http:__qyw.meibu.com_mmxg_index.htm
jmp 0x4027d2
push str.http:__qyw.meibu.com_yxzs_index.htm
jmp 0x4027d2
push str.http:__qyw.meibu.com_qxxt_index.htm
jmp 0x4027d2
push str.http:__qyw.meibu.com_index2.htm
jmp 0x4027d2
push str.http:__qyw.meibu.com_rwxx_index.htm
jmp 0x4027d2
push 0x4583b4
jmp 0x4027d2
push str.http:__qyw.meibu.com_index.asp...
lea ecx, [esp + 8]
call fcn.0042cde7
mov edx, dword [esp + 4]
push 1
push 0
push 0
push edx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [esp + 4]
mov dword [esp + 0x468], 0xffffffff
call fcn.0042cca2
xor eax, eax
mov ecx, dword [esp + 0x460]
pop esi
mov dword fs:[0], ecx
add esp, 0x468
ret 4
jne 0x40282c
mov ecx, esi
call fcn.004020e0
jmp 0x402807
cmp eax, 9
jne 0x402842
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc8]
mov eax, 1
jmp 0x402809
cmp eax, 0xa
jne 0x402807
xor ecx, ecx
xor eax, eax
push ecx
push ecx
push eax
push ecx
lea ecx, [esi + 0x124]
call fcn.00403550
push 0
mov ecx, esi
call fcn.0043045c
push 0
lea ecx, [esp + 0xc]
call fcn.00403940
lea ecx, [esp + 8]
mov dword [esp + 0x468], 1
call fcn.0042c62b
push 1
mov ecx, esi
call fcn.0043045c
lea ecx, [esp + 0x424]
mov dword [esp + 0x468], 0x10
call fcn.0043414a
lea ecx, [esp + 0x3e8]
mov byte [esp + 0x468], 0xf
call fcn.0043414a
lea ecx, [esp + 0x3ac]
mov byte [esp + 0x468], 0xe
call fcn.0043414a
lea ecx, [esp + 0x370]
mov byte [esp + 0x468], 0xd
call fcn.0043414a
lea ecx, [esp + 0x334]
mov byte [esp + 0x468], 0xc
call fcn.0043414a
lea ecx, [esp + 0x2f8]
mov byte [esp + 0x468], 0xb
call fcn.0043414a
lea ecx, [esp + 0x2bc]
mov byte [esp + 0x468], 0xa
call fcn.0043414a
lea ecx, [esp + 0x280]
mov byte [esp + 0x468], 9
call fcn.0043414a
lea ecx, [esp + 0x244]
mov byte [esp + 0x468], 8
call fcn.0043414a
lea ecx, [esp + 0x208]
mov byte [esp + 0x468], 7
call fcn.0043414a
lea ecx, [esp + 0x1cc]
mov byte [esp + 0x468], 6
call fcn.0043414a
lea ecx, [esp + 0x190]
mov byte [esp + 0x468], 5
call fcn.0043414a
lea ecx, [esp + 0x154]
mov byte [esp + 0x468], 4
call fcn.0043414a
lea ecx, [esp + 0x118]
mov byte [esp + 0x468], 3
call fcn.0043414a
push fcn.004034b0
mov byte [esp + 0x46c], 2
push 8
lea ecx, [esp + 0x6c]
push 0x14
push ecx
call fcn.0041c8f0
lea ecx, [esp + 8]
mov dword [esp + 0x468], 0xffffffff
call fcn.0042c309
mov eax, 1
jmp 0x402809
Function at 0x469f40
Capabilities:
Query environment variable
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5ff0
push 0x4869d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
cmp dword [ebp + 0xc], 1
jne 0x46a033
push 0x20
push 0
push 0x4a7240
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [0x4a7258], eax
mov ecx, dword [0x4a7258]
mov dword [0x4a7228], ecx
mov dword [0x4a7240], 2
mov edx, dword [0x4a4290]
xor edx, dword [0x4a42a4]
xor edx, dword [0x4a42a8]
and edx, 0x40000
test edx, edx
je 0x46a029
mov al, byte [0x4a7234]
mov byte [ebp - 0x58], al
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x57]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x40
lea ecx, [ebp - 0x58]
push ecx
push str.INITIALIZEDLLADDR
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x469ff9
lea edx, [ebp - 0x58]
push edx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x4a746c], eax
push fcn.0046bb42
push 0x4a421c
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x58]
push ecx
push str.INITIALIZEDLLADDR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, 1
jmp 0x46a137
call fcn.0046bb42
jmp 0x46a137
cmp dword [ebp + 0xc], 0
jne 0x46a0ef
mov edx, dword [0x4a4290]
xor edx, dword [0x4a42a4]
xor edx, dword [0x4a42a8]
and edx, 0x40000
test edx, edx
je 0x46a070
push 0
push str.INITIALIZEDLLADDR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov eax, 1
jmp 0x46a137
mov dword [ebp - 4], 0
mov dword [ebp - 0x5c], 1
cmp dword [0x4a725c], 0
je 0x46a0bc
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [0x4a725c]
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], 0
jmp 0x46a0bc
call fcn.0046bb19
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x64]
jmp 0x46a137
mov dword [ebp - 0x60], 1
cmp dword [0x4a725c], 0
je 0x46a134
mov dword [ebp - 4], 2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [0x4a725c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x46a134
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x46b094
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x24]
add ecx, 0xf8
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x78]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x1c]
add edx, dword [ecx + 0x20]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + 0x24]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + 0x1c]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
jmp 0x46b100
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x18]
jae 0x46b14a
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x46b148
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x20]
xor edx, edx
mov dx, word [ecx + eax*2]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
add ecx, dword [eax + edx*4]
mov eax, ecx
jmp 0x46b14c
jmp 0x46b0f7
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x46bb42
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push 0
push str.INITIALIZEDLLADDR
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
cmp dword [0x4a746c], 0
je 0x46bb81
mov eax, dword [0x4a746c]
mov dword [ebp - 8], eax
mov dword [0x4a746c], 0
call dword [ebp - 8]
test eax, eax
jne 0x46bb81
xor eax, eax
jmp 0x46bc41
call fcn.0046ba70
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jne 0x46bbcf
cmp dword [0x4a725c], 0
je 0x46bbc8
push 0x4a7480
push 1
mov ecx, dword [0x4a7228]
push ecx
call dword [0x4a725c]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46bbc1
call fcn.0046bb19
xor eax, eax
jmp 0x46bc41
mov eax, 1
jmp 0x46bc41
mov eax, 1
jmp 0x46bc41
cmp dword [ebp - 4], 0
jne 0x46bc3f
call fcn.0046a171
push eax
lea edx, [ebp - 0x108]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
call fcn.0046a182
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
je 0x46bc25
push 0x4a454c
lea eax, [ebp - 0x108]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
call fcn.0046a182
push eax
lea ecx, [ebp - 0x108]
push ecx
call sub.MSVCRT.dll_strcat
add esp, 8
push 0x40010
push 0
lea edx, [ebp - 0x108]
push edx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x46bc41
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x47c28e
Capabilities:
Resume thread
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
push ecx
call fcn.00477aef
add esp, 4
and eax, 0xff
test eax, eax
je 0x47c317
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push 0x2cc
push 0
lea eax, [ebp - 0x2cc]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x2cc], 0x10001
lea ecx, [ebp - 0x2cc]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x47c315
mov ecx, dword [ebp - 0x214]
cmp ecx, dword [ebp + 0xc]
jne 0x47c315
jmp 0x47c317
jmp 0x47c297
mov esp, ebp
pop ebp
ret

Function at 0x47c7ce
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
movsx eax, byte [0x4a7758]
test eax, eax
jne 0x47c7e2
call fcn.0047c714
xor ecx, ecx
mov cl, byte [0x4a7755]
test ecx, ecx
jne 0x47c869
xor edx, edx
mov dl, byte [0x4a7754]
test edx, edx
jne 0x47c869
cmp dword [0x4a785c], 0
je 0x47c844
mov eax, dword [ebp + 0xc]
push eax
push 0
push 0x180
mov ecx, dword [0x4a785c]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 4], eax
push 0
mov edx, dword [ebp - 4]
push edx
push 0x186
mov eax, dword [0x4a785c]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [0x4a785c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
jmp 0x47c869
push 0x10001
push 0x4a7758
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 2
jne 0x47c869
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov esp, ebp
pop ebp
ret
Function at 0x47f84a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x47f85a
xor eax, eax
jmp 0x47fa23
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov dword [ebp + 8], eax
cmp dword [ebp + 0x10], 8
jb 0x47f9db
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x4a6164]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 8
mov dword [ebp + 0x10], ecx
jmp 0x47f863
cmp dword [ebp + 0x10], 0
je 0x47fa1d
mov edx, dword [ebp + 0xc]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp + 8]
xor ecx, eax
and ecx, 0xff
mov edx, dword [ebp + 8]
shr edx, 8
mov eax, dword [ecx*4 + 0x4a6164]
xor eax, edx
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 0x10]
sub edx, 1
mov dword [ebp + 0x10], edx
cmp dword [ebp + 0x10], 0
jne 0x47f9e1
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop ebp
ret
Function at 0x432005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x1ff2116f
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x34ac0dd2
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4017a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4121ff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
mov dword [esp + 0x10], 0
push 0x41a520
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 1
call fcn.0040bd98
push 0x41a520
lea ecx, [esp + 8]
mov byte [esp + 0x28], 2
call fcn.0040bd98
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 3
call fcn.0040bf32
mov eax, dword [esi + 0x70]
lea ecx, [esp + 4]
push eax
push 0x4170b0
push ecx
call fcn.0040b6e7
add esp, 0xc
lea ecx, [esp + 4]
call fcn.0040bf32
push ecx
lea edx, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call fcn.0040babd
push ecx
lea eax, [esp + 0xc]
mov ecx, esp
mov dword [esp + 0x20], esp
push eax
mov byte [esp + 0x30], 4
call fcn.0040babd
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
push ecx
mov ecx, esi
call fcn.004018d0
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x28], 5
call fcn.0040be17
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call fcn.0040bd2a
mov esi, dword [esp + 0x2c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call fcn.0040babd
mov dword [esp + 0x10], 1
lea ecx, [esp + 4]
mov byte [esp + 0x24], 2
call fcn.0040bd2a
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.0040bd2a
lea ecx, [esp + 0x30]
mov byte [esp + 0x24], 0
call fcn.0040bd2a
mov ecx, dword [esp + 0x1c]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 8
Function at 0x401000
Capabilities:
Create udp socket
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1e8
mov eax, dword [0x41e004]
xor eax, esp
mov dword [esp + 0x1e4], eax
push esi
push edi
push 0x190
lea eax, [esp + 0x5c]
push 0
push eax
call fcn.00402bb0
add esp, 0xc
lea eax, [esp + 0x58]
mov esi, 0xd36b
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40106d
push str.WSAStartup_failed_n
call fcn.004018c0
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
mov ecx, dword [esp + 0x1e4]
xor ecx, esp
call fcn.004018f4
mov esp, ebp
pop ebp
ret
xor edi, edi
nop
push 0x11
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [0x41e8b0], eax
cmp eax, 0xffffffff
je 0x4011e4
xorps xmm0, xmm0
push esi
movaps xmmword [esp + 0x44], xmm0
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 0x42], ax
mov eax, 2
mov word [esp + 0x40], ax
lea eax, [esp + 0x40]
push 0x10
push eax
push dword [0x41e8b0]
call dword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x4011dd
movzx eax, si
push eax
push str.Bound_UDP_socket_to_Port:__d_n
call fcn.004018c0
lea eax, [esp + 0x30]
mov dword [esp + 0x18], 0
push eax
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], 0
mov ecx, str.158.69.57.20
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.00401220
add esp, 0xc
lea eax, [esp + 0x30]
lea edx, [esp + 0x18]
mov ecx, str.217.10.68.152
push eax
call fcn.00401220
add esp, 4
lea eax, [esp + 0x38]
lea edx, [esp + 0x20]
mov ecx, str.216.93.246.18
push eax
call fcn.00401220
add esp, 4
cmp dword [esp + 0x14], 0
je 0x4011c4
cmp dword [esp + 0x1c], 0
je 0x4011c4
cmp dword [esp + 0x24], 0
je 0x4011c4
lea ecx, [esp + 0x10]
mov eax, dword [ecx]
lea edx, [esp + 0x18]
cmp eax, dword [edx]
jne 0x4011b7
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x4011b7
mov eax, dword [ecx]
lea edx, [esp + 0x20]
cmp eax, dword [edx]
jne 0x4011b7
mov eax, dword [ecx + 4]
cmp eax, dword [edx + 4]
jne 0x4011b7
push str.__Static_Mapping_of_internal_to_external_address__OK_n_n_n
jmp 0x4011bc
push str.__SYMMETRIC_NAT__STUN_not_possible_n_n_n
call fcn.00401870
add esp, 4
push dword [0x41e8b0]
call dword [sym.imp.WS2_32.dll_closesocket]
inc edi
inc esi
cmp edi, 2
jl 0x401070
jmp 0x401203
mov esi, str.bind_failed_with_error___d_n
jmp 0x4011e9
mov esi, str.socket_function_failed_with_error___d_n
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
push esi
call fcn.004018c0
push str.Could_not_open_UDP_socket_n
call fcn.004018c0
add esp, 0xc
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [esp + 0x1ec]
xor eax, eax
pop edi
pop esi
xor ecx, esp
call fcn.004018f4
mov esp, ebp
pop ebp
ret