joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42a4a0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x42a4b3
xor eax, eax
jmp 0x42a4ec
xor eax, eax
mov word [ebp - 4], ax
xor ecx, ecx
mov word [ebp - 2], cx
push 4
lea edx, [ebp - 4]
push edx
push 0x80
push 0xffff
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll_setsockopt
push 2
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll_shutdown
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.dll_closesocket
mov esp, ebp
pop ebp
ret 4

Function at 0x42a500
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x42a513
xor eax, eax
jmp 0x42a552
mov eax, 1
mov word [ebp - 4], ax
mov ecx, 1
mov word [ebp - 2], cx
push 4
lea edx, [ebp - 4]
push edx
push 0x80
push 0xffff
mov eax, dword [ebp + 8]
push eax
call sub.WS2_32.dll_setsockopt
push 2
mov ecx, dword [ebp + 8]
push ecx
call sub.WS2_32.dll_shutdown
mov edx, dword [ebp + 8]
push edx
call sub.WS2_32.dll_closesocket
mov esp, ebp
pop ebp
ret 4

Function at 0x42a7b0
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 8], ecx
mov edx, dword [ebp + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
jmp 0x42a7e4
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x42a7ff
mov ecx, dword [ebp - 0x14]
cmp dword [ebp + ecx*4 - 0xc], 0
je 0x42a7fd
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x42a7db
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0
jne 0x42a81d
mov ecx, dword [ebp - 0x18]
add ecx, 4
push ecx
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x70], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0x70], 0
je 0x42a84d
push 0
lea ecx, [ebp - 0xc]
push ecx
push 0
movzx edx, word [ebp - 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
push 0
movzx ecx, word [ebp + 8]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
mov esp, ebp
pop ebp
ret 0x14
Function at 0x42b520
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4cf0c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x8c], ecx
mov eax, dword [ebp - 0x8c]
cmp dword [eax + 0x8c], 0
jne 0x42b5b7
mov ecx, 0x4d2a70
call fcn.0041fb20
movzx ecx, al
test ecx, ecx
jne 0x42b5b7
push 0x50
push 0
lea edx, [ebp - 0x88]
push edx
call fcn.00474130
add esp, 0xc
push 0x49fd10
push 0x4e
lea eax, [ebp - 0x88]
push eax
push 0x49fd2c
push 0x49fd48
push 0x49fd54
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x49fd64
lea ecx, [ebp - 0x88]
push ecx
call fcn.004749a0
add esp, 8
test eax, eax
jne 0x42b5b7
mov edx, dword [ebp - 0x8c]
mov dword [edx + 0x8c], 1
mov eax, dword [ebp - 0x8c]
mov eax, dword [eax + 0x8c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00474590
mov esp, ebp
pop ebp
ret
Function at 0x451470
Capabilities:
Check for time delay via gettickcount
Read file on windows
Write file on windows

Disassembly:
sub esp, 0xcd4
push ebx
xor ebx, ebx
cmp dword [0x4d78dc], ebx
mov al, 6
push ebp
push esi
mov byte [esp + 0x316], bl
mov byte [esp + 0x317], 1
mov byte [esp + 0x314], 0x52
mov byte [esp + 0x315], 0x36
mov byte [esp + 0x318], bl
mov byte [esp + 0x319], bl
mov cx, word [esp + 0x318]
mov byte [esp + 0x15], al
mov byte [esp + 0x19], al
mov eax, dword [esp + 0x314]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [esp + 0x18], bl
mov byte [esp + 0x1a], bl
mov byte [esp + 0x1b], bl
mov byte [esp + 0x1c], bl
mov dword [esp + 0x1e], eax
mov word [esp + 0x22], cx
je 0x45151f
mov ebp, dword [esp + 0xce8]
mov esi, ebp
imul esi, esi, 0x83c
movzx edx, word [esi + 0x4d8118]
movzx ecx, byte [esi + 0x4d78e8]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00451b90
add esp, 0xc
test eax, eax
jne 0x45168c
jmp 0x45157e
mov esi, dword [esp + 0xce8]
imul esi, esi, 0x83c
mov edx, dword [esi + 0x4d78e4]
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
call edi
movzx ecx, word [esi + 0x4d8118]
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + 0x4d78e4]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ebp, eax
call edi
cmp ebp, ebx
jne 0x451577
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd4
ret
mov ebp, dword [esp + 0xce8]
push 0x200
lea ecx, [esp + 0x1c]
push ebx
push ecx
call fcn.00474130
add esp, 0xc
call edi
cmp dword [0x4d78dc], ebx
je 0x4515be
movzx edx, word [esi + 0x4d8118]
movzx ecx, byte [esi + 0x4d78e8]
push edx
lea eax, [esp + 0x1c]
push eax
push ecx
call fcn.00451aa0
add esp, 0xc
test eax, eax
je 0x4515fa
jmp 0x4515f2
mov edx, dword [esi + 0x4d78e4]
push ebx
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
movzx ecx, word [esi + 0x4d8118]
push ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi + 0x4d78e4]
push ecx
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4515fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov eax, dword [esp + 0xcec]
mov ecx, dword [esp + 0x26]
mov edx, dword [esp + 0x2a]
mov dword [eax], ecx
mov ecx, dword [esp + 0x2e]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x32]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x36]
mov dword [eax + 0xc], edx
mov dl, byte [esp + 0x3a]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], dl
lea eax, [esp + 0x218]
push eax
push 0xc0801800
push ebp
call fcn.0044ec30
test eax, eax
jne 0x45164a
mov byte [0x4d78d8], 0x80
jmp 0x451668
lea ecx, [esp + 0x218]
push ecx
push 0xc0f01800
push ebp
call fcn.0044ec30
test eax, eax
jne 0x45168c
mov byte [0x4d78d8], 0xf0
lea eax, [esp + 0x21e]
lea edx, [esi + 0x4d80ec]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x451680
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xcd4
ret
Function at 0x451c80
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x40
push esi
push edi
call fcn.00451a90
push 0x100
mov edi, eax
call fcn.00474b6a
push 0x100
mov esi, eax
push 0
push esi
call fcn.00474130
mov al, byte [esp + 0x5c]
mov byte [esi + 2], al
mov eax, 0x40
lea ecx, [esp + 0x18]
push esi
mov byte [esi], 2
mov byte [esi + 3], 0x48
mov byte [esi + 8], 0
mov dword [esi + 0x10], ecx
mov dword [esi + 0xc], eax
mov byte [esi + 0x14], 0xe
mov byte [esi + 0x15], 6
mov byte [esi + 0x30], 0x25
mov byte [esi + 0x34], al
mov dword [esi + 0x18], edi
call dword [0x4e8060]
add esp, 0x14
cmp byte [esi + 1], 0
jne 0x451cf3
push 0x64
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x451cf7
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x451d04
push edi
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x451d16
cmp eax, 0x102
jne 0x451d16
push str.dic32uWait_Timeout___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [esp + 0xc]
mov dl, byte [esp + 0xf]
mov dword [esp + 0x4c], eax
mov cl, byte [esp + 0x4d]
mov byte [esp + 0x4f], al
mov al, byte [esp + 0x4e]
push edi
mov byte [esp + 0x50], dl
mov byte [esp + 0x52], cl
mov byte [esp + 0x51], al
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004746d6
mov eax, dword [esp + 0x50]
add esp, 4
pop edi
pop esi
add esp, 0x40
ret
Function at 0x451d60
Capabilities:
Print debug messages

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.00451a90
mov ebx, eax
push 0x100
mov dword [esp + 0x14], ebx
call fcn.00474b6a
push 0x100
mov esi, eax
push 0
push esi
call fcn.00474130
mov al, byte [esp + 0x28]
mov edi, dword [esp + 0x2c]
mov byte [esi + 2], al
mov eax, dword [esp + 0x30]
push esi
mov byte [esi], 2
mov byte [esi + 3], 0x48
mov byte [esi + 8], 0
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], eax
mov byte [esi + 0x14], 0xe
mov byte [esi + 0x15], 6
mov byte [esi + 0x30], 0x12
mov byte [esi + 0x34], al
mov dword [esi + 0x18], ebx
call dword [0x4e8060]
add esp, 0x14
cmp byte [esi + 1], 0
mov dword [esp + 0x1c], eax
jne 0x451dda
push 0x64
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x451dde
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x451deb
push ebx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
jmp 0x451dfd
cmp eax, 0x102
jne 0x451dfd
push str.dic32uWait_Timeout___n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ebp, [edi + 8]
mov edx, 0x12
mov eax, str.USB_____Dongle_32_USB_____Dongle_08
mov ecx, ebp
lea esp, [esp]
mov edi, dword [ecx]
cmp edi, dword [eax]
jne 0x451e28
sub edx, 4
add eax, 4
add ecx, 4
cmp edx, 4
jae 0x451e10
test edx, edx
je 0x451e8d
movzx ebx, byte [eax]
movzx edi, byte [ecx]
sub edi, ebx
jne 0x451e77
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x451e89
movzx ebx, byte [eax]
movzx edi, byte [ecx]
sub edi, ebx
jne 0x451e77
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x451e89
movzx ebx, byte [eax]
movzx edi, byte [ecx]
sub edi, ebx
jne 0x451e77
sub edx, 1
add eax, 1
add ecx, 1
test edx, edx
je 0x451e89
movzx edx, byte [eax]
movzx edi, byte [ecx]
sub edi, edx
je 0x451e89
test edi, edi
mov ebx, dword [esp + 0x10]
mov eax, 1
jg 0x451e8f
or eax, 0xffffffff
jmp 0x451e8f
mov ebx, dword [esp + 0x10]
xor eax, eax
test eax, eax
je 0x451f23
mov eax, 0x12
mov ecx, 0x4c3592
mov edx, ebp
mov edi, dword [edx]
cmp edi, dword [ecx]
jne 0x451ebb
sub eax, 4
add ecx, 4
add edx, 4
cmp eax, 4
jae 0x451ea3
test eax, eax
je 0x451f18
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x451f0a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x451f18
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x451f0a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x451f18
movzx edi, byte [edx]
movzx ebp, byte [ecx]
sub edi, ebp
jne 0x451f0a
sub eax, 1
add ecx, 1
add edx, 1
test eax, eax
je 0x451f18
movzx edi, byte [edx]
movzx eax, byte [ecx]
sub edi, eax
je 0x451f18
test edi, edi
mov eax, 1
jg 0x451f1a
or eax, 0xffffffff
jmp 0x451f1a
xor eax, eax
test eax, eax
je 0x451f23
or edi, 0xffffffff
jmp 0x451f27
mov edi, dword [esp + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.004746d6
add esp, 4
test edi, edi
je 0x451f43
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [esp + 0x18]
push ecx
call fcn.00451c80
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x451fe0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0xc
xor eax, eax
push eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 4]
push ecx
push eax
mov eax, dword [esp + 0x20]
push 0xc
lea edx, [esp + 0x14]
push edx
push 0x2d1400
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
add esp, 0xc
ret
Function at 0x45a490
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
ret
Function at 0x45eec0
Capabilities:
Get disk information

Disassembly:
push ecx
mov eax, dword [esp + 8]
push ebx
push ebp
push esi
push edi
push eax
xor ebp, ebp
call fcn.0045f0a0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
jne 0x45eee8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
pop ebx
pop ecx
ret
mov ebx, dword [esp + 0x20]
mov edx, dword [ebx]
lea eax, [edx*4 + 4]
push eax
call fcn.00474b6a
mov esi, dword [esp + 0x20]
mov edi, eax
add esp, 4
test edi, edi
mov dword [esi], edi
jne 0x45ef12
pop edi
pop esi
mov dword [ebx], eax
pop ebp
pop ebx
pop ecx
ret
mov ecx, dword [ebx]
xor eax, eax
push 0x8000
lea ecx, [ecx*4 + 4]
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
call fcn.00474b6a
add esp, 4
mov ebx, eax
mov ecx, 0x2000
xor eax, eax
mov edi, ebx
push 0x8000
push ebx
push eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
jne 0x45ef75
mov eax, dword [esp + 0x20]
push ebx
mov dword [eax], 0
call fcn.004746d6
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
lea ecx, [eax + 0x8000]
cmp eax, ecx
jae 0x45f07b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x45f077
mov edx, dword [esp + 0x10]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push ebx
push edx
call fcn.0049558f
add esp, 0xc
test eax, eax
jne 0x45f056
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
add ecx, 8
push ecx
call fcn.00474b6a
mov ecx, dword [esi]
mov edi, ebx
add esp, 4
mov dword [ecx + ebp*4], eax
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esi]
repne scasb al, byte es:[edi]
mov edi, dword [edx + ebp*4]
not ecx
add ecx, 3
mov edx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esi]
mov edi, ebx
not ecx
mov edx, dword [eax + ebp*4]
add ecx, 3
mov dword [edx], ecx
mov eax, dword [esi]
mov edx, dword [str.._]
mov ecx, dword [eax + ebp*4]
add ecx, 4
mov dword [ecx], edx
mov al, byte [0x4cef94]
mov byte [ecx + 4], al
mov ecx, dword [esi]
xor eax, eax
mov edx, dword [ecx + ebp*4]
or ecx, 0xffffffff
add edx, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
inc ebp
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x1c]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x18]
not ecx
dec ecx
add eax, 0x8000
lea ebx, [ebx + ecx + 1]
cmp ebx, eax
jb 0x45ef87
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
push eax
mov dword [ecx], ebp
call fcn.004746d6
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x460e30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x460e5f
push esi
call fcn.004615c0
add esp, 4
cmp byte [esi + 0x40], 0
je 0x460e58
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x460eda
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x460eca
mov eax, dword [esi + 8]
test eax, eax
je 0x460e84
mov ecx, dword [eax]
push esi
call ecx
add esp, 4
mov edx, dword [esi + 0x190]
mov eax, dword [edx]
push esi
call eax
add esp, 4
test eax, eax
je 0x460ec6
cmp eax, 2
je 0x460eca
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x460e75
cmp eax, 3
je 0x460eac
cmp eax, 1
jne 0x460e75
add dword [ecx + 4], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
cmp ecx, dword [eax + 8]
jl 0x460e75
mov edx, dword [esi + 0x11c]
add dword [eax + 8], edx
jmp 0x460e75
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
call fcn.00460cc0
pop esi
ret
cmp eax, 0xcc
je 0x460efc
mov ecx, dword [esi]
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call edx
add esp, 4
call fcn.00460cc0
pop esi
ret
Function at 0x46b1c0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
push esi
push edi
mov edi, dword [esp + 0x24]
cmp dword [edi + 0x4c], 1
mov esi, dword [edi + 0x1a8]
mov dword [esp + 0x18], esi
jne 0x46b1e7
mov dword [esp + 8], 0x1fe
mov byte [esi + 0x1c], 1
jmp 0x46b1f3
mov dword [esp + 8], 0
mov byte [esi + 0x1c], 0
mov ecx, dword [edi + 0x64]
mov edx, dword [esp + 8]
mov eax, dword [edi + 4]
mov eax, dword [eax + 8]
push ecx
add edx, 0x100
push edx
push 1
push edi
call eax
xor ecx, ecx
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x14]
add esp, 0x10
cmp dword [edi + 0x64], ecx
mov dword [esp + 0x14], ecx
jle 0x46b31c
push ebx
lea edx, [esi + 0x20]
push ebp
mov dword [esp + 0x14], edx
jmp 0x46b238
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov edi, dword [edx]
cdq
idiv edi
cmp dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
je 0x46b259
mov eax, dword [esi + 0x18]
add dword [eax + ecx*4], 0xff
lea eax, [eax + ecx*4]
mov edx, dword [esi + 0x18]
mov ebp, dword [edx + ecx*4]
lea eax, [edi + 0xfe]
lea esi, [edi + edi - 2]
cdq
idiv esi
xor ebx, ebx
mov dword [esp + 0x24], ebp
xor esi, esi
mov edx, eax
cmp esi, edx
jle 0x46b2b1
mov ecx, ebx
lea ebp, [edi + edi - 2]
imul ecx, ecx, 0x1fe
jmp 0x46b290
add ecx, 0x1fe
lea eax, [ecx + edi + 0xfe]
cdq
idiv ebp
add ebx, 1
mov edx, eax
cmp esi, edx
jg 0x46b290
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x24]
mov al, byte [esp + 0x18]
imul bl
mov byte [esi + ebp], al
add esi, 1
cmp esi, 0xff
jle 0x46b276
cmp dword [esp + 0x10], 0
je 0x46b301
mov eax, 1
lea edx, [ebp - 1]
jmp 0x46b2e0
movzx ebx, byte [ebp]
mov byte [edx], bl
movzx ebx, byte [ebp + 0xff]
mov byte [eax + ebp + 0xff], bl
add eax, 1
sub edx, 1
cmp eax, 0xff
jle 0x46b2e0
mov eax, dword [esp + 0x2c]
add dword [esp + 0x14], 4
add ecx, 1
cmp ecx, dword [eax + 0x64]
mov dword [esp + 0x1c], ecx
jl 0x46b230
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x18
ret

