joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49f5fc
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
mov esi, edx
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 4], eax
lea edi, [ebp - 4]
mov eax, dword [edi]
call fcn.004a02d4
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push ebp
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x18]
call fcn.0049f51c
pop ecx
call fcn.004c6004
test al, al
je 0x49f6a4
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x60], 0
je 0x49f6a4
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.00455e88
push eax
call sub.user32.dll_GetWindowLongA
or eax, 0x80000
push eax
push 0xffffffffffffffec
mov eax, dword [edi]
call fcn.00455e88
push eax
call sub.user32.dll_SetWindowLongA
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
cmp byte [eax + 0x61], 0
je 0x49f68d
mov eax, dword [edi]
call fcn.00455e88
xor edx, edx
call fcn.004c6040
jmp 0x49f6a4
mov eax, dword [edi]
call fcn.00455e88
mov edx, dword [edi]
mov edx, dword [edx + 0x220]
mov dl, byte [edx + 0x62]
call fcn.004c6040
push 0x51
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
push eax
push 0xffffffffffffffff
mov eax, dword [edi]
call fcn.00455e88
push eax
call sub.user32.dll_SetWindowPos
mov dl, 1
mov eax, dword [edi]
call fcn.0044f580
mov eax, dword [edi]
mov ebx, dword [eax + 0x220]
cmp byte [ebx + 0x61], 0
je 0x49f73d
cmp byte [ebx + 0x60], 0
je 0x49f73d
call fcn.004c6004
test al, al
je 0x49f73d
mov eax, dword [0x51d6ac]
mov eax, dword [eax]
call fcn.0046f0f4
xor ebx, ebx
xor esi, esi
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp eax, 5
jbe 0x49f72d
call sub.kernel32.dll_GetTickCount
mov esi, eax
add ebx, 0xa
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jle 0x49f71f
mov ebx, eax
mov eax, dword [edi]
call fcn.00455e88
mov edx, ebx
call fcn.004c6040
mov eax, dword [edi]
mov eax, dword [eax + 0x220]
movzx eax, byte [eax + 0x62]
cmp ebx, eax
jl 0x49f6f7
mov eax, dword [edi]
call fcn.004a0808
mov eax, dword [edi]
call fcn.00455e88
push eax
call sub.user32.dll_SetCapture
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4d3640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
test dl, dl
je 0x4d3655
add esp, 0xfffffff0
call fcn.004035cc
mov dword [ebp - 4], ecx
mov ebx, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.0040452c
xor eax, eax
push ebp
push 0x4d3730
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, dword [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004ce8e8
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004182f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004182f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x3c], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004182f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x30], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x34], eax
lea ecx, [ebp - 0xc]
xor edx, edx
xor eax, eax
call fcn.004182f4
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x28], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x2c], eax
push 0
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.0041831c
push esi
lea edi, [esi + 0x40]
lea esi, [ebp - 0x1c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov dword [esi + 0xc], 0xffffffff
mov byte [esi + 0x52], 0
mov byte [esi + 0x53], 0
mov byte [esi + 0x54], 0
mov byte [esi + 0x55], 0
mov byte [esi + 0x50], 0
mov byte [esi + 0x51], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d3737
lea eax, [ebp - 4]
call fcn.0040407c
ret
Function at 0x4d9138
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4d9234
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 4]
push eax
mov ecx, 0x4d924c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi]
mov edx, dword [ebp - 4]
lea eax, [ebx + 8]
call fcn.004040d0
push 0xffffffffffffffff
mov ecx, 0x4d925c
mov edx, dword [ebx + 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 8]
mov dword [ebx + 0x30], eax
mov ecx, 0x4d9278
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c660c
mov byte [ebx + 0xc], al
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4d9294
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c64f8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0xd]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4d92a8
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c64f8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x1d]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
lea eax, [ebp - 0x14]
push eax
mov ecx, 0x4d92c0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c64f8
push esi
lea esi, [ebp - 0x14]
lea edi, [ebx + 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop esi
mov ecx, 0x4d92dc
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004c660c
mov byte [ebx + 0x44], al
mov ecx, 0x4d92f0
mov edx, dword [ebx + 4]
mov eax, esi
call fcn.004ce434
mov byte [ebx + 0x45], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d923b
lea eax, [ebp - 4]
call fcn.0040407c
ret
Function at 0x4e0e0c
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x416444]
call fcn.00404bd8
xor eax, eax
push ebp
push 0x4e0f50
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x51bee4], 0
jne 0x4e0e5f
mov ecx, dword [0x51d1b4]
mov dl, 1
mov eax, dword [0x40777c]
call fcn.0040c398
call fcn.00403a34
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402c54
mov eax, ebx
call fcn.004048ec
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x4e0f60
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405c80
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004048fc
test eax, eax
jle 0x4e0ef7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x4e0ef0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.00404304
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042ec
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408628
test eax, eax
jne 0x4e0ef0
mov ebx, 0x15
jmp 0x4e0efc
mov ebx, 0x10
jmp 0x4e0efc
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x51bee4]
call fcn.004e0d64
mov eax, dword [ebp - 8]
call fcn.004e0d64
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405c98
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0f57
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.004040a0
lea eax, [ebp - 0x10]
mov edx, dword [0x416444]
call fcn.00404ca8
ret

