joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401060
Capabilities:
Check if file exists
Enumerate files on windows
Enumerate files recursively
Move file

Disassembly:
sub esp, 0x258
push ebx
mov ebx, dword [esp + 0x264]
mov eax, ebx
push esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x401074
sub eax, edx
sar eax, 1
mov esi, eax
lea eax, [esi + esi]
mov ecx, 0x5c
mov word [eax + ebx], cx
mov dword [esp + 0xc], eax
lea eax, [eax + ebx + 2]
mov edx, 0x2a
lea ecx, [esp + 0x10]
mov word [eax], dx
push ecx
xor eax, eax
push ebx
mov word [ebx + esi*2 + 4], ax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x40125a
push ebp
mov ebp, dword [esp + 0x270]
push edi
lea ecx, [esi + 1]
mov edi, ebp
mov esi, ebx
rep movsw word es:[edi], word [esi]
mov edi, dword [esp + 0x26c]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileW]
cmp word [esp + 0x44], 0x2e
jne 0x401109
mov ax, word [esp + 0x46]
test ax, ax
je 0x4011e5
cmp ax, 0x2e
jne 0x401109
cmp word [esp + 0x48], 0
je 0x4011e5
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x44]
lea edx, [edx + ebx + 2]
mov ecx, eax
sub edx, ecx
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x401120
lea ecx, [esp + 0x24c]
lea eax, [esp + 0x44]
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x401166
test dx, dx
je 0x401162
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x401166
add eax, 4
add ecx, 4
test dx, dx
jne 0x401140
xor eax, eax
jmp 0x40116b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x4011ce
lea edx, [esp + 0x24c]
push edx
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x4011ce
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x24c]
mov edx, eax
sub ecx, edx
lea edx, [ecx + ebp + 2]
lea esp, [esp]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x4011a0
push ebp
push ebx
call esi
test eax, eax
jne 0x4011ce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebp
push ebx
push 0x4020e8
push edi
call section..code
add esp, 0x14
mov eax, dword [esp + 0x18]
test al, 0x10
je 0x4011e5
test eax, 0x400
jne 0x4011e5
push ebp
push ebx
push edi
call fcn.00401060
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4010e1
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
mov esi, eax
cmp esi, 0x12
jne 0x401210
xor esi, esi
jmp 0x401225
push ebx
push esi
push 0x4020cc
push 0x402078
push edi
call section..code
add esp, 0x14
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x40124b
push ebx
call ebp
push eax
push 0x402064
push 0x402078
push edi
call section..code
add esp, 0x14
pop edi
pop ebp
mov eax, esi
pop esi
pop ebx
add esp, 0x258
ret 0xc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 2
jne 0x401274
pop esi
xor eax, eax
pop ebx
add esp, 0x258
ret 0xc
mov eax, dword [esp + 0x264]
push ebx
push esi
push 0x402048
push 0x402078
push eax
call section..code
add esp, 0x14
mov eax, esi
pop esi
pop ebx
add esp, 0x258
ret 0xc
Function at 0x403100
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x10
push 0x43329c
push str.CUTALL.DCL
mov dword [esp + 0xc], 0x22
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0xc0140000
call fcn.0040c040
add esp, 8
test eax, eax
jge 0x40313e
push 1
call fcn.00420309
call fcn.00402e40
test eax, eax
jne 0x403200
lea eax, [esp + 4]
push eax
push str.PDMODE
call fcn.0040c1e0
lea ecx, [esp + 0x10]
push ecx
push str.PDSIZE
call fcn.0040c1e0
push 0
push str.CUTALL
push str.LAYER
call fcn.0041d3d0
add esp, 0x1c
test eax, eax
jne 0x403198
push str.CONTINUOUS
push 7
push eax
push str.CUTALL
call fcn.00401ea0
add esp, 0x10
jmp 0x4031a1
push eax
call fcn.0041ab90
add esp, 4
push 0
push str.RAPID_PATH
push str.LAYER
call fcn.0041d3d0
add esp, 0xc
test eax, eax
jne 0x4031de
mov cx, word [0x432770]
test cx, cx
je 0x4031de
movsx edx, cx
push str.CONTINUOUS
push edx
push eax
push str.RAPID_PATH
call fcn.00401ea0
add esp, 0x10
jmp 0x4031e7
push eax
call fcn.0041ab90
add esp, 4
push 0
push 0
push 0
push 0
push 0
push 0
push 0x4332c0
call fcn.00402d20
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x4032d0
Capabilities:
Get session user name
Terminate process

Disassembly:
sub esp, 0x84
push ebx
push esi
push edi
mov ebx, 1
mov dword [esp + 0xc], 0x4f
call fcn.00421060
lea eax, [esp + 0x10]
push eax
call fcn.00420fdc
lea edi, [esp + 0x14]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea eax, [esp + 0xc]
mov edx, ecx
mov esi, edi
mov edi, 0x432a26
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x432a59
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
push str.Feb_22_2006
push 0x42b538
call fcn.0040bf80
add esp, 8
cmp eax, 0xffffec77
jne 0x40335f
push 0x10
push 0x42b538
push 0x42b524
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push ebx
call fcn.00420309
mov edi, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
xor esi, esi
push edi
push ecx
mov dword [0x43273c], esi
mov dword [0x4332a8], esi
mov dword [0x4315c4], esi
mov dword [0x4328f2], 0xff
mov dword [0x4328ce], esi
mov dword [0x4328f6], 1
call fcn.0041a690
add esp, 8
movsx edx, bx
push edx
call fcn.0041a7c0
add esp, 4
cmp eax, esi
jl 0x40346b
sub eax, 0x64
mov ebx, 1
je 0x40340f
dec eax
je 0x4033d0
dec eax
jne 0x4033a5
call fcn.004034f0
jmp 0x4033a5
mov eax, dword [0x43329c]
push eax
call fcn.0041f8f0
mov eax, dword [0x4315c4]
add esp, 4
cmp eax, esi
je 0x4033f6
push eax
call fcn.00420457
add esp, 4
mov dword [0x4315c4], esi
mov eax, dword [0x4332a8]
cmp eax, esi
je 0x403408
push eax
call fcn.0040c510
add esp, 4
call fcn.004030a0
jmp 0x4033a5
call fcn.00403100
call 0x4034a0
mov ebx, eax
mov eax, dword [0x4315a8]
neg ebx
sbb ebx, ebx
and ebx, 0xfffffffe
add ebx, 3
cmp eax, esi
jne 0x40344d
mov ecx, dword [edi]
push 0x432c60
push ecx
call fcn.0040c2d0
add esp, 8
call fcn.00403210
mov dword [0x4315a8], 1
call fcn.00402d50
mov edx, dword [0x432738]
mov eax, dword [0x432734]
cmp edx, eax
jle 0x403485
call fcn.00402dc0
jmp 0x4033a5
push 0x10
push 0x42b538
push 0x42b508
push esi
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call fcn.00420309
push 0x42b4e0
call fcn.0041e050
add esp, 4
push 1
call fcn.00420309
nop
nop
nop
nop
nop
nop
nop
mov eax, dword [str.c:ncverify]
push esi
push edi
xor edi, edi
test eax, eax
je 0x4034d4
mov eax, 0x42b2c8
mov esi, eax
mov edx, dword [eax]
movsx ecx, di
push ecx
push edx
call fcn.0041eed0
add esp, 8
test eax, eax
je 0x4034dc
mov ecx, dword [esi + 4]
add esi, 4
inc edi
mov eax, esi
test ecx, ecx
jne 0x4034b4
pop edi
mov eax, 1
pop esi
ret
pop edi
xor eax, eax
pop esi
ret

