joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ba0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
push edi
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
mov edi, dword [0x47d578]
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
mov edx, edi
and edx, ecx
cmp dword [0x47d57c], edx
ja 0x402bf5
shr edi, 1
or eax, 0xffffffff
sub eax, edi
add edx, eax
mov eax, dword [0x47d56c]
mov edi, dword [eax + edx*8]
lea ebx, [eax + edx*8]
mov edx, dword [0x47d564]
mov eax, edi
cmp edi, edx
jne 0x402c10
mov ecx, edx
jmp 0x402c15
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x402c45
mov ecx, dword [eax + 8]
cmp ecx, dword [esi]
je 0x402c24
mov eax, dword [eax]
jmp 0x402c08
mov ecx, dword [esi]
cmp ecx, dword [eax + 8]
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edx
jne 0x402c37
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
ret 8
mov eax, dword [esp + 0x10]
pop edi
pop esi
mov dword [eax], edx
pop ebx
ret 8

Function at 0x402c60
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
xor ecx, 0x811c9dc5
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul ecx, ecx, 0x1000193
push esi
mov esi, dword [0x47d578]
mov edx, esi
and edx, ecx
push edi
cmp dword [0x47d57c], edx
ja 0x402cb6
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add edx, eax
mov eax, dword [0x47d56c]
mov esi, dword [0x47d564]
mov edi, dword [eax + edx*8]
lea ebp, [eax + edx*8]
mov eax, edi
lea esp, [esp]
cmp edi, esi
jne 0x402cd8
mov ecx, esi
jmp 0x402cdd
mov ecx, dword [ebp + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x402d20
mov ecx, dword [eax + 8]
cmp ecx, dword [ebx]
je 0x402cec
mov eax, dword [eax]
jmp 0x402cd0
mov ebx, dword [ebx]
mov edx, eax
cmp edi, esi
jne 0x402cf8
mov ecx, esi
jmp 0x402cfd
mov ecx, dword [ebp + 4]
mov ecx, dword [ecx]
cmp eax, ecx
je 0x402d0a
cmp ebx, dword [eax + 8]
jne 0x402d0a
mov eax, dword [eax]
jmp 0x402cf0
cmp edx, eax
je 0x402d20
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], eax
mov dword [ecx], edx
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
ret 8
mov eax, dword [esp + 0x14]
pop edi
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x403ad0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
mov ebx, ecx
movzx edx, byte [edi + 8]
movzx eax, byte [edi + 9]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 0xa]
imul edx, edx, 0x1000193
mov esi, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 0xb]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x403b22
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [ebx + 8]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x403b4e
cmp dword [ecx], edi
jne 0x403b46
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx + 8]
mov eax, dword [ebx]
mov dword [edx + ecx + 4], eax
jmp 0x403b56
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x403b56
cmp dword [ecx], edi
jne 0x403b5a
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
cmp edi, dword [ebx]
je 0x403b79
mov eax, dword [edi + 4]
push edi
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
call fcn.0040afd8
add esp, 4
dec dword [ebx + 4]
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
ret 8
Function at 0x404dc0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, ecx
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
mov ecx, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov esi, ecx
and esi, edx
cmp dword [ebx + 0x18], esi
ja 0x404e12
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov ecx, dword [ebx]
lea ebp, [esi*8]
mov esi, dword [ebx + 8]
mov eax, dword [esi + ebp]
cmp eax, ecx
jne 0x404e29
mov esi, ecx
jmp 0x404e2f
mov esi, dword [esi + ebp + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x404e41
mov edx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x404e67
cmp esi, eax
jne 0x404e35
mov eax, dword [ecx]
push edi
push dword [eax + 4]
mov dword [esp + 0x20], eax
push eax
call fcn.00405c90
mov edx, eax
mov eax, dword [ebx + 4]
mov ecx, 0x15555554
sub ecx, eax
cmp ecx, 1
jae 0x404e78
jmp 0x404f03
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
inc eax
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x18]
mov dword [eax + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x404eb3
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
add ecx, ebp
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x404ec9
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + ebp + 4], edi
jmp 0x404eeb
cmp eax, esi
jne 0x404ed1
mov dword [ecx], edi
jmp 0x404eeb
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x404eeb
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + ebp + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebp + 4], eax
mov ecx, ebx
call fcn.00404f20
mov eax, dword [esp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
ret 0xc
push str.list_T__too_long
call fcn.0041f9eb
int3
Function at 0x405510
Capabilities:
Hash data using fnv

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
mov ebx, ecx
movzx edx, byte [edi]
movzx eax, byte [edi + 1]
xor edx, 0x811c9dc5
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [edi + 2]
imul edx, edx, 0x1000193
mov ecx, dword [ebx + 0x14]
xor edx, eax
movzx eax, byte [edi + 3]
imul edx, edx, 0x1000193
xor edx, eax
imul edx, edx, 0x1000193
mov esi, ecx
and esi, edx
cmp dword [ebx + 0x18], esi
ja 0x405562
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov ecx, dword [ebx]
lea ebp, [esi*8]
mov esi, dword [ebx + 8]
mov eax, dword [esi + ebp]
cmp eax, ecx
jne 0x405579
mov esi, ecx
jmp 0x40557f
mov esi, dword [esi + ebp + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x405591
mov edx, dword [edi]
mov esi, dword [esi + 4]
cmp dword [esi + 8], edx
je 0x4055d2
cmp esi, eax
jne 0x405585
mov edi, dword [esp + 0x1c]
mov eax, dword [edi]
cmp esi, eax
je 0x4055bc
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
add ecx, ebp
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x405606
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [eax + ebp + 4], edi
jmp 0x405628
mov edx, dword [esp + 0x1c]
cmp edx, ecx
je 0x4055f5
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
push edx
mov dword [ecx + 4], eax
call fcn.0040afd8
add esp, 4
dec dword [ebx + 4]
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebp
pop ebx
ret 0xc
cmp eax, esi
jne 0x40560e
mov dword [ecx], edi
jmp 0x405628
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x405628
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + ebp + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebp + 4], eax
mov ecx, ebx
call fcn.00404f20
mov eax, dword [esp + 0x14]
mov dword [eax], edi
pop edi
pop esi
pop ebp
mov byte [eax + 4], 1
pop ebx
ret 0xc
Function at 0x406720
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x14]
cmp dword [edi + 0x1c], 0x10
mov ebx, dword [edi + 0x18]
lea edx, [edi + 8]
jb 0x406735
mov edx, dword [edx]
xor ecx, ecx
mov esi, 0x811c9dc5
test ebx, ebx
je 0x406751
movzx eax, byte [edx + ecx]
xor esi, eax
inc ecx
imul esi, esi, 0x1000193
cmp ecx, ebx
jb 0x406740
mov edx, dword [0x47d554]
mov ecx, edx
and ecx, esi
cmp dword [0x47d558], ecx
ja 0x40676c
shr edx, 1
or eax, 0xffffffff
sub eax, edx
add ecx, eax
lea edx, [ecx*8]
mov ecx, dword [0x47d548]
add ecx, edx
cmp dword [ecx + 4], edi
jne 0x4067a4
cmp dword [ecx], edi
jne 0x40679c
mov eax, dword [0x47d540]
mov dword [ecx], eax
mov ecx, dword [0x47d548]
mov eax, dword [0x47d540]
mov dword [edx + ecx + 4], eax
jmp 0x4067ac
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
jmp 0x4067ac
cmp dword [ecx], edi
jne 0x4067b0
mov eax, dword [edi]
mov dword [ecx], eax
mov edi, dword [esp + 0x14]
mov esi, dword [edi]
cmp edi, dword [0x47d540]
je 0x4067f9
mov eax, dword [edi + 4]
mov dword [eax], esi
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov dword [ecx + 4], eax
cmp dword [edi + 0x1c], 0x10
jb 0x4067d8
push dword [edi + 8]
call fcn.0040afd8
add esp, 4
mov dword [edi + 0x1c], 0xf
mov dword [edi + 0x18], 0
push edi
mov byte [edi + 8], 0
call fcn.0040afd8
add esp, 4
dec dword [0x47d544]
mov eax, dword [esp + 0x10]
pop edi
mov dword [eax], esi
pop esi
pop ebx
ret 8
Function at 0x4171b6
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4772e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.0041436d
mov dword [ebp - 0x14], eax
cmp dword [0x47ba28], edi
jne 0x4172a7
push 0x800
push edi
push 0x464e80
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x417234
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x417387
push 0x464e80
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x417387
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417387
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x47ba28], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x47ba2c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x47ba30], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47ba38], eax
test eax, eax
je 0x4172a4
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x47ba34], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x4172cc
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4172bf
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x4172e1
push 4
pop eax
jmp 0x417389
cmp dword [ebp - 0x14], edi
je 0x4172e1
push dword [0x47ba28]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4172c6
mov eax, dword [0x47ba34]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41733f
cmp dword [0x47ba38], esi
je 0x41733f
push eax
call ebx
push dword [0x47ba38]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41733f
test eax, eax
je 0x41733f
call ecx
test eax, eax
je 0x417334
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x417334
test byte [ebp - 8], 1
jne 0x41733f
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41736f
mov eax, dword [0x47ba2c]
cmp eax, esi
je 0x41736c
push eax
call ebx
test eax, eax
je 0x41736c
call eax
mov edi, eax
test edi, edi
je 0x41736c
mov eax, dword [0x47ba30]
cmp eax, esi
je 0x41736c
push eax
call ebx
test eax, eax
je 0x41736c
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x47ba28]
call ebx
test eax, eax
je 0x417387
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x417389
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004086d3
leave
ret
Function at 0x41abe1
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0040dc31
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x41ac19
xor eax, eax
jmp 0x41ac45
cmp esi, dword [ebp - 4]
je 0x41ac42
cmp dword [ebp + 0xc], 0
je 0x41ac42
push dword [edi + 0x9c]
call fcn.0041a7ef
push dword [edi + 0x9c]
mov esi, eax
call fcn.004170df
pop ecx
pop ecx
cmp esi, eax
je 0x41ac15
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x44a4f0
Capabilities:
Read file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x46a588
push edi
mov dword [esp + 0x18], edx
call fcn.0040a784
mov esi, eax
add esp, 8
test esi, esi
jne 0x44a51a
push edi
push 0x64
call fcn.0045aef0
add esp, 8
push 2
push 0
push esi
call fcn.0040bdf7
push esi
call fcn.0040b9ce
push 0
push 0
push esi
mov ebp, eax
call fcn.0040bdf7
lea eax, [ebp + 1]
push eax
call fcn.0040871a
mov ebx, eax
add esp, 0x20
test ebx, ebx
jne 0x44a552
push 0x67
call fcn.0045aef0
add esp, 4
lea eax, [ebp + 1]
push eax
push 0
push ebx
call fcn.00413930
push esi
push ebp
push 1
push ebx
call fcn.0040adf0
add esp, 0x1c
cmp eax, ebp
jae 0x44a57a
push edi
push 0x64
call fcn.0045aef0
add esp, 8
push esi
call fcn.0040bf2d
push 0x190
call fcn.0040871a
mov edi, eax
add esp, 8
test edi, edi
jne 0x44a59d
push 0x67
call fcn.0045aef0
add esp, 4
push str.__t_r_n
push ebx
call fcn.0040a1c9
add esp, 8
mov esi, 1
test eax, eax
je 0x44a5df
push str.__t_r_n
push 0
mov dword [edi + esi*4], eax
call fcn.0040a1c9
inc esi
add esp, 8
cmp esi, 0x64
jl 0x44a5b0
test eax, eax
je 0x44a5df
push str.option_table
push 0x66
call fcn.0045aef0
add esp, 8
push dword [esp + 0x24]
mov edx, edi
push dword [esp + 0x24]
mov ecx, esi
push dword [esp + 0x24]
push dword [esp + 0x24]
push dword [esp + 0x20]
call fcn.0044a620
push edi
call fcn.004086e2
push ebx
call fcn.004086e2
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x44ca00
Capabilities:
Write file on windows

Disassembly:
push ecx
push dword [esp + 8]
push 1
push edx
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, dword [esp + 4]
sete cl
mov eax, ecx
ret
Function at 0x45c490
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x14
mov eax, dword [0x4772e0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov ebp, edx
mov edi, ecx
mov eax, 1
jmp 0x45c4b0
dec eax
cmp dword [0x47a978], 0
mov dword [esp + 0x14], eax
je 0x45c5ad
mov ecx, dword [ebp]
mov bl, cl
shr ecx, 7
mov al, cl
and al, 0x7f
shr ecx, 7
mov byte [esp + 0x19], al
mov al, cl
shr ecx, 7
mov dl, cl
and al, 0x7f
and bl, 0x7f
and dl, 0x7f
shr ecx, 7
and cl, 0x7f
mov byte [esp + 0x1a], al
mov byte [esp + 0x18], bl
mov byte [esp + 0x1b], dl
mov byte [esp + 0x1c], cl
mov esi, 5
lea eax, [esp + 0x1c]
cmp byte [eax + esi - 5], 0
jne 0x45c517
test byte [esp + esi + 0x16], 0x40
jne 0x45c517
dec esi
cmp esi, 1
jg 0x45c503
cmp esi, 5
jne 0x45c52d
cmp cl, 0xf
jne 0x45c532
test dl, 0x40
je 0x45c532
mov esi, 4
jmp 0x45c532
cmp esi, 1
jle 0x45c54a
lea eax, [esp + 0x18]
cmp byte [eax + esi - 1], 0x7f
jne 0x45c54a
test byte [esp + esi + 0x16], 0x40
je 0x45c54a
dec esi
cmp esi, 1
jg 0x45c536
test esi, esi
jle 0x45c590
mov edi, edi
dec esi
jne 0x45c559
mov byte [esp + 0x13], bl
jmp 0x45c563
mov al, byte [esp + esi + 0x18]
or al, 0x80
mov byte [esp + 0x13], al
push edi
push 1
lea eax, [esp + 0x1b]
push 1
push eax
call fcn.0040b344
dec eax
add esp, 0x10
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
sete cl
inc dword [0x47e908]
or dword [0x47e900], ecx
test esi, esi
jg 0x45c550
mov ecx, dword [0x47e904]
mov eax, dword [0x47e908]
add ecx, 4
sub eax, ecx
mov dword [0x47e904], ecx
cmp eax, 0x3e
jl 0x45c5d0
jmp 0x45c5f2
push edi
push 4
push 1
push ebp
call fcn.0040b344
xor ecx, ecx
add esp, 0x10
cmp eax, 4
sete cl
xor eax, eax
test ecx, ecx
sete al
or dword [0x47e900], eax
mov eax, dword [esp + 0x14]
add ebp, 4
test eax, eax
jg 0x45c4b0
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004086d3
add esp, 0x14
ret
push 1
push 0x47e8c0
call fcn.0040ba40
int3
Function at 0x45d8b0
Capabilities:
Check for software breakpoints

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
mov ebx, ecx
mov ebp, edx
cmp byte [ebx], 0
push edi
mov dword [esp + 0x10], ebp
mov dword [esi], 0
mov edi, ebx
je 0x45d909
mov edi, edi
mov al, byte [edi]
cmp al, 0x21
je 0x45d900
cmp al, 0x25
je 0x45d8de
inc dword [esi]
jmp 0x45d903
inc edi
push edi
call fcn.00409c6c
lea ecx, [eax - 1]
imul ecx, ecx, 0x29
add esp, 4
add ecx, ebp
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45d8f3
sub ecx, edx
add dword [esi], ecx
jmp 0x45d903
add dword [esi], 3
inc edi
cmp byte [edi], 0
jne 0x45d8d0
push dword [esi]
call fcn.0040871a
mov ebp, eax
add esp, 4
mov dword [esp + 0x18], ebp
test ebp, ebp
jne 0x45d931
pop edi
pop esi
pop ebp
pop ebx
add esp, 4
mov dword [esp + 4], 0x67
jmp fcn.0045aef0
mov byte [ebp], 9
mov al, byte [ebx]
lea esi, [ebp + 1]
test al, al
je 0x45d9ab
mov ebp, dword [esp + 0x10]
mov cl, al
cmp cl, 0x21
je 0x45d98d
cmp cl, 0x25
je 0x45d952
mov byte [esi], al
jmp 0x45d99e
inc ebx
push ebx
call fcn.00409c6c
dec eax
imul eax, eax, 0x29
mov edi, esi
lea edx, [eax + ebp]
add esp, 4
mov ecx, edx
sub edi, edx
lea esp, [esp]
mov al, byte [ecx]
mov byte [edi + ecx], al
lea ecx, [ecx + 1]
test al, al
jne 0x45d970
lea ecx, [edx + 1]
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x45d980
sub edx, ecx
add esi, edx
jmp 0x45d99f
mov word [esi], 0xa
add esi, 2
cmp byte [ebx + 1], 0
je 0x45d99f
mov byte [esi], 9
inc esi
mov al, byte [ebx + 1]
inc ebx
test al, al
jne 0x45d942
mov ebp, dword [esp + 0x18]
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
pop ecx
ret
Function at 0x4031f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_KillTimer]
push edi
mov edi, dword [esp + 0x14]
mov dword [section..data], 0x2bad
xor ebx, ebx
mov byte [ebx + edi], bl
mov eax, dword [0x406868]
push eax
push eax
call esi
inc ebx
cmp ebx, 0x100
jl 0x40320a
mov ebx, dword [sym.imp.USER32.dll_SetTimer]
mov byte [edi + 0x100], 0
mov eax, dword [0x40686c]
push 0
push 0x51be
push 0x40
push eax
call ebx
mov byte [edi + 0x101], 0
mov ecx, dword [0x406868]
push 0
push 0x2d97
push 0x2e
push ecx
call ebx
mov eax, dword [0x40600c]
mov ecx, 0xe1e
cdq
idiv ecx
xor esi, esi
xor ebp, ebp
mov dword [section..data], edx
mov eax, esi
mov ecx, dword [esp + 0x18]
cdq
idiv dword [esp + 0x1c]
xor eax, eax
push 0
push 0x1a74
push 0x5a
mov al, byte [edx + ecx]
xor edx, edx
mov dl, byte [esi + edi]
mov ecx, dword [0x40686c]
add edx, ebp
push ecx
lea ebp, [edx + eax]
mov eax, dword [0x406004]
add eax, 0xffffaa49
and ebp, 0xff
mov dword [section..data], eax
call ebx
mov dl, byte [edi + ebp]
xor eax, eax
mov al, byte [esi + edi]
mov byte [esi + edi], dl
mov byte [edi + ebp], al
mov ecx, dword [0x406018]
mov eax, 0x74017905
imul ecx
sar edx, 0xc
mov eax, edx
shr eax, 0x1f
add edx, eax
inc esi
cmp esi, 0x100
mov dword [section..data], edx
jl 0x40326d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x4032f0
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
mov eax, dword [0x40601c]
mov ecx, 0x793e
cdq
idiv ecx
mov eax, dword [0x406874]
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
mov dword [str.br_b], edx
mov edx, dword [0x406870]
push edx
push eax
call edi
mov esi, dword [esp + 0x10]
mov ecx, dword [0x406880]
mov edx, dword [0x406870]
xor eax, eax
mov al, byte [esi + 0x101]
xor ebx, ebx
mov bl, byte [esi + 0x100]
push ecx
push edx
mov dword [esp + 0x18], eax
call edi
mov eax, dword [0x406874]
push 0
push 0x583
push 0x16
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [esp + 0x18]
xor edi, edi
test eax, eax
jle 0x40342e
push ebp
mov ebp, dword [esp + 0x18]
mov ecx, dword [0x40601c]
mov eax, dword [str.M12T__fAR_r_vy]
inc ebx
add ecx, 0xffffd2b9
and ebx, 0xff
xor edx, edx
mov dword [str.br_b], 0x1ded
mov dword [0x406014], ecx
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x14]
add eax, 0x4203
add ecx, edx
mov edx, dword [0x406024]
mov dword [0x406010], eax
mov eax, 0x2f149903
and ecx, 0xff
imul edx
sar edx, 4
mov eax, edx
mov dword [esp + 0x14], ecx
shr eax, 0x1f
add edx, eax
xor eax, eax
mov dword [0x406024], edx
mov dl, byte [ecx + esi]
mov al, byte [ebx + esi]
mov byte [ebx + esi], dl
mov dword [esp + 0x18], eax
mov byte [ecx + esi], al
mov eax, dword [0x406868]
mov ecx, dword [0x40686c]
push eax
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov dl, byte [ebx + esi]
mov ecx, dword [esp + 0x18]
add edx, ecx
and edx, 0xff
mov al, byte [edx + esi]
mov dl, byte [edi + ebp]
xor dl, al
mov eax, dword [esp + 0x1c]
mov byte [edi + ebp], dl
mov ecx, dword [0x406030]
add ecx, 0xffff95e3
inc edi
cmp edi, eax
mov dword [0x40600c], ecx
jl 0x40336b
pop ebp
mov dl, byte [esp + 0x10]
push 0
mov byte [esi + 0x101], dl
mov eax, dword [0x406890]
push 0x724a
push 0x14
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [esi + 0x100], bl
mov ecx, dword [0x40603c]
add ecx, 0x3bfa
pop edi
pop esi
mov dword [section..data], ecx
pop ebx
ret