joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000277d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0xc]
xor esi, esi
mov ebx, esi
cmp eax, dword [edi + 8]
jne 0x100028f0
push 0x802
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x100028fd
push 0x802
push esi
push ebx
call sub.MSVCR100.dll_memset
mov edx, dword [edi + 0x20]
add esp, 0xc
lea ecx, [edi + 8]
test edx, edx
jne 0x100027e4
push esi
push ecx
push 0x800
push ebx
push dword [edi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100028f3
jmp 0x100027f9
mov eax, dword [edx]
push ecx
push 0x800
push ebx
push edx
call dword [eax + 0xc]
test eax, eax
js 0x100028f3
lea eax, [edi + 8]
mov ecx, dword [eax]
test ecx, ecx
je 0x100028f3
cmp dword [edi + 0x14], esi
jne 0x10002850
movsx edx, byte [ebx]
cmp edx, 0xff
jne 0x10002829
movsx eax, byte [ebx + 1]
cmp eax, 0xfe
jne 0x10002829
xor eax, eax
inc eax
mov dword [edi + 0x18], eax
jmp 0x10002847
cmp edx, 0xfe
jne 0x10002844
movsx eax, byte [ebx + 1]
cmp eax, 0xff
jne 0x10002844
xor eax, eax
inc eax
mov dword [edi + 0x1c], eax
jmp 0x10002824
xor eax, eax
inc eax
mov dword [ebp - 4], eax
mov dword [edi + 0x14], eax
lea eax, [edi + 8]
cmp dword [edi + 0x18], esi
je 0x10002859
shr ecx, 1
mov dword [eax], ecx
cmp dword [edi + 0x1c], esi
je 0x1000288a
mov eax, dword [eax]
lea eax, [eax*2 - 2]
test eax, eax
je 0x1000288a
dec eax
shr eax, 1
inc eax
lea edx, [ebx + 1]
mov dword [ebp - 8], eax
mov edi, eax
mov cl, byte [edx - 1]
mov al, byte [edx]
mov byte [edx - 1], al
mov byte [edx], cl
add edx, 2
dec edi
jne 0x10002877
mov edi, dword [ebp + 8]
cmp dword [edi + 0x18], esi
je 0x1000289e
push dword [edi + 0x10]
call fcn.10002906
mov dword [edi + 0x10], ebx
mov ebx, esi
jmp 0x100028e0
mov eax, dword [0x1000954c]
test al, 1
jne 0x100028bf
or eax, 1
mov dword [0x1000954c], eax
call dword [sym.imp.KERNEL32.dll_GetACP]
mov ecx, eax
mov dword [0x10009548], ecx
jmp 0x100028c5
mov ecx, dword [0x10009548]
push 0x800
push dword [edi + 0x10]
push dword [edi + 8]
push ebx
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [edi + 8], eax
test eax, eax
je 0x100028f3
cmp dword [ebp - 4], esi
je 0x100028ed
cmp dword [edi + 0x18], esi
je 0x100028ed
xor esi, esi
inc esi
mov dword [edi + 0xc], esi
xor esi, esi
inc esi
test ebx, ebx
je 0x100028fd
push ebx
call fcn.10002906
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 4
Function at 0x100029e9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x18]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jle 0x10002a1e
and eax, 0xffff
or eax, 0x80070000
test eax, eax
js 0x10002a57
mov edx, dword [ebp - 4]
test edi, edi
jne 0x10002a2b
test esi, esi
jmp 0x10002a45
test esi, esi
je 0x10002a4e
cmp edx, 1
je 0x10002a39
cmp edx, 2
jne 0x10002a4e
mov ecx, dword [edi]
cmp ecx, 2
jb 0x10002a47
cmp word [ecx + esi - 2], bx
je 0x10002a4e
mov eax, 0x8000ffff
jmp 0x10002a57
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10002a57
mov dword [ecx], edx
pop edi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1000577d
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100057a3
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10005788
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10005790
cmp edx, ebx
jne 0x100058de
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000575f
add eax, dword [eax + 4]
jmp 0x1000574c
mov dword [ebp + 0xc], ebx
jmp 0x100057ae
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100057c6
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100057e4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
xbegin 0x9b0057e2
js 0x10005808
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10005842
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10005829
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10005832
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000583c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000581e
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100057a8
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000588f
dec eax
je 0x10005886
sub eax, 3
je 0x1000587d
mov dword [ebp - 4], 0x40
jmp 0x100058ac
mov dword [ebp - 4], 4
jmp 0x10005892
mov dword [ebp - 4], 0x20
jmp 0x10005892
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100058de
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000585e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100050ef
fsubp st(3)
mov byte [ecx + 0x6a1475ff], bh
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x100058ea
invalid
invalid
invalid
Function at 0x100057dc
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x100057a3
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10005788
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x10005790
cmp edx, ebx
jne 0x100058de
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1000575f
add eax, dword [eax + 4]
jmp 0x1000574c
mov dword [ebp + 0xc], ebx
jmp 0x100057ae
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x100057c6
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100057e4
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
xbegin 0x9b0057e2
js 0x10005808
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x10005842
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
and byte [ecx + 0x1065], al
invalid
invalid
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x10005829
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10005832
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000583c
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000581e
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x100057a8
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000588f
dec eax
je 0x10005886
sub eax, 3
je 0x1000587d
mov dword [ebp - 4], 0x40
jmp 0x100058ac
mov dword [ebp - 4], 4
jmp 0x10005892
mov dword [ebp - 4], 0x20
jmp 0x10005892
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x100058de
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000585e
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.100050ef
fsubp st(3)
mov byte [ecx + 0x6a1475ff], bh
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x100058ea
invalid
invalid
invalid

Function at 0x1000596d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ebx, 0x40fffffc
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.100050ff
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100050b4
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
xchg ebp, eax
je 0x100059a6
invalid
dec dword [ecx - 0x6737b]
inc edi
test dword [esp + edi*8 - 1], edi
inc dword [eax + eax]
add byte [eax], al
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
ror byte [ebp - 0x33243], 0xff
Function at 0x100059ca
Capabilities:
Contain obfuscated stackstrings

Disassembly:
ror byte [ebp - 0x33243], 0xff
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2

Function at 0x10005d02
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call fcn.100050b4
add esp, 0xc
mov dword [ebp - 0x39c], eax
call fcn.100050ef
jno 0x10005cef
pop ds
sbb dword [eax - 0x5135b], eax
inc dword [eax]
and byte [ebp - 0x513], 0
mov byte [ebp - 0x512], 0xe3
and byte [ebp - 0x511], 0
mov byte [ebp - 0x510], 0x5b
mov byte [ebp - 0x50f], 0x79
mov byte [ebp - 0x50e], 0x68
mov byte [ebp - 0x50d], 0x5a
mov byte [ebp - 0x50c], 0x75
mov byte [ebp - 0x50b], 0x70
mov byte [ebp - 0x50a], 0x79
mov byte [ebp - 0x509], 0x4f
mov byte [ebp - 0x508], 0x75
mov byte [ebp - 0x507], 0x66
mov byte [ebp - 0x506], 0x79
mov byte [ebp - 0x505], 0x1c
lea eax, [ebp - 0x514]
push eax
call fcn.100050ff
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.100050b4
add esp, 0xc
mov dword [ebp - 0x33c], eax
call fcn.100050ef
rcl dh, 0xc2
salc
ret 0x68b1
add al, 1
add byte [eax], al
lea eax, [ebp - 0x334]
push eax
push dword [ebp + 8]
call dword [ebp - 0x538]
mov dword [ebp - 0x398], eax
mov byte [ebp - 0x544], 1
cmp dword [ebp - 0x398], 0
je 0x10005de3
cmp dword [ebp - 0x398], 0
je 0x10005fad
cmp dword [ebp + 0xc], 1
je 0x10005fad
cmp dword [ebp + 0xc], 8
jne 0x10005f75
and byte [ebp - 0x6b8], 0
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
Function at 0x10007a7b
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x100096e0], eax
mov dword [0x100096dc], ecx
mov dword [0x100096d8], edx
mov dword [0x100096d4], ebx
mov dword [0x100096d0], esi
mov dword [0x100096cc], edi
mov word [0x100096f8], ss
mov word [0x100096ec], cs
mov word [0x100096c8], ds
mov word [0x100096c4], es
mov word [0x100096c0], fs
mov word [0x100096bc], gs
pushfd
pop dword [0x100096f0]
mov eax, dword [ebp]
mov dword [0x100096e4], eax
mov eax, dword [ebp + 4]
mov dword [0x100096e8], eax
lea eax, [ebp + 8]
mov dword [0x100096f4], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10009630], 0x10001
mov eax, dword [0x100096e8]
mov dword [0x100095e4], eax
mov dword [0x100095d8], 0xc0000409
mov dword [0x100095dc], 1
mov eax, dword [0x10001a44]
mov dword [ebp - 0x328], eax
mov eax, dword [0x100094f0]
mov dword [ebp - 0x324], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x10009628], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10001c64
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x10009628], 0
jne 0x10007b67
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x42b290
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
jmp 0x42b2aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42b2b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b2a0
mov eax, 1
add ebx, ebx
jne 0x42b2c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42b2d4
jne 0x42b2e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42b2e4
dec eax
add ebx, ebx
jne 0x42b2e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x42b2b8
xor ecx, ecx
sub eax, 3
jb 0x42b2fc
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42b36e
sar eax, 1
mov ebp, eax
jmp 0x42b307
add ebx, ebx
jne 0x42b307
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42b314
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42b338
inc ecx
add ebx, ebx
jne 0x42b324
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42b319
jne 0x42b335
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42b319
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42b358
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42b349
jmp 0x42b2a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42b358
add edi, ecx
jmp 0x42b2a6
pop esi
mov edi, esi
mov ecx, 0xd6e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42b376
cmp byte [edi], 0xc
jne 0x42b376
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42b37b
lea edi, [esi + 0x29000]
mov eax, dword [edi]
or eax, eax
je 0x42b3ea
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x3086c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3090c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42b3a8
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x30910]
or eax, eax
je 0x42b3e4
mov dword [ebx], eax
add ebx, 4
jmp 0x42b3c5
call dword [esi + 0x30920]
mov ebp, dword [esi + 0x30914]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x247]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42b41e
sub esp, 0xffffff80
jmp 0x4079b4

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405ae0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x453b5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x230
mov eax, dword [0x46c3ac]
push ebx
push esi
push edi
mov dword [esp + 0x234], eax
mov ebx, ecx
xor esi, esi
xor eax, eax
mov word [esp + 0x28], si
mov ecx, 0x81
lea edi, [esp + 0x2a]
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
push 0x2b
lea eax, [esp + 0x30]
push eax
push esi
call dword [0x456408]
mov edi, 7
push 0x457270
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
call fcn.00432636
add esp, 4
push eax
push 0x457270
lea ecx, [esp + 0x14]
call fcn.00404f80
mov ecx, dword [ebx + 0x288]
mov edx, dword [ecx]
lea eax, [esp + 0xc]
push eax
mov dword [esp + 0x248], esi
call dword [edx + 0x10]
mov esi, eax
cmp dword [esp + 0x24], 8
mov dword [esp + 0x244], 0xffffffff
jb 0x405b9d
mov ecx, dword [esp + 0x10]
push ecx
call fcn.0044b775
add esp, 4
mov dword [esp + 0x24], edi
xor edi, edi
cmp esi, edi
mov dword [esp + 0x20], edi
mov word [esp + 0x10], di
je 0x405bef
lea edx, [esp + 0x28]
push 0x4570f8
push edx
call fcn.004323d1
mov eax, dword [esi + 0x18]
add esp, 8
cmp eax, 8
jb 0x405bcf
mov esi, dword [esi + 4]
jmp 0x405bd2
add esi, 4
lea eax, [esp + 0x28]
push esi
push eax
call fcn.004323d1
lea ecx, [esp + 0x30]
push 0x4570f8
push ecx
call fcn.004323d1
add esp, 0x10
lea edx, [esp + 0x28]
push edx
lea esi, [ebx + 0x270]
push 0x456f48
push esi
call fcn.00403960
mov eax, dword [esi]
add esp, 0xc
push eax
call dword [0x45641c]
test eax, eax
jne 0x405c1f
mov eax, dword [esi]
push edi
push eax
call dword [0x456374]
mov ecx, dword [esp + 0x23c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x234]
mov eax, 1
call fcn.00431d98
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429c9a
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, eax
push dword [edi]
call fcn.0043ea10
push dword [edi + 4]
mov esi, eax
call fcn.0043ea10
mov edi, eax
xor ebx, ebx
push dword [ebx + 0x488990]
call fcn.0043ea10
mov dword [ebp + ebx - 0x10], eax
add ebx, 4
cmp ebx, 0x10
jl 0x429cba
push 0x10
xor eax, eax
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 0xc]
mov ebx, edi
shl ebx, 4
add ebx, dword [ebp - 0x10]
sub eax, 0x61c88647
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
add esi, edx
mov edx, esi
shr edx, 5
add edx, dword [ebp - 4]
mov ebx, esi
shl ebx, 4
add ebx, dword [ebp - 8]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
add edi, edx
dec ecx
jne 0x429cd6
push esi
call fcn.0043dc38
mov esi, dword [ebp + 8]
push edi
mov dword [esi], eax
call fcn.0043dc38
pop edi
mov dword [esi + 4], eax
pop esi
pop ebx
leave
ret
Function at 0x429f1b
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x498030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov esi, edx
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x208], eax
jne 0x429f4c
or eax, 0xffffffff
jmp 0x42a090
cmp dword [ebp + 8], edi
jg 0x429f59
push 0xfffffffffffffffe
pop eax
jmp 0x42a090
cmp dword [ebp + 0x14], edi
jne 0x429f62
push 0xfffffffffffffffd
jmp 0x429f53
cmp dword [ebp + 0x10], edi
jg 0x429f6b
push 0xfffffffffffffffc
jmp 0x429f53
cmp eax, edi
jne 0x429f73
push 0xfffffffffffffffb
jmp 0x429f53
cmp ecx, edi
jg 0x429f7b
push 0xfffffffffffffffa
jmp 0x429f53
cmp dword [ebp + 0x10], ecx
jge 0x429f84
push 0xfffffffffffffff9
jmp 0x429f53
xor edx, edx
xor ecx, ecx
mov al, byte [edx + esi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
idiv dword [ebp + 8]
mov byte [ebp + ecx - 0x104], cl
inc ecx
cmp ecx, 0x100
jl 0x429f88
xor esi, esi
push ebx
movzx ecx, byte [ebp + edi - 0x204]
lea eax, [ebp + edi - 0x104]
mov dl, byte [eax]
movzx ebx, dl
add ecx, esi
add ebx, ecx
mov esi, ebx
and esi, 0x800000ff
jns 0x429fd6
dec esi
or esi, 0xffffff00
inc esi
lea ecx, [ebp + esi - 0x104]
mov bl, byte [ecx]
inc edi
cmp edi, 0x100
mov byte [ecx], dl
mov byte [eax], bl
jl 0x429fac
mov eax, dword [ebp + 0x18]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x20c], edi
jle 0x42a08d
mov esi, dword [ebp - 0x208]
mov ecx, dword [ebp + 0x14]
sub ecx, esi
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], eax
inc edi
and edi, 0x800000ff
jns 0x42a027
dec edi
or edi, 0xffffff00
inc edi
lea eax, [ebp + edi - 0x104]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x20c]
and ecx, 0x800000ff
jns 0x42a047
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [eax]
mov dword [ebp - 0x20c], ecx
lea ecx, [ebp + ecx - 0x104]
mov dl, byte [ecx]
mov byte [ecx], bl
mov byte [eax], dl
movzx ecx, byte [ecx]
movzx eax, dl
add eax, ecx
and eax, 0x800000ff
jns 0x42a072
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x210]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
dec dword [ebp - 0x208]
jne 0x42a016
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043de0c
leave
ret
Function at 0x42a09e
Capabilities:
Encrypt data using rc4 ksa
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x498030]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x18]
push esi
push edi
mov esi, edx
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x208], eax
jne 0x42a0cf
or eax, 0xffffffff
jmp 0x42a213
cmp dword [ebp + 8], edi
jg 0x42a0dc
push 0xfffffffffffffffe
pop eax
jmp 0x42a213
cmp eax, edi
jne 0x42a0e4
push 0xfffffffffffffffd
jmp 0x42a0d6
cmp dword [ebp + 0x10], edi
jg 0x42a0ed
push 0xfffffffffffffffc
jmp 0x42a0d6
cmp dword [ebp + 0x14], edi
jne 0x42a0f6
push 0xfffffffffffffffb
jmp 0x42a0d6
cmp ecx, edi
jg 0x42a0fe
push 0xfffffffffffffffa
jmp 0x42a0d6
cmp dword [ebp + 0x10], ecx
jge 0x42a107
push 0xfffffffffffffff9
jmp 0x42a0d6
xor edx, edx
xor ecx, ecx
mov al, byte [edx + esi]
mov byte [ebp + ecx - 0x204], al
lea eax, [edx + 1]
cdq
idiv dword [ebp + 8]
mov byte [ebp + ecx - 0x104], cl
inc ecx
cmp ecx, 0x100
jl 0x42a10b
xor esi, esi
push ebx
movzx ecx, byte [ebp + edi - 0x204]
lea eax, [ebp + edi - 0x104]
mov dl, byte [eax]
movzx ebx, dl
add ecx, esi
add ebx, ecx
mov esi, ebx
and esi, 0x800000ff
jns 0x42a159
dec esi
or esi, 0xffffff00
inc esi
lea ecx, [ebp + esi - 0x104]
mov bl, byte [ecx]
inc edi
cmp edi, 0x100
mov byte [ecx], dl
mov byte [eax], bl
jl 0x42a12f
mov eax, dword [ebp + 0x18]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x20c], edi
jle 0x42a210
mov esi, dword [ebp - 0x208]
mov ecx, dword [ebp + 0x14]
sub ecx, esi
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x208], eax
inc edi
and edi, 0x800000ff
jns 0x42a1aa
dec edi
or edi, 0xffffff00
inc edi
lea eax, [ebp + edi - 0x104]
movzx ecx, byte [eax]
add ecx, dword [ebp - 0x20c]
and ecx, 0x800000ff
jns 0x42a1ca
dec ecx
or ecx, 0xffffff00
inc ecx
mov bl, byte [eax]
mov dword [ebp - 0x20c], ecx
lea ecx, [ebp + ecx - 0x104]
mov dl, byte [ecx]
mov byte [ecx], bl
mov byte [eax], dl
movzx ecx, byte [ecx]
movzx eax, dl
add eax, ecx
and eax, 0x800000ff
jns 0x42a1f5
dec eax
or eax, 0xffffff00
inc eax
mov al, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x210]
xor al, byte [ecx + esi]
mov byte [esi], al
inc esi
dec dword [ebp - 0x208]
jne 0x42a199
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0043de0c
leave
ret