Function at 0x4053e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [0x4332a8]
test eax, eax
jne 0x4053f7
push 0x42b924
call fcn.0041e050
add esp, 4
ret
push 0
call fcn.004048d0
add esp, 4
cmp eax, 1
jne 0x4053f6
movsx eax, word [0x43277a]
dec eax
jne 0x4053f6
call fcn.004053d0
jmp fcn.004055f0
Function at 0x40dd6f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
push ebx
xor ebx, ebx
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
call fcn.0040de3b
add esp, 0xc
mov byte [ebp - 0x14], 0x47
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xa], 0x45
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x73
mov byte [ebp - 9], 0x78
mov byte [ebp - 0x12], 0x74
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 8], 0x41
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0xc], 0x6f
mov byte [ebp - 7], bl
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6e
mov dword [ebp - 0xa8], 0x94
call fcn.0040de6a
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0xa8]
push ecx
call eax
test eax, eax
push 0x14
lea eax, [ebp - 0x14]
push ebx
push eax
jne 0x40ddfb
call fcn.0040de3b
add esp, 0xc
xor eax, eax
jmp 0x40de38
call fcn.0040de3b
mov eax, dword [ebp - 0x98]
add esp, 0xc
sub eax, ebx
je 0x40de35
dec eax
je 0x40de15
dec eax
je 0x40de27
jmp 0x40ddf7
cmp dword [ebp - 0xa0], ebx
jne 0x40de21
push 4
jmp 0x40de37
jbe 0x40de27
push 5
jmp 0x40de37
cmp dword [ebp - 0xa4], 5
sbb eax, eax
add eax, 7
jmp 0x40de38
push 3
pop eax
pop ebx
leave
ret

Function at 0x40de6a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040de3b
mov eax, dword [0x42c77c]
and byte [ebp - 8], 0
add esp, 0xc
cmp eax, 1
mov byte [ebp - 0xc], 0x2e
mov byte [ebp - 0xb], 0x64
mov byte [ebp - 0xa], 0x6c
mov byte [ebp - 9], 0x6c
mov byte [ebp - 0x14], 0x6b
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0x12], 0x72
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xf], 0x6c
mov byte [ebp - 0xe], 0x33
mov byte [ebp - 0xd], 0x32
jne 0x40decd
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x42c77c], eax
leave
ret

Function at 0x40decf
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x4000000
push 1
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x1c]
push esi
push eax
mov byte [ebp - 0x1c], 0x5c
mov byte [ebp - 0x1b], 0x5c
mov byte [ebp - 0x1a], 0x2e
mov byte [ebp - 0x19], 0x5c
mov byte [ebp - 0x18], 0x48
mov byte [ebp - 0x17], 0x4f
mov byte [ebp - 0x16], 0x53
mov byte [ebp - 0x15], 0x54
mov byte [ebp - 0x14], 0x39
mov byte [ebp - 0x13], 0x35
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x56
mov byte [ebp - 0x10], 0x58
mov byte [ebp - 0xf], 0x44
call fcn.0040df7b
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x40df40
mov eax, 0xc357
jmp 0x40df77
push ebx
lea eax, [ebp - 4]
push esi
push eax
lea eax, [ebp - 0xc]
push 8
push eax
push esi
push esi
push 2
push edi
call fcn.0040e006
push edi
mov ebx, eax
call fcn.0040e0a4
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x40df72
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 8]
mov byte [eax], cl
xor eax, eax
jmp 0x40df77
mov eax, 0xc358
pop edi
pop esi
leave
ret
Function at 0x40df7b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040de3b
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 0x13], 0x72
mov byte [ebp - 0xe], 0x46
mov byte [ebp - 0x12], 0x65
mov byte [ebp - 0xd], 0x69
mov byte [ebp - 0x11], 0x61
mov byte [ebp - 0xc], 0x6c
mov byte [ebp - 0x10], 0x74
mov byte [ebp - 0xb], 0x65
call fcn.0040de6a
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40dfd7
leave
ret
push esi
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040de3b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x40e006
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040de3b
and byte [ebp - 5], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x44
mov byte [ebp - 0xf], 0x65
mov byte [ebp - 0xa], 0x6e
mov byte [ebp - 0x13], 0x65
mov byte [ebp - 0xe], 0x49
mov byte [ebp - 9], 0x74
mov byte [ebp - 0x12], 0x76
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 8], 0x72
mov byte [ebp - 0x11], 0x69
mov byte [ebp - 0xc], 0x43
mov byte [ebp - 7], 0x6f
mov byte [ebp - 0x10], 0x63
mov byte [ebp - 0xb], 0x6f
mov byte [ebp - 6], 0x6c
call fcn.0040de6a
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e072
leave
ret
push esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040de3b
add esp, 0xc
mov eax, esi
pop esi
leave
ret

Function at 0x40e0a4
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040de3b
and byte [ebp - 9], 0
add esp, 0xc
mov byte [ebp - 0x14], 0x43
mov byte [ebp - 0xf], 0x48
mov byte [ebp - 0xa], 0x65
mov byte [ebp - 0x13], 0x6c
mov byte [ebp - 0xe], 0x61
mov byte [ebp - 0x12], 0x6f
mov byte [ebp - 0xd], 0x6e
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0xc], 0x64
mov byte [ebp - 0x10], 0x65
mov byte [ebp - 0xb], 0x6c
call fcn.0040de6a
lea ecx, [ebp - 0x14]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40e100
leave
ret
push esi
push dword [ebp + 8]
call eax
mov esi, eax
push 0x14
lea eax, [ebp - 0x14]
push 0
push eax
call fcn.0040de3b
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x40e11d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
xor eax, eax
lea edi, [ebp - 0x17]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
stosd dword es:[edi], eax
push esi
push 0x80
push 3
push esi
stosw word es:[edi], ax
push esi
lea eax, [ebp - 0x18]
push 0xc0000000
push eax
mov byte [ebp - 0x18], 0x5c
mov byte [ebp - 0x17], 0x5c
mov byte [ebp - 0x16], 0x2e
mov byte [ebp - 0x15], 0x5c
mov byte [ebp - 0x14], 0x48
mov byte [ebp - 0x13], 0x4f
mov byte [ebp - 0x12], 0x53
mov byte [ebp - 0x11], 0x54
mov byte [ebp - 0x10], 0x4e
mov byte [ebp - 0xf], 0x54
call fcn.0040df7b
mov edi, eax
add esp, 0x1c
cmp edi, 0xffffffff
je 0x40e1b7
push ebx
lea eax, [ebp - 8]
push esi
push eax
lea eax, [ebp - 4]
push 4
push eax
push esi
push esi
push 0x80002000
push edi
call fcn.0040e006
push edi
mov ebx, eax
call fcn.0040e0a4
add esp, 0x24
cmp ebx, esi
pop ebx
je 0x40e1b0
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
mov byte [eax], cl
xor eax, eax
jmp 0x40e1bc
mov eax, 0xc358
jmp 0x40e1bc
mov eax, 0xc357
pop edi
pop esi
leave
ret

Function at 0x40e1c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push es
mov ax, 0x101f
mov es, ax
xor eax, eax
mov esi, eax
mov ecx, 0x8000
xor al, byte es:[esi]
inc esi
loop 0x40e1d6
pop es
mov byte [ebp - 1], al
mov al, byte [ebp - 1]
test al, al
jne 0x40e1e9
add al, 0x55
mov ecx, dword [ebp + 8]
pop esi
mov byte [ecx], al
xor al, al
leave
ret
Function at 0x4147c0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0x1c]
cmp ecx, 1
jle 0x41489b
add eax, 0x32
push esi
dec ecx
movzx edx, byte [eax + 1]
movzx esi, byte [eax - 1]
mov edx, dword [edx*4 + 0x42f698]
xor edx, dword [esi*4 + 0x42ee98]
movzx esi, byte [eax]
add eax, 0x10
xor edx, dword [esi*4 + 0x42f298]
movzx esi, byte [eax - 0x12]
xor edx, dword [esi*4 + 0x42ea98]
mov dword [eax - 0x12], edx
movzx edx, byte [eax - 0xb]
movzx esi, byte [eax - 0xc]
mov edx, dword [edx*4 + 0x42f698]
xor edx, dword [esi*4 + 0x42f298]
movzx esi, byte [eax - 0xd]
xor edx, dword [esi*4 + 0x42ee98]
movzx esi, byte [eax - 0xe]
xor edx, dword [esi*4 + 0x42ea98]
mov dword [eax - 0xe], edx
movzx edx, byte [eax - 7]
movzx esi, byte [eax - 8]
mov edx, dword [edx*4 + 0x42f698]
xor edx, dword [esi*4 + 0x42f298]
movzx esi, byte [eax - 9]
xor edx, dword [esi*4 + 0x42ee98]
movzx esi, byte [eax - 0xa]
xor edx, dword [esi*4 + 0x42ea98]
mov dword [eax - 0xa], edx
movzx edx, byte [eax - 3]
movzx esi, byte [eax - 4]
mov edx, dword [edx*4 + 0x42f698]
xor edx, dword [esi*4 + 0x42f298]
movzx esi, byte [eax - 5]
xor edx, dword [esi*4 + 0x42ee98]
movzx esi, byte [eax - 6]
xor edx, dword [esi*4 + 0x42ea98]
dec ecx
mov dword [eax - 6], edx
jne 0x4147d5
pop esi
ret
Function at 0x414ec8
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp ebx, 0x40
push edi
jle 0x414f13
lea eax, [ebp - 0xe8]
push eax
call fcn.00414fe5
push ebx
lea eax, [ebp - 0xe8]
push dword [ebp + 8]
push eax
call fcn.0041500d
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004150bc
add esp, 0x18
lea esi, [ebp - 0x10]
push 0x10
pop ebx
jmp 0x414f16
mov esi, dword [ebp + 8]
push 0x10
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
push 0x10
lea edi, [ebp - 0x50]
pop ecx
xor edx, edx
test ebx, ebx
rep stosd dword es:[edi], eax
jle 0x414f4b
lea eax, [ebp - 0x50]
sub esi, eax
lea eax, [edx + ebp - 0x50]
inc edx
cmp edx, ebx
mov cl, byte [eax + esi]
mov byte [edx + ebp - 0x91], cl
mov byte [eax], cl
jl 0x414f36
xor eax, eax
jmp 0x414f50
xor byte [eax + ebp - 0x90], 0x36
xor byte [eax + ebp - 0x50], 0x5c
inc eax
cmp eax, 0x40
jl 0x414f4d
lea eax, [ebp - 0xe8]
push eax
call fcn.00414fe5
lea eax, [ebp - 0x90]
push 0x40
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0041500d
mov esi, dword [ebp + 0x10]
add esp, 0x10
lea eax, [ebp - 0xe8]
mov ecx, esi
push 4
sub eax, esi
pop edi
mov edx, edi
jmp 0x414f9c
mov ebx, dword [ecx + eax]
mov dword [ecx], ebx
add ecx, edi
dec edx
jne 0x414f99
lea eax, [ebp - 0xe8]
push eax
call fcn.00414fe5
lea eax, [ebp - 0x50]
push 0x40
push eax
lea eax, [ebp - 0xe8]
push eax
call fcn.0041500d
add esp, 0x10
lea eax, [ebp - 0xe8]
lea ecx, [esi + 0x10]
mov edx, edi
jmp 0x414fd5
mov esi, dword [eax]
add eax, edi
mov dword [ecx], esi
add ecx, edi
dec edx
jne 0x414fd2
pop edi
pop esi
pop ebx
leave
ret

