joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4511e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x491588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.0048999b
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00450b40
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.004898c9
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00486187
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00486187
push 1
push 0
push 0
mov ecx, esi
call fcn.0048612f
push 1
push 0
push 1
mov ecx, esi
call fcn.0048612f
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00489a0d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x451360
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4915a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.0048999b
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00450b40
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.004898c9
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x451424
cmp dword [esp + 0x40], 1
jne 0x451422
cmp ecx, eax
jge 0x451424
mov eax, ecx
cmp eax, 0xc8
jge 0x451430
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.004511e0
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00489a0d
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x451c30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x491653
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004845a7
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.00489c43
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048b15f
test eax, eax
je 0x451d4c
mov ecx, dword [esp + 0x3c]
call fcn.00489c70
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x451d10
push edi
mov ecx, esi
call fcn.004872d7
mov ecx, esi
call fcn.00451ef0
cmp dword [esp + 0x38], 1
jne 0x451d45
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.00487412
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x453f30
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x453f63
push esi
call fcn.004622d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x453f5c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x453fe9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x453fd2
mov eax, dword [esi + 8]
test eax, eax
je 0x453f87
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x453fce
cmp eax, 2
je 0x453fd2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x453f7a
cmp eax, 3
je 0x453fad
cmp eax, 1
jne 0x453f7a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x453f7a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x453f7a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00454010
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x453ff8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00454010
add esp, 4
pop esi
ret

Function at 0x454880
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4548a1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4548a1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4548a1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x46f760
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x46f7a9
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x46fc20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x491b50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.0046f7d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.0046f850
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.0046f850
lea ecx, [esi + 0xc]
call fcn.00482f57
lea ecx, [esi + 0x10]
call fcn.00482f57
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00470de0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00470de0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00470de0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00482fcc
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00482fcc
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x470fd0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x471036
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x471036
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x471017
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x48539d
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4853d5
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00483427
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004833ff
jmp 0x4853e1
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x486a8f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x486ad1
call fcn.0048c604
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x486ad1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x486ac8
xor eax, eax
jmp 0x486ad9
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00486adf
pop edi
pop esi
pop ebx
ret 4

Function at 0x48cb34
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48cb62
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48cb80
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048ca9a
jmp 0x48cb80
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48cb80
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048ca9a
test edi, edi
mov eax, edi
jne 0x48cb6a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x407820
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov eax, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push esi
push edi
test eax, eax
je 0x4079ec
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4079ec
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x40785d
mov eax, dword [esi + 4]
test eax, eax
je 0x40786e
push dword [esi]
push 0x18
call eax
add esp, 8
jmp 0x407868
push 0x18
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
add esp, 4
mov edi, eax
test edi, edi
jne 0x40787a
mov eax, 0xfffffffc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov dword [edi + 4], eax
lea eax, [edi + 8]
mov dword [edi], ebx
test eax, eax
je 0x4078d9
test esi, esi
je 0x4078be
cmp dword [esi], 0
jne 0x4078a4
cmp dword [esi + 0xc], 0
jne 0x4078aa
cmp dword [esi + 4], 0
jne 0x4078a4
cmp dword [esi + 8], 0
je 0x4078be
cmp dword [esi + 0xc], 0
je 0x4078d9
cmp dword [esi + 4], 0
jne 0x4078b6
cmp dword [esi + 8], 0
je 0x4078d9
movups xmm0, xmmword [esi]
movups xmmword [eax], xmm0
jmp 0x4078d9
mov dword [eax], 0
mov dword [eax + 4], 0x4074a0
mov dword [eax + 8], 0x4074c0
mov dword [eax + 0xc], 0x4074e0
lea eax, [ebp - 0xc]
push eax
push 0
push edi
push 0x4077e0
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ecx, eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
test ecx, ecx
jne 0x407941
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00407690
mov ebx, eax
test ebx, ebx
je 0x4079e3
test esi, esi
je 0x40792e
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x407938
push dword [esi]
push edi
call ecx
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
add eax, 5
cmp eax, 6
ja case.0x407950.2
jmp dword [eax*4 + 0x4079f8]
mov eax, 0xfffffff1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
or eax, 0xffffffff
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 1
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 2
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xf
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423e20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x423e31
mov dword [eax], 0
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x423ebe
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x423ebe
push ebx
mov ebx, dword [ebp + 0x14]
xor eax, eax
push esi
xor esi, esi
test ebx, ebx
je 0x423eaf
push edi
mov edi, ebx
mov eax, 0xffffffff
sub edi, esi
cmp edi, 0xffffffff
push 0
cmovae edi, eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [esi + edx]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, eax
mov eax, dword [ebp - 4]
cmp ecx, 1
jne 0x423e80
test eax, eax
je 0x423e96
add esi, eax
cmp eax, edi
jb 0x423eac
test ecx, ecx
je 0x423e9d
cmp esi, ebx
jae 0x423eac
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x423e51
mov eax, 0xffffffef
jmp 0x423eae
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.00407690
jmp 0x423eae
xor eax, eax
pop edi
mov ebx, dword [ebp + 0x18]
test ebx, ebx
je 0x423eb8
mov dword [ebx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, 0xfffffffe
mov esp, ebp
pop ebp
ret

Function at 0x427f70
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebx
mov ebx, edx
mov eax, ebx
cdq
and edx, 3
push esi
push edi
lea esi, [edx + eax]
mov edx, 0x2a
sar esi, 2
lea edi, [ecx + esi*4]
neg esi
je 0x427fb3
nop dword [eax]
imul eax, dword [edi + esi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
rol edx, 0xd
add edx, 0xfaddaf14
lea edx, [edx + edx*4]
add esi, 1
jne 0x427f90
mov eax, ebx
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x427fd9
sub eax, 1
je 0x427fd0
sub eax, 1
jne 0x427fef
movzx ecx, byte [edi + 2]
shl ecx, 0x10
movzx eax, byte [edi + 1]
shl eax, 8
xor ecx, eax
movzx eax, byte [edi]
xor eax, ecx
imul eax, eax, 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor edx, eax
xor edx, ebx
mov eax, edx
shr eax, 0x10
xor eax, edx
imul ecx, eax, 0x85ebca6b
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
ret
Function at 0x442fb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov eax, edx
mov dword [ebp - 8], ecx
push 0x17
lea edx, [ebp - 0x24]
mov dword [ebp - 4], eax
push edx
push eax
call ecx
add esp, 0xc
cmp eax, 0x17
jne 0x44309a
mov ebx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1e]
mov edi, dword [ebp + 0x10]
mov dword [ebx], 0x5367674f
add dword [eax], 0x17
xor esi, esi
movzx eax, byte [ebp - 0x24]
mov byte [ebx + 4], al
movzx eax, byte [ebp - 0x23]
mov byte [ebx + 5], al
mov eax, dword [ebp - 0x22]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x1a]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x16]
mov dword [ebx + 0x14], eax
mov eax, dword [ebp - 0x12]
mov dword [ebx + 0x18], eax
mov al, byte [ebp - 0xe]
mov dword [ebx + 0xc], ecx
mov byte [ebx + 0x1c], al
mov dword [ebp - 0x12], 0
mov edx, dword [edi]
mov eax, edx
movzx ecx, byte [ebp + esi - 0x24]
inc esi
shr eax, 0x18
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x4ede98]
mov dword [edi], edx
cmp esi, 0x17
jb 0x443023
movzx eax, byte [ebp - 0xe]
lea ecx, [ebx + 0x1d]
push eax
push ecx
push dword [ebp - 4]
mov dword [ebp - 0xc], ecx
call dword [ebp - 8]
movzx ebx, byte [ebx + 0x1c]
add esp, 0xc
cmp eax, ebx
jne 0x44309a
mov eax, dword [ebp + 0xc]
xor esi, esi
add dword [eax], ebx
test ebx, ebx
je 0x443091
nop dword [eax + eax]
mov eax, dword [ebp - 0xc]
mov edx, dword [edi]
movzx ecx, byte [eax + esi]
mov eax, edx
shr eax, 0x18
inc esi
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x4ede98]
mov dword [edi], edx
cmp esi, ebx
jb 0x443070
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
mov eax, 0xffffffef
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x443230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x134
push ebx
push esi
push edi
mov dword [esp + 0x1c], edx
mov ebx, ecx
mov edx, dword [ebx + 8]
lea eax, [esp + 0x10]
mov ecx, dword [ebx]
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004430b0
add esp, 0xc
test eax, eax
jne 0x4433b8
mov eax, dword [esp + 0x14]
xor edx, edx
xor esi, esi
add dword [ebx + 0x10], eax
movzx eax, byte [esp + 0x3c]
adc dword [ebx + 0x14], edx
xor edi, edi
xor ecx, ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], eax
cmp eax, 2
jb 0x4432bd
lea edi, [eax - 1]
nop dword [eax + eax]
movzx eax, byte [esp + ecx + 0x3d]
add edx, eax
movzx eax, byte [esp + ecx + 0x3e]
add ecx, 2
add esi, eax
cmp ecx, edi
jl 0x4432a0
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
cmp ecx, eax
jge 0x4432c6
movzx edi, byte [esp + ecx + 0x3d]
add esi, edx
add esi, edi
mov dword [esp + 0xc], esi
cmp esi, 0xff1b
ja 0x443245
mov eax, dword [esp + 0x30]
cmp eax, dword [ebx + 0x20]
je 0x44334e
test esi, esi
je 0x443245
xor edi, edi
cmp esi, 0x7fffffff
jbe 0x443331
mov eax, dword [ebx + 4]
push 1
push SysReAllocString
push dword [ebx + 8]
call eax
add esp, 0xc
test eax, eax
je 0x4433b8
add dword [ebx + 0x10], 0x7fffffff
adc dword [ebx + 0x14], 0
add esi, 0x80000001
adc edi, 0xffffffff
test edi, edi
ja 0x4432f5
jb 0x443331
cmp esi, 0x7fffffff
ja 0x4432f5
mov eax, dword [ebx + 4]
push 1
push esi
push dword [ebx + 8]
call eax
add esp, 0xc
test eax, eax
je 0x4433b8
add dword [ebx + 0x10], esi
adc dword [ebx + 0x14], edi
jmp 0x443245
lea eax, [ebx + 0x270]
push esi
push eax
push dword [ebx + 8]
mov eax, dword [ebx]
call eax
add esp, 0xc
add dword [ebx + 0x10], eax
adc dword [ebx + 0x14], 0
cmp eax, esi
jne 0x4433b8
mov edx, dword [esp + 0x10]
xor edi, edi
mov dword [ebx + 0x26c], esi
test esi, esi
je 0x44339e
nop dword [eax + eax]
movzx ecx, byte [ebx + edi + 0x270]
mov eax, edx
shr eax, 0x18
inc edi
xor ecx, eax
shl edx, 8
xor edx, dword [ecx*4 + 0x4ede98]
cmp edi, esi
jb 0x443380
cmp edx, dword [esp + 0x38]
je 0x4433c1
cmp dword [esp + 0x1c], 0
je 0x443245
xor edx, edx
mov ecx, ebx
call fcn.00443230
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
lea edi, [ebx + 0x148]
mov ecx, 0x48
mov dword [ebx + 0x268], eax
lea esi, [esp + 0x20]
mov eax, 1
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x450160
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
call dword [0x595d90]
push edi
mov esi, eax
call dword [sym.imp.USER32.dll_IsIconic]
mov ebx, eax
cmp esi, edi
je 0x4501ee
mov ecx, esi
call fcn.004500c0
test eax, eax
jne 0x4501ee
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
call fcn.00493410
test eax, eax
je 0x4501ee
call fcn.00493410
cmp dword [eax], 0
je 0x4501ee
mov eax, dword [0x52e820]
test eax, eax
je 0x4501b0
mov esi, dword [eax + 0x190]
jmp 0x4501b6
mov esi, dword [0x52e824]
call fcn.00493410
test eax, eax
je 0x4501c8
call fcn.00493410
mov eax, dword [eax]
jmp 0x4501ca
xor eax, eax
push str.SetForeground
push str.SetForeground
push dword [0x52e820]
push esi
push 0
push 0x291
push str.Main.c
push 0
call eax
add esp, 0x20
call dword [0x595d90]
test eax, eax
je 0x4501fc
cmp eax, edi
jne 0x450204
test ebx, ebx
je 0x450291
push 1
xor edx, edx
mov ecx, edi
call fcn.00466af0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
add esp, 4
push 6
push edi
call esi
push 1
push edi
call esi
mov esi, dword [sym.imp.USER32.dll_RedrawWindow]
push 0x100
push 0
push 0
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
test ebx, ebx
jne 0x450254
mov eax, dword [0x59174c]
test byte [eax + 0x710], 0x10
jne 0x450254
mov edx, 0xff
jmp 0x450256
xor edx, edx
push 1
mov ecx, edi
call fcn.00466af0
add esp, 4
push 0x100
push 0
push 0
push edi
call esi
test ebx, ebx
jne 0x450280
mov eax, dword [0x59174c]
test byte [eax + 0x710], 0x10
je 0x450291
push 0x64
mov edx, 0xff
mov ecx, edi
call fcn.00466af0
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x454200
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x6c
test eax, eax
mov ecx, 0x4eb673
cmovne ecx, eax
mov eax, dword [0x59174c]
cmp byte [ecx], 0
je 0x45430e
cmp dword [eax + 0x7dc], 0
je 0x45430e
push 0
push 0xffffffffffffffff
push 0x405
push dword [eax + 0x748]
call fcn.004aa860
mov eax, dword [0x59174c]
add esp, 0x10
test byte [eax + 0x710], 0x40
jne 0x45431c
lea eax, [ebp + 0xc]
mov edx, 0x63
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x68]
call fcn.00401060
add esp, 0xc
mov byte [ebp - 5], 0
mov ecx, 0x4f1e08
lea eax, [ebp - 0x68]
nop dword [eax + eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4542a0
test dl, dl
je 0x45429c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4542a0
add eax, 2
add ecx, 2
test dl, dl
jne 0x454280
xor eax, eax
jmp 0x4542a5
sbb eax, eax
or eax, 1
test eax, eax
je 0x454309
mov ecx, 0x4f1e0c
lea eax, [ebp - 0x68]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4542d1
test dl, dl
je 0x4542cd
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4542d1
add eax, 2
add ecx, 2
test dl, dl
jne 0x4542b1
xor eax, eax
jmp 0x4542d6
sbb eax, eax
or eax, 1
test eax, eax
je 0x454309
mov eax, dword [0x59174c]
push 0x4eb673
push dword [eax + 0x758]
call dword [sym.imp.USER32.dll_SetWindowTextA]
lea eax, [ebp - 0x68]
push eax
mov eax, dword [0x59174c]
push dword [eax + 0x758]
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esp, ebp
pop ebp
ret
mov eax, dword [0x59174c]
push 0
push dword [eax + 0x758]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret