joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ae5f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fae70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x68e9e4
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x74]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x4ae76f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004ef89a
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x4ae6b0
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x4ae677
xor eax, eax
jmp 0x4ae67a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.004ef59e
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x4ae699
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x4ae6eb
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.004ef59e
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00425970
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x70]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x4c]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x70]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x4c]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.004ef906
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x68e9d8
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.004ef906
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x4b1300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fb248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
push 0xa
lea ecx, [esp + 0x10]
call fcn.004e81d3
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
cmp ecx, ebx
mov dword [esp + 0x30], 0
je 0x4b1489
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x4b1489
test ecx, ecx
jne 0x4b1399
imul eax, ebx
xor esi, esi
test eax, eax
jle 0x4b1489
push 8
call fcn.004e893c
add esp, 4
mov dword [eax], 0
lea ecx, [edi + 0xd8]
mov dword [eax + 4], 0
push eax
call fcn.004e82b3
mov eax, dword [edi + 0xb4]
inc esi
imul eax, ebx
cmp esi, eax
jl 0x4b1363
jmp 0x4b1489
mov esi, dword [edi + 0xdc]
test ebx, ebx
jne 0x4b13ca
test esi, esi
je 0x4b13bf
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x4b13bb
push eax
call fcn.004e8965
add esp, 4
test esi, esi
jne 0x4b13a7
lea ecx, [edi + 0xd8]
jmp 0x4b1484
test esi, esi
je 0x4b13e3
mov eax, esi
mov esi, dword [esi]
lea ecx, [esp + 0xc]
mov eax, dword [eax + 8]
push eax
call fcn.004e82b3
test esi, esi
jne 0x4b13ce
lea ecx, [edi + 0xd8]
call fcn.004e8212
mov ecx, dword [edi + 0xb4]
xor esi, esi
imul ecx, ebx
test ecx, ecx
jle 0x4b1460
push 8
call fcn.004e893c
mov edx, dword [edi + 0xb4]
add esp, 4
imul edx, dword [ebp + 8]
cmp esi, edx
mov ebx, eax
jge 0x4b1438
push esi
lea ecx, [esp + 0x10]
call fcn.004e82dc
test eax, eax
je 0x4b14b3
mov eax, dword [eax + 8]
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
jmp 0x4b1445
mov dword [ebx], 0
mov dword [ebx + 4], 0
push ebx
lea ecx, [edi + 0xd8]
call fcn.004e82b3
mov eax, dword [edi + 0xb4]
inc esi
imul eax, dword [ebp + 0xc]
cmp esi, eax
jl 0x4b13fd
mov esi, dword [esp + 0x10]
test esi, esi
je 0x4b1480
mov eax, esi
mov esi, dword [esi]
mov eax, dword [eax + 8]
test eax, eax
je 0x4b147c
push eax
call fcn.004e8965
add esp, 4
test esi, esi
jne 0x4b1468
lea ecx, [esp + 0xc]
call fcn.004e8212
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e8232
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.004e8232
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b1c00
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4fb337
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, dword [0x6bc3b8]
push esi
push edi
mov esi, ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0xc], eax
mov ecx, dword [esi + 0xac]
lea edx, [esp + 0xc]
push ecx
push 0x6b2f7c
push edx
mov dword [esp + 0x30], 1
call fcn.004e647c
mov eax, dword [0x6bc3b8]
add esp, 0xc
mov dword [esp + 8], eax
lea ecx, [esp + 0xc]
lea edx, [esp + 0x14]
push ecx
push 0x6b2f78
push edx
mov byte [esp + 0x30], 2
call fcn.004e8eb8
push 0x6b2f74
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x2c], 3
push eax
call fcn.004e8e44
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov edi, dword [eax]
push ecx
push edx
mov ecx, esi
mov byte [esp + 0x2c], 4
call fcn.004b1ba0
sub esp, 8
lea eax, [esp + 0x10]
fstp qword [esp]
push edi
push eax
call fcn.004e647c
add esp, 0x10
lea ecx, [esp + 0x10]
mov byte [esp + 0x24], 3
call fcn.004e8bfb
lea ecx, [esp + 0x14]
mov byte [esp + 0x24], 2
call fcn.004e8bfb
mov esi, dword [esp + 0x2c]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call fcn.004e8970
mov dword [esp + 0x18], 1
lea ecx, [esp + 8]
mov byte [esp + 0x24], 1
call fcn.004e8bfb
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.004e8bfb
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
Function at 0x4b1d20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb360
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x68ea54
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x70]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x68], esi
je 0x4b1e9f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004ef89a
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x6c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x4b1de0
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x4b1da7
xor eax, eax
jmp 0x4b1daa
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.004ef59e
mov eax, dword [ebx + 0x6c]
cmp dword [eax + 0x10], esi
je 0x4b1dc9
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x4b1e1b
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.004ef59e
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00425970
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x74]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x44]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x74]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x44]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 0x20], esi
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x28], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.004ef906
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x68ea48
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.004ef906
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x4b3ec0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb5f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x68ea9c
mov ebp, dword [esp + 0x74]
mov dword [esp + 0x6c], esi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextColor]
mov edx, dword [ebp]
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x54]
mov ecx, ebp
push eax
call dword [edx + 0x30]
cmp dword [ebx + 0x48], esi
je 0x4b403f
mov ecx, dword [ebp + 8]
push edi
push 6
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.004ef89a
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x4c]
mov ecx, dword [eax + 0x10]
cmp ecx, 0x3c
jne 0x4b3f80
mov dword [esp + 0x14], esi
mov ecx, dword [eax + 0x10]
cmp ecx, esi
jne 0x4b3f47
xor eax, eax
jmp 0x4b3f4a
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov ecx, dword [esp + 0x7c]
lea eax, [esp + 0x14]
mov dword [esp + 0x18], edx
push eax
call fcn.004ef59e
mov eax, dword [ebx + 0x4c]
cmp dword [eax + 0x10], esi
je 0x4b3f69
mov esi, dword [eax + 8]
mov ecx, 0xf
lea edi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x18]
xor esi, esi
mov dword [esp + 0x2c], ecx
jmp 0x4b3fbb
lea edx, [esp + 0x2c]
push edx
push 0x3c
push 0x11
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
call fcn.004ef59e
mov edx, dword [esp + 0x18]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x1c]
push eax
push ecx
call fcn.00425970
mov edx, dword [ebp]
add esp, 8
lea eax, [esp + 0x1c]
mov ecx, ebp
push eax
call dword [edx + 0x28]
mov eax, dword [ebx + 0x50]
lea edx, [esp + 0x24]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [ebx + 0x30]
mov edx, dword [esp + 0x24]
mov ecx, dword [ebx + 0x50]
sub eax, edx
cdq
mov edi, dword [ebp]
sub eax, edx
mov edx, dword [ecx - 8]
push edx
push ecx
sar eax, 1
push 0x14
push eax
mov ecx, ebp
call dword [edi + 0x5c]
mov ecx, dword [ebx + 0x30]
mov edx, dword [esp + 0x28]
mov dword [ebx + 0xc], ecx
mov ecx, dword [esp + 0x78]
add edx, 0x14
mov dword [ebx + 8], esi
mov dword [ebx + 4], esi
mov dword [ebx + 0x10], edx
mov eax, dword [ebp]
push ecx
mov ecx, ebp
call dword [eax + 0x28]
lea ecx, [esp + 0x1c]
call fcn.004ef906
pop edi
mov eax, dword [esp + 0xc]
mov edx, dword [ebp]
push eax
mov ecx, ebp
call dword [edx + 0x30]
mov dword [esp + 0x18], 0x68ea90
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 1
call fcn.004ef906
mov ecx, dword [esp + 0x64]
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x64
ret 8
Function at 0x4b5b80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fb943
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov eax, dword [0x6bc3b8]
mov dword [esp + 0x14], 0
mov dword [esi + 0x14], eax
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
mov byte [esp + 0x1c], 1
mov dword [esi], 0x68eb10
call fcn.004e8970
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [eax + 0xc], edx
call fcn.004b5c30
lea ecx, [esp + 0x2c]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e8bfb
mov ecx, dword [esp + 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret 0x14
Function at 0x4bc7e0
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 0x4bc829
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 0x4bcca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fc6e0
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.004bc850
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004bc8d0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004bc8d0
lea ecx, [esi + 0xc]
call fcn.004e8b86
lea ecx, [esi + 0x10]
call fcn.004e8b86
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004bde60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004bde60
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004bde60
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004e8bfb
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004e8bfb
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4be050
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 0x4be0b6
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 0x4be0b6
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4be097
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret

Function at 0x4c0f50
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x712f18]
xor edx, edx
cmp eax, edx
jne 0x4c0f76
xor eax, eax
mov byte [eax + 0x712e18], al
inc eax
cmp eax, 0x100
jl 0x4c0f5e
mov dword [0x712f18], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x712e18
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4c1007
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4c0fda
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4c0fa8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4c1010
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x4c1063
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x4c104a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c7a20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4fcade
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.004c8340
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x68effc
call fcn.004e893c
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x4c7ab3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.004e893c
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x4c7aac
push 0
mov ecx, eax
call fcn.004beb90
mov dword [esi + 0xc], eax
jmp 0x4c7ab5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x4c7ab5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4eb009
Capabilities:
Get graphical window text

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

Function at 0x4ec6f7
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 0x4ec739
call fcn.004f2bf8
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4ec739
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4ec730
xor eax, eax
jmp 0x4ec741
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004ec747
pop edi
pop esi
pop ebx
ret 4

Function at 0x4f3128
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 0x4f3156
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4f3174
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004f308e
jmp 0x4f3174
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4f3174
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004f308e
test edi, edi
mov eax, edi
jne 0x4f315e
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41fa9a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f73c

Function at 0x41faa5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f8cb

Function at 0x41fe9f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.0040cd00
mov eax, dword [0x46dcc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.0041e79f
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x41fee1
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x42003d
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042ca60
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x46fc90]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0042106f
mov ecx, dword [esi*4 + 0x46fc90]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x420036
cmp eax, dword [edi + ecx + 0x24]
jne 0x420036
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x420036
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0042106f
add esp, 0x14
test edx, edx
jl 0x420036
jg 0x41ffac
test eax, eax
jb 0x420036
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x420036
jl 0x41ffc6
cmp dword [ebp - 0x1008], eax
ja 0x420036
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x41ffe4
test ebx, ebx
je 0x42001d
cmp ecx, edi
jae 0x42001d
mov al, byte [ecx]
cmp al, 0xd
jne 0x41fffe
lea eax, [edi - 1]
cmp ecx, eax
jae 0x42000a
cmp byte [ecx + 1], 0xa
jne 0x42000a
inc ecx
jmp 0x42000a
movzx eax, al
movsx eax, byte [eax + 0x46df80]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x41ffe4
cmp edx, ebx
jne 0x41ffe4
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x42003b
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0040bf55
leave
ret