Function at 0x41500d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 4
mov eax, esi
pop ecx
xor dword [eax], 0x41dfac36
add eax, 4
dec ecx
jne 0x41501b
mov ecx, dword [esi + 0x10]
mov edi, dword [ebp + 0x10]
mov eax, ecx
mov edx, edi
shr eax, 3
lea ecx, [ecx + edi*8]
and eax, 0x3f
shl edx, 3
cmp ecx, edx
mov dword [esi + 0x10], ecx
jae 0x415047
inc dword [esi + 0x14]
push 0x40
mov ecx, edi
pop ebx
shr ecx, 0x1d
add dword [esi + 0x14], ecx
sub ebx, eax
cmp edi, ebx
jb 0x41509a
push ebx
lea eax, [esi + eax + 0x18]
push dword [ebp + 0xc]
push eax
call fcn.00415b90
lea eax, [esi + 0x18]
push eax
push esi
call fcn.00415120
add esp, 0x14
mov dword [ebp + 8], ebx
add ebx, 0x3f
cmp ebx, edi
jae 0x415096
mov eax, dword [ebp + 0xc]
lea eax, [ebx + eax - 0x3f]
push eax
push esi
call fcn.00415120
add dword [ebp + 8], 0x40
pop ecx
pop ecx
add ebx, 0x40
jmp 0x415079
xor eax, eax
jmp 0x41509e
and dword [ebp + 8], 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
sub edi, ecx
add ecx, edx
push edi
lea eax, [esi + eax + 0x18]
push ecx
push eax
call fcn.00415b90
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4170c8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x14
lea eax, [ebp - 0x24]
push 0
push eax
call fcn.0040de3b
and byte [ebp - 0x17], 0
add esp, 0xc
mov byte [ebp - 0x24], 0x47
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0x53
mov byte [ebp - 0x20], 0x79
mov byte [ebp - 0x1f], 0x73
mov byte [ebp - 0x1e], 0x74
mov byte [ebp - 0x1d], 0x65
mov byte [ebp - 0x1c], 0x6d
mov byte [ebp - 0x1b], 0x54
mov byte [ebp - 0x1a], 0x69
mov byte [ebp - 0x19], 0x6d
mov byte [ebp - 0x18], 0x65
call fcn.0040de6a
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x417130
lea ecx, [ebp - 0x10]
push ecx
call eax
push esi
push 0x14
movzx esi, word [ebp - 0x10]
movzx eax, word [ebp - 0xe]
imul esi, esi, 0xd
add esi, eax
push 0
movzx eax, word [ebp - 0xa]
imul esi, esi, 0x1e
add esi, eax
movzx eax, word [ebp - 8]
imul esi, esi, 0x1a
imul eax, eax, 0x3d
add esi, eax
movzx eax, word [ebp - 6]
add esi, eax
movzx eax, word [ebp - 4]
imul esi, esi, 0x3c
add esi, eax
movzx eax, word [ebp - 2]
imul esi, esi, 0x4d2
add esi, eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040de3b
add esp, 0xc
mov eax, esi
pop esi
leave
ret
Function at 0x41741e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
push ebx
xor ebx, ebx
mov byte [ebp - 0x20], 0x2a
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0x1f], 0x2f
mov byte [ebp - 0xf], 0x21
mov byte [ebp - 0x1e], 0xed
mov byte [ebp - 0xe], 0x4c
mov byte [ebp - 0x1d], 0x5e
mov byte [ebp - 0xd], 0xa4
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0xc], 0x10
mov byte [ebp - 0x1b], 0x26
mov byte [ebp - 0xb], 0x7e
mov byte [ebp - 0x1a], 0x40
mov byte [ebp - 0xa], 0x51
mov byte [ebp - 0x19], 0x19
mov byte [ebp - 9], 0x22
mov byte [ebp - 0x18], 0x40
mov byte [ebp - 8], 0x25
mov byte [ebp - 0x17], 0x40
mov byte [ebp - 7], bl
mov byte [ebp - 0x16], 0xe2
mov byte [ebp - 6], bl
mov byte [ebp - 0x15], 0x51
mov byte [ebp - 5], bl
mov byte [ebp - 0x14], 0xaa
mov byte [ebp - 4], bl
mov byte [ebp - 0x13], 0xfa
mov byte [ebp - 3], bl
mov byte [ebp - 0x12], 0xdb
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x53
mov byte [ebp - 0x30], 0x79
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x54
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], 0x6d
mov byte [ebp - 0x28], 0x65
mov byte [ebp - 0x27], bl
call fcn.0040de6a
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x44]
push ecx
call eax
mov ax, word [ebp - 0x44]
xor ecx, ecx
mov cl, ah
mov byte [ebp - 7], al
mov ax, word [ebp - 0x42]
mov byte [ebp - 6], cl
xor ecx, ecx
mov byte [ebp - 4], al
mov cl, ah
lea eax, [ebp - 0x9c]
push eax
mov byte [ebp - 5], 0x2d
mov byte [ebp - 3], cl
call fcn.00414fe5
lea eax, [ebp - 0x20]
push 0x1e
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041500d
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 8]
call fcn.004150bc
push 0x1f
push ebx
lea eax, [ebp - 0x20]
push eax
call fcn.0040de3b
add esp, 0x24
pop ebx
leave
ret
Function at 0x417549
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9c
lea eax, [ebp - 0x9c]
mov byte [ebp - 0x20], 0x2a
push eax
mov byte [ebp - 0x10], 0x67
mov byte [ebp - 0x1f], 0x2f
mov byte [ebp - 0xf], 0x21
mov byte [ebp - 0x1e], 0xed
mov byte [ebp - 0xe], 0x4c
mov byte [ebp - 0x1d], 0x5e
mov byte [ebp - 0xd], 0xa4
mov byte [ebp - 0x1c], 0x49
mov byte [ebp - 0xc], 0x10
mov byte [ebp - 0x1b], 0x26
mov byte [ebp - 0xb], 0x7e
mov byte [ebp - 0x1a], 0x40
mov byte [ebp - 0xa], 0x51
mov byte [ebp - 0x19], 0x19
mov byte [ebp - 9], 0x22
mov byte [ebp - 0x18], 0x40
mov byte [ebp - 8], 0x25
mov byte [ebp - 0x17], 0x40
mov byte [ebp - 7], 0x11
mov byte [ebp - 0x16], 0xe2
mov byte [ebp - 6], 0x2b
mov byte [ebp - 0x15], 0x51
mov byte [ebp - 5], 0x3c
mov byte [ebp - 0x14], 0xaa
mov byte [ebp - 4], 0x46
mov byte [ebp - 0x13], 0xfa
mov byte [ebp - 3], 0x5e
mov byte [ebp - 0x12], 0xdb
mov byte [ebp - 0x11], 0xcb
call fcn.00414fe5
lea eax, [ebp - 0x20]
push 0x1c
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.0041500d
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 8]
call fcn.004150bc
and byte [ebp - 0x27], 0
add esp, 0x18
mov byte [ebp - 0x34], 0x47
mov byte [ebp - 0x33], 0x65
mov byte [ebp - 0x32], 0x74
mov byte [ebp - 0x31], 0x53
mov byte [ebp - 0x30], 0x79
mov byte [ebp - 0x2f], 0x73
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x65
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x54
mov byte [ebp - 0x2a], 0x69
mov byte [ebp - 0x29], 0x6d
mov byte [ebp - 0x28], 0x65
call fcn.0040de6a
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea ecx, [ebp - 0x44]
push ecx
call eax
mov cx, word [ebp - 0x44]
mov eax, dword [ebp + 0xc]
xor edx, edx
mov dl, ch
mov byte [eax], cl
mov cx, word [ebp - 0x42]
mov byte [eax + 1], dl
xor edx, edx
mov byte [eax + 2], cl
mov dl, ch
mov byte [eax + 3], dl
leave
ret