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

Disassembly:
push 0xffffffffffffffff
push 0x4ebbb3
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.004de3fd
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.004e3a9c
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004e4ffb
test eax, eax
je 0x49f33c
mov ecx, dword [esp + 0x3c]
call fcn.004e3ac9
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 0x49f300
push edi
mov ecx, esi
call fcn.004e1128
mov ecx, esi
call fcn.0049f4e0
cmp dword [esp + 0x38], 1
jne 0x49f335
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.004e1263
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 0x4a1520
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4a1553
push esi
call fcn.004af8d0
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4a154c
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 0x4a15d9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4a15c2
mov eax, dword [esi + 8]
test eax, eax
je 0x4a1577
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 0x4a15be
cmp eax, 2
je 0x4a15c2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4a156a
cmp eax, 3
je 0x4a159d
cmp eax, 1
jne 0x4a156a
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 0x4a156a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x4a156a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.004a1600
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x4a15e8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.004a1600
add esp, 4
pop esi
ret

Function at 0x4a1e70
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x4a1e91
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x4a1e91
mov eax, dword [eax + 0x44]
test eax, eax
je 0x4a1e91
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 0x4bca70
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x4bcb13
test eax, eax
jbe 0x4bcb13
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4bcb13
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4bcabe
xor esi, esi
jmp 0x4bcac4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4bcaef
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004591b0
add esi, eax
push esi
mov ebx, esi
call fcn.004591b0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4bcad0
pop ebp
test edi, edi
pop edi
jne 0x4bcb13
test ebx, ebx
je 0x4bcb13
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004cc420
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4bcc35
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x4bcd4d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4bcd4d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004de84f
mov esi, eax
test esi, esi
je 0x4bcd4d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x4bcd4d
mov ecx, esi
call fcn.004bcbc0
cmp edi, eax
jge 0x4bcd4d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x4bccd3
mov dword [esp + 0x34], 1
jmp 0x4bcd2e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4bcd4d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004bc170
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4c1660
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 0x4c16c6
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 0x4c16c6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4c16a7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x4c2260
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 0x4c22a9
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 0x4c2720
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ec530
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.004c22d0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004c2350
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004c2350
lea ecx, [esi + 0xc]
call fcn.004dcdb0
lea ecx, [esi + 0x10]
call fcn.004dcdb0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c38e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c38e0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c38e0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004dce25
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004dce25
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c6de0
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
xor ecx, ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x104]
push edi
xor eax, eax
mov al, byte [ecx + str.80_]
mov edx, eax
and eax, 7
sar edx, 3
mov bl, byte [eax*2 + 0x590fbc]
mov dl, byte [edx + esi]
test bl, dl
setne al
mov byte [esp + ecx + 0x4c], al
inc ecx
cmp ecx, 0x38
jl 0x4c6df3
mov eax, 0x1e
xor edx, edx
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10c], 1
je 0x4c6e34
lea eax, [edx + edx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [edx + 0x591064]
mov dword [edi], 0
mov dword [ebp], 0
mov esi, ecx
cmp ecx, 0x1c
jge 0x4c6e66
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c6e6a
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x1c
jl 0x4c6e5b
mov eax, 0x1c
lea ecx, [esi + 0x1c]
cmp ecx, 0x38
jge 0x4c6e88
mov bl, byte [esp + ecx + 0x4c]
jmp 0x4c6e8c
mov bl, byte [esp + ecx + 0x30]
mov byte [esp + eax + 0x14], bl
inc eax
inc ecx
cmp eax, 0x38
jl 0x4c6e7d
xor ecx, ecx
mov eax, 0x590fcc
xor ebx, ebx
mov bl, byte [ecx + 0x591074]
cmp byte [esp + ebx + 0x14], 0
je 0x4c6eb7
mov esi, dword [eax]
mov ebx, dword [ebp]
or ebx, esi
mov dword [ebp], ebx
xor ebx, ebx
mov bl, byte [ecx + 0x59108c]
cmp byte [esp + ebx + 0x14], 0
je 0x4c6ece
mov esi, dword [eax]
mov ebx, dword [edi]
or ebx, esi
mov dword [edi], ebx
add eax, 4
inc ecx
cmp eax, str.80_
jl 0x4c6e9e
mov eax, dword [esp + 0x10]
inc edx
sub eax, 2
cmp eax, 0xfffffffe
mov dword [esp + 0x10], eax
jg 0x4c6e27
lea edx, [esp + 0x84]
push edx
call fcn.004c6f10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret
Function at 0x4df1f3
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4df22b
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.004dd280
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004dd258
jmp 0x4df237
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4e08e5
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 0x4e0927
call fcn.004e64a0
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e0927
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e091e
xor eax, eax
jmp 0x4e092f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e0935
pop edi
pop esi
pop ebx
ret 4

Function at 0x4e69d0
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 0x4e69fe
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4e6a1c
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004e6936
jmp 0x4e6a1c
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4e6a1c
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004e6936
test edi, edi
mov eax, edi
jne 0x4e6a06
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4028f1
Capabilities:
Encode data using xor

Disassembly:
push 0x54
mov eax, 0x43475c
call fcn.0041c69a
mov ebx, ecx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x3c], ebx
xor eax, eax
mov esi, str.wGOGL_n_b
mov dword [ebp - 4], eax
lea edi, [ebp - 0x48]
push 0x37
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
cmp byte [0x43f1ab], al
je 0x402935
mov ecx, eax
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x48], dl
inc ecx
cmp ecx, 0xc
jl 0x402922
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, eax
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x402a17
mov esi, str.wGOGLlTKNRJZ5
lea edi, [ebp - 0x60]
push 0x37
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor esi, esi
pop edi
xor edx, edx
mov eax, esi
div edi
add dl, 0x34
xor byte [ebp + esi - 0x60], dl
inc esi
cmp esi, 0x13
jl 0x402960
lea eax, [ebp - 0x60]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
test ecx, ecx
je 0x402a0e
push 0xf
pop edx
cmp dword [ebp + 0x1c], edx
lea eax, [ebp + 8]
lea edi, [ebp - 0x28]
cmova eax, dword [ebp + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x38], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
mov byte [ebp - 0x28], al
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 1
push edx
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x38]
push eax
call ecx
test eax, eax
je 0x402a0e
cmp dword [ebp - 0x30], 0
jbe 0x4029e7
xor esi, esi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x28]
movzx eax, byte [eax + esi]
push eax
call fcn.0040420a
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x4029d1
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x28]
mov ecx, ebx
push eax
call fcn.00404084
lea ecx, [ebp - 0x28]
call fcn.00402636
jmp 0x402a23
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x43f133
mov ecx, ebx
call fcn.004040bd
lea ecx, [ebp + 8]
call fcn.00402636
mov eax, ebx
call fcn.0041c649
ret
Function at 0x40314b
Capabilities:
Encode data using xor

Disassembly:
push 0x9c
mov eax, 0x434935
call fcn.0041c69a
mov edi, ecx
mov eax, dword [str.WZFN8]
xor ecx, ecx
mov dword [ebp - 0x80], eax
mov al, byte [0x43f200]
push 0x37
mov byte [ebp - 0x7c], al
pop ebx
xor edx, edx
mov eax, ecx
div ebx
add dl, 0x34
xor byte [ebp + ecx - 0x80], dl
inc ecx
cmp ecx, 5
jl 0x403171
lea eax, [ebp - 0x80]
mov edx, edi
push eax
lea ecx, [ebp - 0x74]
call fcn.00404325
pop ecx
and dword [ebp - 4], 0
push 0x48
call fcn.0041be08
mov esi, eax
pop ecx
mov dword [ebp - 0x84], esi
push 0x48
push 0
push esi
mov byte [ebp - 4], 1
call fcn.0041dab0
sub esp, 0xc
mov ecx, esp
push edi
call fcn.004040f6
lea eax, [ebp - 0x75]
mov ecx, esi
push eax
call fcn.0040282f
mov byte [ebp - 4], 0
mov ebx, eax
cmp byte [ebp - 0x75], 0
je 0x4032f7
mov esi, 0x43f368
lea edi, [ebp - 0x90]
push 0x37
xor ecx, ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x90], dl
inc ecx
cmp ecx, 9
jl 0x4031ee
sub esp, 0x18
lea eax, [ebp - 0x90]
mov ecx, esp
push eax
call fcn.004040bd
mov ecx, ebx
call fcn.00412f19
test al, al
je 0x4032f7
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
and dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 2
xor esi, esi
mov eax, dword [ebx + 0x3c]
sub eax, dword [ebx + 0x38]
push 0xc
cdq
pop edi
idiv edi
test eax, eax
jle 0x4032ef
push 0
push esi
lea eax, [ebp - 0x5c]
mov ecx, ebx
push eax
call fcn.0041325a
push 1
push esi
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 3
push eax
mov ecx, ebx
call fcn.0041325a
sub esp, 0x18
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.004040f6
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
mov ecx, esp
push eax
call fcn.004040f6
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 4
call fcn.00404c0b
add esp, 0x30
push eax
mov ecx, 0x4488a4
mov byte [ebp - 4], 6
call fcn.00404245
lea ecx, [ebp - 0xa8]
call fcn.00402636
lea ecx, [ebp - 0x44]
call fcn.00402636
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 2
call fcn.00402636
mov eax, dword [ebx + 0x3c]
inc esi
sub eax, dword [ebx + 0x38]
cdq
idiv edi
cmp esi, eax
jl 0x403256
lea ecx, [ebp - 0x2c]
call fcn.00402636
test ebx, ebx
je 0x40330c
mov ecx, ebx
call fcn.00403127
push 0x48
push ebx
call fcn.0041be38
pop ecx
pop ecx
lea ecx, [ebp - 0x74]
call fcn.00402636
call fcn.0041c649
ret
Function at 0x40487b
Capabilities:
Encode data using xor

Disassembly:
push 0xd4
mov eax, 0x434c65
call fcn.0041c667
mov eax, edx
mov dword [ebp - 0x18], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
xor ebx, ebx
cmp dword [eax + 0x10], ebx
jbe 0x404a2e
mov esi, 0x43f658
lea edi, [ebp - 0x14]
push 0x38
mov ecx, ebx
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x14], dl
inc ecx
cmp ecx, 7
jl 0x4048b0
mov edx, dword [ebp - 0x18]
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00404325
pop ecx
push dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 4], ebx
call fcn.00404245
push eax
lea ecx, [ebp - 0xc8]
call fcn.00404084
mov byte [ebp - 4], 1
cmp byte [0x43f64b], 0
mov eax, dword [str.swk3___ERJW_VY_a]
mov ecx, dword [0x43f648]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
je 0x404920
xor edx, edx
mov eax, ebx
div esi
add dl, 0x34
xor byte [ebp + ebx - 0x14], dl
inc ebx
cmp ebx, 8
jl 0x40490d
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0xc8]
call fcn.0040464d
push eax
lea ecx, [ebp - 0xb0]
call fcn.00404084
push dword [ebp + 0xc]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 2
call fcn.00404245
push eax
lea ecx, [ebp - 0x98]
call fcn.00404084
push 1
mov esi, 0x43f5fc
mov byte [ebp - 4], 3
push esi
lea ecx, [ebp - 0x98]
call fcn.004042c1
push eax
lea ecx, [ebp - 0x80]
call fcn.00404084
push dword [ebp + 0x10]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
call fcn.00404245
push eax
lea ecx, [ebp - 0x68]
call fcn.00404084
push 1
push esi
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], 5
call fcn.004042c1
push eax
lea ecx, [ebp - 0x50]
call fcn.00404084
push dword [ebp + 0x14]
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00404245
push eax
lea ecx, [ebp - 0x38]
call fcn.00404084
push 2
push 0x43f5f8
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 7
call fcn.004042c1
mov ecx, dword [ebp - 0x1c]
push eax
call fcn.00404084
lea ecx, [ebp - 0x38]
call fcn.00402636
lea ecx, [ebp - 0x50]
call fcn.00402636
lea ecx, [ebp - 0x68]
call fcn.00402636
lea ecx, [ebp - 0x80]
call fcn.00402636
lea ecx, [ebp - 0x98]
call fcn.00402636
lea ecx, [ebp - 0xb0]
call fcn.00402636
lea ecx, [ebp - 0xc8]
call fcn.00402636
lea ecx, [ebp - 0xe0]
call fcn.00402636
mov eax, dword [ebp - 0x1c]
jmp 0x404a3a
push 0x43f133
call fcn.004040bd
mov eax, esi
call fcn.0041c635
ret
Function at 0x404a40
Capabilities:
Encode data using xor

Disassembly:
push 0x94
mov eax, 0x434cd0
call fcn.0041c667
mov esi, ecx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], 2
cmp dword [ebp + 0x48], ebx
jbe 0x404bdf
cmp dword [ebp + 0x30], ebx
jbe 0x404bdf
inc dword [0x4487fc]
lea edi, [ebp - 0x20]
mov esi, str.ZECVXW
mov ecx, ebx
push 0x38
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xb
jl 0x404a8d
lea eax, [ebp + 8]
push eax
lea edx, [ebp - 0x20]
lea ecx, [ebp - 0xa0]
call fcn.00404e71
pop ecx
mov dword [ebp - 0x14], eax
mov esi, 0x43f64c
mov byte [ebp - 4], 3
cmp byte [str._adb0:], 0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x404ae9
push 0x38
mov ecx, ebx
pop esi
xor edx, edx
mov eax, ecx
div esi
add dl, 0x34
xor byte [ebp + ecx - 0x20], dl
inc ecx
cmp ecx, 0xc
jl 0x404ad3
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.0040464d
push eax
lea ecx, [ebp - 0x88]
call fcn.00404084
lea eax, [ebp + 0x20]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x88]
call fcn.00404245
push eax
lea ecx, [ebp - 0x70]
call fcn.00404084
mov esi, 0x43f620
mov byte [ebp - 4], 5
cmp byte [str.__Y_H], 0
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
je 0x404b4a
push 0x38
pop ecx
xor edx, edx
mov eax, ebx
div ecx
add dl, 0x34
xor byte [ebp + ebx - 0x20], dl
inc ebx
cmp ebx, 0xc
jl 0x404b37
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x70]
call fcn.0040464d
push eax
lea ecx, [ebp - 0x58]
call fcn.00404084
lea eax, [ebp + 0x38]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x58]
call fcn.00404245
push eax
lea ecx, [ebp - 0x40]
call fcn.00404084
push 2
push 0x43f600
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.004042c1
mov ecx, dword [ebp - 0x24]
push eax
call fcn.00404084
lea ecx, [ebp - 0x40]
call fcn.00402636
lea ecx, [ebp - 0x58]
call fcn.00402636
lea ecx, [ebp - 0x70]
call fcn.00402636
lea ecx, [ebp - 0x88]
call fcn.00402636
lea ecx, [ebp - 0xa0]
call fcn.00402636
lea ecx, [ebp + 8]
call fcn.00402636
lea ecx, [ebp + 0x20]
call fcn.00402636
lea ecx, [ebp + 0x38]
call fcn.00402636
mov eax, dword [ebp - 0x24]
jmp 0x404c05
push 0x43f133
mov ecx, esi
call fcn.004040bd
lea ecx, [ebp + 8]
call fcn.00402636
lea ecx, [ebp + 0x20]
call fcn.00402636
lea ecx, [ebp + 0x38]
call fcn.00402636
mov eax, esi
call fcn.0041c635
ret