Function at 0x474590
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4cf0c0]
jne 0x47459a
repz ret
jmp fcn.0048000c
Function at 0x489ac7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0047f94f
and dword [ebp - 4], 0
cmp dword [0x4ea8d8], 0
mov ebx, eax
jne 0x489b78
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x489c29
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4a7e3c
push edi
call esi
test eax, eax
je 0x489c29
push eax
call fcn.0047f8dd
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4ea8d8], eax
call esi
push eax
call fcn.0047f8dd
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4ea8dc], eax
call esi
push eax
call fcn.0047f8dd
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4ea8e0], eax
call esi
push eax
call fcn.0047f8dd
pop ecx
mov dword [0x4ea8e8], eax
test eax, eax
je 0x489b78
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0047f8dd
pop ecx
mov dword [0x4ea8e4], eax
mov eax, dword [0x4ea8e4]
cmp eax, ebx
je 0x489bd0
cmp dword [0x4ea8e8], ebx
je 0x489bd0
push eax
call fcn.0047f958
push dword [0x4ea8e8]
mov esi, eax
call fcn.0047f958
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x489bd0
test edi, edi
je 0x489bd0
call esi
test eax, eax
je 0x489bc7
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x489bc7
test byte [ebp - 0xc], 1
jne 0x489bd0
or dword [ebp + 0x10], 0x200000
jmp 0x489c09
mov eax, dword [0x4ea8dc]
cmp eax, ebx
je 0x489c09
push eax
call fcn.0047f958
pop ecx
test eax, eax
je 0x489c09
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x489c09
mov eax, dword [0x4ea8e0]
cmp eax, ebx
je 0x489c09
push eax
call fcn.0047f958
pop ecx
test eax, eax
je 0x489c09
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4ea8d8]
call fcn.0047f958
pop ecx
test eax, eax
je 0x489c29
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x489c2b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x432030
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x404638
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x462814]
xor eax, ebp
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
mov eax, 0x1a1
cmp eax, 0x24
ja 0x40461e
call 0xe9ac2e6d
invalid
call fcn.00402f8e
sub eax, eax
je 0x404629
call 0x7480aed0
inc edx
add al, ch
cmp eax, dword [eax]
add byte [eax], al
push str.So__lets_start_the_party
call fcn.0040466e
call fcn.00404519
push 0x75
push str.Solution_a_lot_of_many_problems__d
call fcn.0040468b
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.004019d3
call fcn.00401fbc
push str.duYayx8383
push 0x4639a8
call fcn.0040131a
pop ecx
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x406029
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x40604a
jl 0x406041
test edi, edi
jne 0x40604a
xor eax, eax
xor edx, edx
jmp 0x40610b
cmp dword [ebx + 0x38], 0
je 0x40605f
push eax
push edi
push dword [ebp + 8]
call fcn.00406111
jmp 0x40610b
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x4060a6
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x4060a6
cmp eax, edi
jb 0x406080
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.00409d30
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x4060ac
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x406100
mov ecx, ebx
call fcn.004058c9
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x4060eb
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.0041141c
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x406100
jmp 0x4060be
test edx, edx
je 0x406100
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.0041141c
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x4084f9
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x408538
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x408538
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x408538
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x408538
cmp dword [ecx + 0x74], 0xe
jbe 0x408538
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x416e26
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42b118
push 0x42b110
push str.FlsAlloc
push 0x1e
call fcn.00416c93
mov esi, eax
add esp, 0x10
test esi, esi
je 0x416e5a
push dword [ebp + 8]
mov ecx, esi
call dword [0x427134]
call esi
jmp 0x416e60
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4