Function at 0x4eb548
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4eb576
mov eax, ebx
call fcn.004ebffc
cmp dword [ebx + 0x40], 0
je 0x4eb56f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x4eb5e7
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x4eb5d9
cmp dword [ebx + 8], 0
je 0x4eb598
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x4eb5aa
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x4eb5d9
cmp dword [ebx + 8], 0
je 0x4eb58b
cmp eax, 3
je 0x4eb5bd
dec eax
jne 0x4eb58b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x4eb58b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x4eb58b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x4eb605
cmp dword [ebx + 0x14], 0xcc
je 0x4eb605
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.004eb610
pop ebx
ret
Function at 0x50e100
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x50e108
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x50e2fa
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x50e310
mov eax, esi
call fcn.0050bf8c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.004040d0
lea ecx, [ebp - 0x10]
mov edx, 0x50e324
mov eax, esi
call fcn.0050bf8c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.004040d0
lea ecx, [ebp - 0x14]
mov edx, 0x50e33c
mov eax, esi
call fcn.0050bf8c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.004040d0
lea ecx, [ebp - 0x18]
mov edx, 0x50e358
mov eax, esi
call fcn.0050bf8c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.004040d0
lea ecx, [ebp - 0x1c]
mov edx, 0x50e374
mov eax, esi
call fcn.0050bf8c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.004040d0
lea ecx, [ebp - 0x24]
mov edx, 0x50e38c
mov eax, esi
call fcn.0050bf8c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408698
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408be0
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x50e3a4
mov eax, esi
call fcn.0050bf8c
mov eax, dword [ebp - 0x28]
call fcn.00505a64
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x50e3b4
mov eax, esi
call fcn.0050bf8c
mov eax, dword [ebp - 0x2c]
call fcn.00505a64
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x50e3cc
mov eax, esi
call fcn.0050bf8c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408be0
inc eax
je 0x50e29d
lea ecx, [ebp - 0x34]
mov edx, 0x50e3cc
mov eax, esi
call fcn.0050bf8c
mov eax, dword [ebp - 0x34]
call fcn.00408ba4
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a14c
fstp qword [ebp - 0x3c]
wait
call fcn.0040a4b0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x50e2b8
lea ecx, [ebp - 0x40]
mov edx, 0x50e3cc
mov eax, esi
call fcn.0050bf8c
mov eax, dword [ebp - 0x40]
call fcn.00505a64
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x50e3dc
mov eax, esi
call fcn.0050bf8c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.004040d0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50e301
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.004040a0
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.004040a0
ret
Function at 0x51508c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x5150e6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0051507c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.005046d0
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.005042d0
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5150ed
lea eax, [ebp - 4]
call fcn.0040407c
ret
Function at 0x4b6dc0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x47e678
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebp
push edi
mov edi, ecx
xor ebp, ebp
mov ecx, dword [esp + 0x48]
lea eax, [esp + 0x48]
push ebp
push eax
push ecx
lea ecx, [edi + 0x104]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
call fcn.004b1ce0
test eax, eax
jne 0x4b6e2c
push ebp
push 0x5d2f98
mov ecx, edi
call fcn.004b6040
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
pop edi
pop ebp
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
mov edx, dword [esp + 0x48]
push ebx
mov ebx, dword [esp + 0x50]
push esi
push ebp
push ebp
push ebx
lea ecx, [edx + 0x14]
call fcn.004b1710
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.004a1ee0
push ebx
mov dword [esp + 0x4c], ebp
call fcn.004b1e90
add esp, 4
test eax, eax
je 0x4b6ecf
add esi, 0x18
push esi
call fcn.004a2880
add esi, eax
push esi
call fcn.004a2880
mov ecx, dword [esp + 0x60]
add esp, 8
cmp ecx, 3
lea eax, [esi + eax + 8]
ja 0x4b71d2
jmp dword [ecx*4 + 0x41a610]
mov eax, dword [esi]
push ebp
push eax
mov ecx, edi
call fcn.004b6180
mov ebx, dword [esp + 0x58]
mov ebp, eax
lea edi, [esi + 0x18]
mov edx, dword [ebp + 0x28]
lea ecx, [ebx + ebx*4]
mov esi, edi
lea eax, [edx + ecx*4]
push esi
mov dword [esp + 0x5c], eax
call fcn.004a2880
add esi, eax
push esi
call fcn.004a2880
add esi, eax
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x4b6f20
mov ecx, dword [esi + 0x1c]
push ecx
call dword [fcn.004835f0]
test eax, eax
je 0x4b6f20
mov eax, 1
jmp 0x4b6f22
xor eax, eax
cmp ebx, 8
jge 0x4b7187
cmp ebx, 7
ja 0x4b71d2
jmp dword [ebx*4 + 0x41a620]
test eax, eax
jne 0x4b719a
mov ecx, dword [esp + 0x10]
push eax
push 0x5d2f84
call fcn.004b6040
push 6
call dword [ebp + 0x2c]
lea edx, [esp + 0x1c]
xor ecx, ecx
add ebx, 0xfffffff8
push edx
mov dword [esp + 0x20], ecx
push ebx
push esi
mov dword [esp + 0x2c], ecx
call eax
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x5c]
push ecx
mov ecx, dword [esp + 0x18]
push edx
push eax
call fcn.004b76e0
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x2c]
mov esi, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esp + 0x2c], 0x5ba8c8
call fcn.004a20e0
mov ecx, dword [esp + 0x40]
mov eax, esi
pop esi
mov edx, edi
pop ebx
pop edi
pop ebp
mov dword fs:[0], ecx
add esp, 0x3c
ret 0x10
Function at 0x4bfc00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x5eaea0]
xor edx, edx
cmp eax, edx
jne 0x4bfc26
xor eax, eax
mov byte [eax + 0x5eada0], al
inc eax
cmp eax, 0x100
jl 0x4bfc0e
mov dword [0x5eaea0], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x5eada0
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x4bfcb7
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 0x4bfc8a
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 0x4bfc58
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret

Function at 0x4bfd30
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 0x4bfd83
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 0x4bfd6a
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 0x4c4020
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
mov eax, dword [esp + 0x78]
push ebx
push esi
cmp eax, 1
push edi
mov dword [esp + 0x14], ecx
jl 0x4c4241
cmp eax, 8
jg 0x4c4241
cmp dword [esp + 0x8c], 2
jl 0x4c4241
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [eax + 8]
mov dword [esp + 0x6c], ecx
sub ecx, esi
mov ebx, dword [eax + 0xc]
mov dword [esp + 0x7c], ecx
test ecx, ecx
mov dword [esp + 0x70], ebx
jle 0x4c4241
sub ebx, edi
test ebx, ebx
mov dword [esp + 0x20], ebx
jle 0x4c4241
mov eax, dword [esp + 0x80]
test eax, eax
je 0x4c40a7
mov edx, dword [eax]
mov dword [esp + 0x44], edx
mov edx, dword [eax + 4]
mov dword [esp + 0x48], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x4c], edx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x50], eax
xor edx, edx
push ebp
test ebx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], edx
jle 0x4c422a
mov ebp, dword [fcn.00483580]
mov eax, ebx
mov dword [esp + 0x10], 0x32
sub eax, edx
cmp eax, 0x32
jg 0x4c40d9
mov dword [esp + 0x10], eax
xor eax, eax
test ecx, ecx
jle 0x4c4211
mov ebx, dword [esp + 0x10]
add ebx, edx
mov dword [esp + 0x20], ebx
sub ecx, eax
cmp ecx, 0x32
jle 0x4c40f9
mov ecx, 0x32
lea ebx, [ecx + eax]
mov ecx, dword [esp + 0x20]
push ecx
push ebx
push edx
lea edx, [esp + 0x34]
push eax
push edx
call dword [fcn.00483570]
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call ebp
mov eax, dword [esp + 0x84]
test eax, eax
je 0x4c4138
lea ecx, [esp + 0x48]
lea edx, [esp + 0x28]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call dword [fcn.00483574]
lea ecx, [esp + 0x28]
push ecx
call dword [fcn.004835b4]
test eax, eax
jne 0x4c41f8
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], edx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x40], ecx
mov eax, edi
mov ecx, esi
mov dword [esp + 0x44], edx
neg eax
neg ecx
push eax
lea edx, [esp + 0x3c]
push ecx
push edx
call ebp
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x58]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x94]
sub ecx, edi
sub eax, esi
push edx
push ecx
mov ecx, dword [esp + 0x28]
push eax
mov eax, dword [esp + 0x9c]
push eax
call fcn.004c3630
cmp eax, 1
jne 0x4c4222
mov ecx, dword [esp + 0x94]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x80]
push edx
push eax
push ecx
mov ecx, dword [esp + 0x28]
call fcn.004c3ee0
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x14]
mov eax, ebx
cmp eax, ecx
jl 0x4c40ed
mov ebx, dword [esp + 0x24]
add edx, dword [esp + 0x10]
cmp edx, ebx
mov dword [esp + 0x14], edx
jge 0x4c422a
jmp 0x4c40c4
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x18]
call fcn.004c3230
mov eax, dword [esp + 0x1c]
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x68
ret 0x1c
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x68
ret 0x1c
Function at 0x4c67c0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
push ebp
push esi
xor esi, esi
xor ecx, ecx
mov si, word [eax + 8]
mov cx, word [eax + 4]
xor ebp, ebp
xor edx, edx
mov bp, word [eax + 0xa]
mov dx, word [eax + 6]
sub esi, ecx
sub ebp, edx
inc esi
xor ebx, ebx
inc ebp
cmp esi, ebx
mov dword [esp + 0x14], esi
jle 0x4c6958
cmp ebp, ebx
jle 0x4c6958
mov eax, esi
push edi
cdq
and edx, 7
add eax, edx
mov edi, eax
mov eax, esi
sar edi, 3
and eax, 0x80000007
mov dword [esp + 0x10], edi
jns 0x4c681e
dec eax
or eax, 0xfffffff8
inc eax
je 0x4c6825
inc edi
mov dword [esp + 0x10], edi
mov ecx, edi
and ecx, 0x80000001
jns 0x4c6834
dec ecx
or ecx, 0xfffffffe
inc ecx
je 0x4c683b
inc edi
mov dword [esp + 0x10], edi
push 0x18
call fcn.0050cab5
add esp, 4
cmp eax, ebx
je 0x4c685c
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], ebx
mov ebx, eax
mov eax, edi
mov dword [esp + 0x14], ebx
imul eax, ebp
push eax
mov dword [ebx], 7
mov dword [ebx + 4], esi
mov dword [ebx + 8], ebp
mov dword [ebx + 0x14], eax
call fcn.0050cab5
mov ecx, dword [ebx + 0x14]
mov edi, eax
mov edx, ecx
xor eax, eax
shr ecx, 2
mov dword [ebx + 0x10], edi
add esp, 4
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
test ebp, ebp
lea edx, [eax + 0x80]
jle 0x4c694e
xor eax, eax
mov dword [esp + 0x20], ebp
mov dword [esp + 0x1c], eax
mov ebp, dword [ebx + 0x10]
xor ecx, ecx
add ebp, eax
mov dword [esp + 0x2c], ecx
test esi, esi
jle 0x4c6935
mov al, byte [edx]
cmp al, 0xc0
jbe 0x4c6921
and eax, 0xff
sub eax, 0xc0
inc edx
mov esi, eax
mov dword [esp + 0x24], edx
cmp esi, 1
jle 0x4c6916
xor eax, eax
mov ecx, esi
mov al, byte [edx]
mov edx, ecx
mov bl, al
mov edi, ebp
mov bh, bl
dec esi
mov eax, ebx
shl eax, 0x10
mov ax, bx
mov ebx, dword [esp + 0x14]
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov edx, dword [esp + 0x24]
and ecx, 3
add ebp, esi
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x2c]
lea ecx, [eax + esi*8]
mov esi, dword [esp + 0x18]
jmp 0x4c6924
mov al, byte [edx]
mov esi, dword [esp + 0x18]
mov byte [ebp], al
jmp 0x4c6924
mov byte [ebp], al
inc ebp
add ecx, 8
inc edx
cmp ecx, esi
mov dword [esp + 0x2c], ecx
jl 0x4c68c0
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, edi
dec ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
jne 0x4c68b1
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x18
ret
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret