joyce8/EMBER2024-capa huggingface dataset:
Function at 0x497ed0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x497f03
push esi
call fcn.004a6270
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x497efc
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 0x497f89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x497f72
mov eax, dword [esi + 8]
test eax, eax
je 0x497f27
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 0x497f6e
cmp eax, 2
je 0x497f72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x497f1a
cmp eax, 3
je 0x497f4d
cmp eax, 1
jne 0x497f1a
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 0x497f1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x497f1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00497fb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x497f98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00497fb0
add esp, 4
pop esi
ret

Function at 0x498820
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x498841
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x498841
mov eax, dword [eax + 0x44]
test eax, eax
je 0x498841
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 0x4b3880
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 0x4b3923
test eax, eax
jbe 0x4b3923
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x4b3923
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 0x4b38ce
xor esi, esi
jmp 0x4b38d4
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x4b38ff
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004b7ad0
add esi, eax
push esi
mov ebx, esi
call fcn.004b7ad0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x4b38e0
pop ebp
test edi, edi
pop edi
jne 0x4b3923
test ebx, ebx
je 0x4b3923
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.004d1c50
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x4b3a45
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 0x4b3b5d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b3b5d
mov eax, dword [esi + 0x3c]
push eax
call fcn.004e3769
mov esi, eax
test esi, esi
je 0x4b3b5d
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 0x4b3b5d
mov ecx, esi
call fcn.004b39d0
cmp edi, eax
jge 0x4b3b5d
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 0x4b3ae3
mov dword [esp + 0x34], 1
jmp 0x4b3b3e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x4b3b5d
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.004b2f80
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 0x4c12b0
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 0x4c12f9
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 0x4c1770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f1b90
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.004c1320
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004c13a0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004c13a0
lea ecx, [esi + 0xc]
call fcn.004e1cca
lea ecx, [esi + 0x10]
call fcn.004e1cca
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004c2930
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004c2930
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004c2930
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004e1d3f
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e1d3f
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4c2b20
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 0x4c2b86
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 0x4c2b86
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4c2b67
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4e410d
Capabilities:
Get graphical window text

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

Function at 0x4e57fb
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 0x4e583d
call fcn.004eb472
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4e583d
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4e5834
xor eax, eax
jmp 0x4e5845
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004e584b
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41b1f2
ret

Function at 0x44d553
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00451ce3
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00451d6b
add esp, 4
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 8]
push eax
call fcn.00452658
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x10], 2
jne 0x44d5d6
cmp dword [0x45f4c8], 1
jne 0x44d5d6
cmp dword [ebp - 0xc], 0
je 0x44d5d6
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.0044d412
add esp, 8
jmp 0x44d5e5
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_MoveFileA]
mov dword [ebp - 0x14], eax
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 8
Function at 0x44d7d3
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x44d81b
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x44d841
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x45f09c], ecx
jne 0x44d83f
cmp dword [ebp - 0xc], 0
je 0x44d83d
mov eax, dword [ebp - 0xc]
add dword [eax + 8], 0xa
jmp 0x44d841
jmp 0x44d818
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jne 0x44d8e4
mov dword [ebp - 0x18], 0
jmp 0x44d86f
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x44d8e4
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
cmp dword [eax*4 + 0x45f09c], ecx
jne 0x44d8e2
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx*4 + 0x45f2b8]
cmp dword [eax*4 + 0x45f1c8], ecx
jb 0x44d8d1
mov eax, dword [ebp - 0x10]
cmp dword [0x45f098], eax
je 0x44d8bf
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x45f18c]
push eax
call fcn.0045241a
add esp, 4
mov eax, dword [ebp - 0x10]
mov dword [0x45f098], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00451f71
add esp, 8
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
add dword [ecx*4 + 0x45f1c8], eax
jmp 0x44d8e4
jmp 0x44d86c
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14
Function at 0x44d8f5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
jmp 0x44d943
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0x3c
jge 0x44d9a5
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
cmp dword [eax*4 + 0x45f09c], ecx
jne 0x44d9a3
mov eax, dword [ebp - 0xc]
cmp dword [0x45f098], eax
je 0x44d97d
mov eax, dword [ebp - 0x18]
mov al, byte [eax + 0x45f18c]
push eax
call fcn.0045241a
add esp, 4
mov eax, dword [ebp - 0xc]
mov dword [0x45f098], eax
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00451fbd
add esp, 8
mov dword [ebp - 0x10], 1
cmp dword [ebp - 8], 0
je 0x44d9a1
mov eax, dword [ebp - 8]
add dword [eax + 8], 0xa
jmp 0x44d9a5
jmp 0x44d940
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_WriteFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x44d9d3
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.00451f71
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 0x14]
leave
ret 0x14

Function at 0x4526b3
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
nop
leave
add esp, 4
pop edi
pop esi
pop edx
pop ecx
pop ebx
pop eax
leave
add esp, 4
push ebp
mov ebp, esp
sub esp, 0x20
push edi
push esi
push edx
push ecx
push ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.00451ce3
add esp, 4
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
call fcn.00451d6b
add esp, 4
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call fcn.004528e2
add esp, 8
cmp eax, 0xffffffff
je 0x452718
mov dword [ebp - 0x14], 1
jmp 0x45271f
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0xc], 2
jne 0x45274f
cmp dword [ebp - 8], 0
je 0x45274f
cmp dword [ebp - 0x14], 0
je 0x45274f
push 0x45fc78
mov eax, dword [ebp - 4]
push eax
call fcn.00452760
add esp, 8
pop ebx
pop ecx
pop edx
pop esi
pop edi
mov eax, dword [ebp - 8]
leave
ret 4
Function at 0x453f2d
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
lea eax, [ebp - 0x94]
mov dword [ebp - 0x94], 0x94
push eax
call dword [sym.imp.kernel32.dll_GetVersionExA]
test eax, eax
jne 0x453f55
xor eax, eax
leave
ret
mov eax, dword [ebp - 0x84]
xor ecx, ecx
sub eax, ecx
je 0x453f89
dec eax
je 0x453f69
dec eax
je 0x453f7b
jmp 0x453f51
cmp dword [ebp - 0x8c], ecx
jne 0x453f75
push 4
jmp 0x453f8b
jbe 0x453f7b
push 5
jmp 0x453f8b
cmp dword [ebp - 0x90], 5
sbb eax, eax
add eax, 7
leave
ret
push 3
pop eax
leave
ret

Function at 0x456b8f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 0x14], esi
jle 0x456bc1
push ebx
push edi
mov edi, dword [ebp + 8]
sub edi, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
push 4
pop ebx
lea ecx, [eax + esi]
mov eax, esi
cdq
idiv ebx
mov al, byte [edx + ebp + 0x10]
xor al, byte [ecx + edi]
inc esi
cmp esi, dword [ebp + 0x14]
mov byte [ecx], al
jl 0x456ba2
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x40fcb8
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x492140
call fcn.004903c0
sub esp, 0x3c
push ebx
push esi
xor esi, esi
push edi
push esi
mov ebx, ecx
push 0x300a
call fcn.00421808
call dword [0x49a074]
lea ecx, [ebp - 0x24]
mov dword [ebx + 0x40e], eax
call fcn.00413e96
mov dword [ebp - 0x24], 0x49a6b8
test byte [ebx + 0x256], 1
mov dword [ebp - 4], esi
jne 0x40fd71
mov dword [ebp - 0x10], esi
mov ecx, dword [ebx + 0x248]
lea edi, [ebx + 0x244]
test ecx, ecx
jne 0x40fd15
xor eax, eax
jmp 0x40fd20
mov eax, dword [edi + 8]
push 0x18
sub eax, ecx
pop ecx
cdq
idiv ecx
mov esi, dword [ebp - 0x10]
cmp esi, eax
jge 0x40fd63
mov eax, dword [ebx + 0x248]
lea esi, [esi + esi*2]
shl esi, 3
test byte [eax + esi + 4], 2
jne 0x40fd5e
mov ecx, edi
call fcn.004133d1
cmp dword [ebp - 0x10], eax
jge 0x40fd53
mov eax, dword [edi + 4]
mov ecx, edi
add eax, esi
push eax
call fcn.00413f4f
dec dword [ebp - 0x10]
jns 0x40fd01
and dword [ebp - 0x10], 0
jmp 0x40fd01
inc dword [ebp - 0x10]
jmp 0x40fd01
mov byte [ebx + 0x34f], 1
xor bl, bl
jmp 0x40fe37
mov ecx, dword [ebx + 0x248]
cmp ecx, esi
je 0x40fd63
mov eax, dword [ebx + 0x24c]
push 0x18
sub eax, ecx
pop ecx
cdq
idiv ecx
cmp eax, esi
je 0x40fd63
jle 0x40fe1e
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x248]
mov ecx, dword [ebp - 0x10]
push 5
lea edi, [ebp - 0x48]
lea esi, [ecx + eax + 4]
mov al, byte [ebx + 0x256]
pop ecx
rep movsd dword es:[edi], dword [esi]
or byte [ebp - 0x48], 2
xor al, byte [ebp - 0x48]
mov ecx, dword [ebx + 0x34]
and al, 1
xor byte [ebp - 0x48], al
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00427dcc
mov ecx, eax
call fcn.00423113
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.0041313a
and byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x34], 0x49a694
mov dword [ebp - 0x30], 0x49a690
call fcn.00413ef7
push dword [ebx + 0x40]
mov ecx, dword [ebp - 0x1c]
call fcn.0040102c
push eax
mov ecx, ebx
call fcn.00429a77
add dword [ebp - 0x10], 0x18
dec dword [ebp - 0x14]
jne 0x40fd99
and byte [ebx + 0x2f8], 0
push 1
push 0x7d0
push 9
mov ecx, ebx
call fcn.004217c0
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x24], 0x49a694
mov dword [ebp - 0x20], 0x49a690
call fcn.00413ef7
mov ecx, dword [ebp - 0xc]
pop edi
mov al, bl
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x41de7e
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 1
pop esi
call fcn.0041db72
mov edi, dword [ebp + 8]
mov ecx, eax
mov dword [ebp + 8], 0xe
and dword [ecx + 0x134], 0
and dword [ecx + 0x130], 0
xor dword [ecx + 0x9c], edi
mov eax, dword [ebp + 8]
push 0x25
cdq
pop ebx
add dword [ebp + 8], 0xe
idiv ebx
xor dword [ecx + edx*4 + 0x9c], esi
sub edi, esi
cmp dword [ebp + 8], 0x206
lea eax, [ecx + edx*4 + 0x9c]
mov eax, esi
mov esi, edi
mov edi, eax
jl 0x41deac
mov esi, 0x3e8
call fcn.0041ddfc
dec esi
jne 0x41dedd
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41f687
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x20
mov eax, dword [esi*4 + 0x49a6f4]
pop edx
and eax, dword [ebp + 8]
sub edx, esi
cmp edx, esi
jl 0x41f6cc
push ebx
mov ebx, dword [ebp + 8]
mov edi, edx
sub edi, esi
mov ecx, edi
shr ebx, cl
mov ecx, edx
mov edx, ebx
mov ebx, eax
shr ebx, cl
mov ecx, edi
xor edx, ebx
and edx, dword [esi*4 + 0x49a778]
shl edx, cl
add eax, edx
mov edx, edi
cmp edx, esi
jge 0x41f6a3
pop ebx
test edx, edx
jle 0x41f6e2
mov edi, eax
mov ecx, esi
shr edi, cl
xor edi, dword [ebp + 8]
and edi, dword [edx*4 + 0x49a778]
add eax, edi
pop edi
pop esi
pop ebp
ret
Function at 0x41f9e5
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x49a30c]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x41fa1f
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x41fa1c
push 0x10
xor eax, eax
pop ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
shr edx, 5
add edx, dword [ebp - 0x10]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
mov esi, dword [ebp + 8]
add esi, eax
xor edx, esi
add ebx, edx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 8]
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add dword [ebp + 8], edx
dec ecx
jne 0x41fa33
mov esi, dword [0x49a308]
push ebx
call esi
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41fd20
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.004903a4
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
and dword [esi + 0x58], 0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
ret
Function at 0x4209ca
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x49a30c]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov ebx, eax
call esi
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x420a04
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x420a01
push 0xd
xor eax, eax
pop ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
shr edx, 5
add edx, dword [ebp - 0x10]
sub eax, 0x61c88647
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
mov esi, dword [ebp + 8]
add esi, eax
xor edx, esi
add ebx, edx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 8]
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add dword [ebp + 8], edx
dec ecx
jne 0x420a18
mov esi, dword [0x49a308]
push ebx
call esi
mov edi, dword [ebp + 0x10]
push dword [ebp + 8]
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x420a72
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push edi
push 0x10
lea eax, [ebp - 0x3c]
push dword [ebp + 0x10]
push eax
call fcn.004903e0
mov al, byte [ebp + 0xc]
push 5
mov byte [ebp - 8], al
mov eax, dword [ebp + 8]
mov dword [ebp - 7], eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041fcf1
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0x3c]
push 0x20
push eax
push edi
call fcn.0041fcf1
mov esi, edi
lea eax, [ebp - 0x2c]
add esp, 0x24
xor ecx, ecx
sub esi, eax
lea eax, [ebp + ecx - 0x2c]
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc ecx
cmp ecx, 0x10
mov byte [ebp + ecx - 0x1d], dl
jl 0x420abe
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
leave
ret
Function at 0x420d0c
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, dword [0x49a30c]
push edi
mov edi, dword [ebp + 8]
push dword [edi]
call esi
push dword [edi + 4]
mov dword [ebp + 8], eax
call esi
mov ebx, eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
lea edi, [ebp - 0x14]
sub eax, ecx
mov dword [ebp + 0xc], 4
mov dword [ebp - 4], eax
jmp 0x420d46
mov eax, dword [ebp - 4]
push dword [eax + edi]
call esi
mov dword [edi], eax
add edi, 4
dec dword [ebp + 0xc]
jne 0x420d43
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 8]
shr edx, 5
add edx, dword [ebp - 8]
shl esi, 4
add esi, dword [ebp - 0xc]
xor edx, esi
mov esi, dword [ebp + 8]
add esi, eax
xor edx, esi
sub ebx, edx
mov edx, ebx
mov esi, ebx
shr edx, 5
add edx, dword [ebp - 0x10]
shl esi, 4
add esi, dword [ebp - 0x14]
xor edx, esi
lea esi, [eax + ebx]
xor edx, esi
add eax, 0x61c88647
sub dword [ebp + 8], edx
dec ecx
jne 0x420d5d
push dword [ebp + 8]
mov esi, dword [0x49a308]
call esi
mov edi, dword [ebp + 0x10]
push ebx
mov dword [edi], eax
call esi
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret