joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b620
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57a4a8
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x24]
mov ebx, ecx
push esi
push edi
mov ecx, ebp
call fcn.00402370
mov edi, eax
xor esi, esi
mov al, byte [edi]
test al, al
je 0x40b67a
mov ebp, dword [sym.imp.MSVCRT.dll_tolower]
and eax, 0xff
push eax
call ebp
mov ecx, esi
add esp, 4
shl ecx, 5
sub ecx, esi
add eax, ecx
inc edi
mov esi, eax
mov al, byte [edi]
test al, al
jne 0x40b659
mov ebp, dword [esp + 0x2c]
mov ecx, dword [ebx + 0x14]
mov eax, esi
xor edx, edx
xor edi, edi
div ecx
mov eax, dword [ebx + 8]
mov esi, dword [eax + edx*4]
cmp esi, edi
je 0x40b6c9
or ebx, 0xffffffff
push ecx
mov ecx, esp
mov dword [esp + 0x30], esp
push ebp
call fcn.00401dc0
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x2c], edi
call fcn.00401dc0
mov dword [esp + 0x28], ebx
call fcn.00402660
add esp, 8
test al, al
jne 0x40b6f1
mov esi, dword [esi]
cmp esi, edi
jne 0x40b692
mov eax, dword [esp + 0x28]
xor ecx, ecx
mov byte [esp + 0x14], cl
mov edx, dword [esp + 0x14]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x14
ret 8
mov eax, dword [esp + 0x28]
lea ecx, [esi + 4]
mov byte [esp + 0x14], 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x40b6dc

Function at 0x40c260
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x57a6ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x58da14
lea edi, [esi + 4]
mov dword [esp + 0x18], 0
mov ecx, edi
call fcn.00401cf0
lea ebx, [esi + 8]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.00401cf0
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
mov byte [esp + 0x1c], 2
mov dword [esi], 0x58d9f0
call fcn.004021a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x14], edx
test eax, eax
mov dword [esi + 0x10], ecx
je 0x40c2e9
push eax
mov ecx, ebx
call fcn.004021a0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18
Function at 0x40c460
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x57a72e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x58da14
lea edi, [esi + 4]
mov dword [esp + 0x18], 0
mov ecx, edi
call fcn.00401cf0
lea ebx, [esi + 8]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.00401cf0
mov eax, dword [esp + 0x20]
mov ecx, edi
push eax
mov byte [esp + 0x1c], 2
mov dword [esi], 0x58dbdc
call fcn.004021a0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x34]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x14], edx
test eax, eax
mov dword [esi + 0x10], ecx
je 0x40c4e9
push eax
mov ecx, ebx
call fcn.004021a0
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0x18

Function at 0x40d3c7
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x57a808
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
mov dword [esp + 8], esi
call fcn.0040cf60
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [esp + 0x14], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.00414950
mov ecx, dword [esp + 0xc]
mov dword [esi + 0xc], ebx
mov dword [esi], 0x58dd90
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov byte [esi + 0x24], bl
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40d5f0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57a888
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], esi
call fcn.004059e0
mov al, byte [0x5de524]
mov dword [ebp - 4], 0
test al, 1
jne 0x40d648
lea eax, [0x40d648]
nop
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push eax
push 0x39
push str.E:devABASEA3DAssistSnd.cpp
push 0
call fcn.004059f0
mov edx, dword [ebp + 8]
mov esi, dword [esi + 0xc]
xor eax, eax
push edi
mov cl, byte [edx]
test cl, cl
je 0x40d670
mov edi, eax
and ecx, 0xff
shl edi, 5
sub edi, eax
add edi, ecx
mov cl, byte [edx + 1]
inc edx
mov eax, edi
test cl, cl
jne 0x40d657
mov ecx, dword [esi + 0x14]
xor edx, edx
div ecx
mov ecx, dword [esi + 8]
mov edi, dword [ecx + edx*4]
test edi, edi
je 0x40d6ba
mov esi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40d6ab
test cl, cl
je 0x40d6a7
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40d6ab
add eax, 2
add esi, 2
test cl, cl
jne 0x40d687
xor eax, eax
jmp 0x40d6b0
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40d6fe
mov edi, dword [edi]
test edi, edi
jne 0x40d681
xor eax, eax
mov byte [ebp - 0x14], al
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
pop edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], ecx
mov al, byte [edx + 0x14]
test al, al
je 0x40d6dc
mov eax, dword [edx + 0x10]
mov eax, dword [eax]
test eax, eax
jge 0x40d70a
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call fcn.00405a80
xor eax, eax
pop esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov byte [ebp - 0x14], 1
mov ecx, dword [ebp - 0x14]
lea eax, [edi + 4]
jmp 0x40d6c2
mov ecx, dword [edx + 0x28]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ecx + eax*4]
lea ecx, [ebp - 0x10]
call fcn.00405a80
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x40ec90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x1c]
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebx + 0x14]
cmp edx, edi
mov dword [esp + 0x10], edi
jbe 0x40edc5
xor ecx, ecx
mov eax, 0x58dd20
cmp dword [eax], edx
ja 0x40edce
add eax, 4
inc ecx
cmp eax, 0x58dd90
jl 0x40ecb2
mov dword [esp + 0x28], 0xffffffff
mov esi, dword [esp + 0x28]
cmp esi, edi
jbe 0x40edc5
lea eax, [esi*4]
push ebp
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebp, eax
add esp, 4
mov edx, ebp
mov dword [esp + 0x18], ebp
test esi, esi
mov dword [esp + 0x1c], edx
je 0x40ed13
lea ecx, [esi]
mov eax, edx
add edx, 4
test eax, eax
je 0x40ed0c
mov dword [eax], 0
dec ecx
jne 0x40ecfd
mov dword [esp + 0x1c], edx
xor eax, eax
test edi, edi
mov dword [esp + 0x10], eax
jbe 0x40ed8e
mov ecx, dword [ebx + 8]
lea edi, [ecx + eax*4]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x40ed81
mov esi, dword [ecx + 8]
xor eax, eax
mov dl, byte [esi]
test dl, dl
je 0x40ed52
mov ebp, eax
and edx, 0xff
shl ebp, 5
sub ebp, eax
add ebp, edx
mov dl, byte [esi + 1]
inc esi
mov eax, ebp
test dl, dl
jne 0x40ed35
mov ebp, dword [esp + 0x18]
xor edx, edx
div dword [esp + 0x2c]
mov eax, dword [ecx]
mov dword [edi], eax
mov eax, dword [ebp + edx*4]
mov dword [ecx], eax
mov dword [ebp + edx*4], ecx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x10]
lea edi, [ecx + edx*4]
mov ecx, dword [ecx + edx*4]
test ecx, ecx
jne 0x40ed2a
mov esi, dword [esp + 0x2c]
mov eax, edx
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x40ed1d
mov edi, dword [ebx + 8]
mov dword [ebx + 8], ebp
mov ecx, dword [ebx + 0xc]
mov dword [ebx + 0xc], edx
mov eax, dword [ebx + 0x14]
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x10], esi
mov edx, edi
lea eax, [edi + eax*4]
pop ebp
cmp eax, ecx
jae 0x40edbb
mov esi, dword [eax]
add eax, 4
mov dword [edx], esi
add edx, 4
cmp eax, ecx
jb 0x40edad
push edi
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4
mov esi, dword [ecx*4 + 0x58dd20]
mov dword [esp + 0x28], esi
jmp 0x40ecd1
Function at 0x40ede0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [eax]
mov ebx, ecx
mov edx, esi
xor eax, eax
push edi
mov dword [esp + 0x10], esi
mov cl, byte [edx]
test cl, cl
je 0x40ee16
mov edi, eax
and ecx, 0xff
shl edi, 5
sub edi, eax
add edi, ecx
mov cl, byte [edx + 1]
inc edx
mov eax, edi
test cl, cl
jne 0x40edfd
xor edx, edx
mov ecx, dword [ebx + 8]
div dword [ebx + 0x14]
mov dword [esp + 0x14], edx
mov ebp, dword [ecx + edx*4]
test ebp, ebp
mov edi, ebp
je 0x40ee67
jmp 0x40ee31
mov esi, dword [esp + 0x10]
mov eax, dword [edi + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ee58
test cl, cl
je 0x40ee54
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ee58
add eax, 2
add esi, 2
test cl, cl
jne 0x40ee34
xor eax, eax
jmp 0x40ee5d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ee8b
mov edi, dword [edi]
test edi, edi
jne 0x40ee2d
push 0xc
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
test eax, eax
je 0x40ee97
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [ecx]
mov dword [eax], ebp
mov dword [eax + 8], edx
jmp 0x40ee99
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 8
xor eax, eax
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov dword [ecx + edx*4], eax
mov eax, dword [ebx + 4]
inc eax
pop ebp
mov dword [ebx + 4], eax
mov al, 1
pop ebx
add esp, 8
ret 8

Function at 0x40eec0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
push ebx
push ebp
push esi
mov esi, dword [eax]
mov ebx, ecx
mov edx, esi
xor eax, eax
push edi
mov dword [esp + 0x1c], esi
mov cl, byte [edx]
test cl, cl
je 0x40eef6
mov edi, eax
and ecx, 0xff
shl edi, 5
sub edi, eax
add edi, ecx
mov cl, byte [edx + 1]
inc edx
mov eax, edi
test cl, cl
jne 0x40eedd
xor edx, edx
mov ecx, dword [ebx + 8]
div dword [ebx + 0x14]
mov ebp, dword [ecx + edx*4]
test ebp, ebp
mov edi, ebp
lea edx, [ecx + edx*4]
mov dword [esp + 0x10], edx
je 0x40ef4e
jmp 0x40ef14
mov esi, dword [esp + 0x1c]
mov eax, dword [edi + 8]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x40ef3b
test cl, cl
je 0x40ef37
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x40ef3b
add eax, 2
add esi, 2
test cl, cl
jne 0x40ef17
xor eax, eax
jmp 0x40ef40
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x40ef5a
mov dword [esp + 0x14], edi
mov edi, dword [edi]
test edi, edi
jne 0x40ef10
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 8
ret 4
cmp edi, ebp
jne 0x40ef68
mov ecx, dword [esp + 0x10]
mov eax, dword [edi]
mov dword [ecx], eax
jmp 0x40ef70
mov eax, dword [esp + 0x14]
mov edx, dword [edi]
mov dword [eax], edx
push edi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [ebx + 4]
add esp, 4
dec eax
pop edi
pop esi
mov dword [ebx + 4], eax
pop ebp
mov al, 1
pop ebx
add esp, 8
ret 4
Function at 0x40f497
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x57aa48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0040cf60
xor ebx, ebx
lea ecx, [esi + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 0x14], bl
call fcn.00414950
lea ecx, [esi + 0x130]
mov dword [esi], 0x58de34
mov dword [esi + 0xc], ebx
call fcn.0040f350
mov ecx, 0x40
xor eax, eax
lea edi, [esi + 0x30]
mov dword [esi], 0x58de2c
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x410aa0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x57ab59
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, dword [esp + 0x2c]
push edi
lea ecx, [esp + 0x30]
call fcn.00401d60
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, 0x5de6a0
mov dword [esp + 0x2c], 0
call fcn.00413f80
mov esi, dword [eax]
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
mov ebx, dword [eax + 4]
call fcn.00401e10
test bl, bl
jne 0x410b23
push edi
push str.can_not_open_pseudo_file_named____s__.
push 0
call fcn.00404080
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret
mov esi, dword [esi]
mov dword [esp + 0xc], esi
mov ebx, dword [esi + 0x58]
mov edx, dword [esi + 0x64]
mov eax, ebx
lea ecx, [eax + edx*4]
cmp ebx, ecx
je 0x410c02
mov edi, dword [esp + 0x30]
push ebp
mov ebp, dword [ebx]
test ebp, ebp
je 0x410bed
mov eax, dword [edi + 8]
test eax, eax
jne 0x410b83
push 0x7c
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
lea ecx, [eax + 0x64]
mov edx, 9
lea esi, [ecx + 0xc]
mov dword [ecx], esi
sub ecx, 0xc
dec edx
jne 0x410b64
mov edx, dword [edi + 8]
lea ecx, [eax + 4]
mov dword [eax + 0x70], edx
mov dword [edi + 8], ecx
mov edx, dword [edi + 0xc]
mov dword [eax], edx
mov dword [edi + 0xc], eax
mov esi, dword [edi + 8]
mov ecx, dword [edi + 0x10]
inc ecx
mov dword [esp + 0x34], esi
mov eax, dword [esi]
mov dword [edi + 0x10], ecx
mov dword [edi + 8], eax
mov dword [esp + 0x14], esi
test esi, esi
mov dword [esp + 0x28], 1
je 0x410bae
lea ecx, [esi + 8]
call fcn.00401cf0
lea ecx, [ebp + 8]
mov dword [esp + 0x28], 0xffffffff
push ecx
lea ecx, [esi + 8]
call fcn.00402130
mov edx, dword [edi + 4]
mov dword [esi], 0
mov dword [esi + 4], edx
mov eax, dword [edi + 4]
test eax, eax
je 0x410bd9
mov dword [eax], esi
jmp 0x410bdb
mov dword [edi], esi
mov dword [edi + 4], esi
mov ebp, dword [ebp]
test ebp, ebp
jne 0x410b4b
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x58]
add ebx, 4
lea edx, [ecx + eax*4]
cmp ebx, edx
jne 0x410b41
pop ebp
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x411300
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x57ac8b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], 5
call fcn.00412a00
mov eax, dword [esi + 0xa4]
xor ebx, ebx
xor ebp, ebp
cmp eax, ebx
mov byte [esp + 0x20], 4
jbe 0x411375
mov eax, dword [esi + 0x98]
mov eax, dword [eax + ebp*4]
cmp eax, ebx
je 0x411360
mov edi, dword [eax]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp edi, ebx
mov eax, edi
jne 0x41134f
mov ecx, dword [esi + 0x98]
inc ebp
mov dword [ecx + ebp*4 - 4], ebx
mov eax, dword [esi + 0xa4]
cmp ebp, eax
jb 0x411342
lea edi, [esi + 0x98]
mov dword [esi + 0x94], ebx
mov eax, dword [edi]
mov edx, dword [edi + 0xc]
lea ecx, [eax + edx*4]
push ecx
push eax
mov ecx, edi
call fcn.00414560
mov edi, dword [edi]
push edi
call dword [sym.imp.MSVCRT.dll_free]
lea edi, [esi + 0x78]
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x14]
mov byte [esp + 0x20], 6
test eax, eax
jbe 0x4113e1
mov edx, dword [edi + 8]
mov ecx, dword [edx + ebx*4]
test ecx, ecx
je 0x4113ce
mov ebp, dword [ecx]
test ecx, ecx
je 0x4113c8
push 1
call fcn.004143e0
test ebp, ebp
mov ecx, ebp
jne 0x4113bb
mov eax, dword [edi + 8]
inc ebx
mov dword [eax + ebx*4 - 4], 0
mov eax, dword [edi + 0x14]
cmp ebx, eax
jb 0x4113b1
mov dword [edi + 4], 0
add edi, 8
mov ecx, edi
mov byte [esp + 0x20], 3
call fcn.00414470
mov edi, dword [edi]
push edi
call dword [sym.imp.MSVCRT.dll_free]
lea edi, [esi + 0x60]
add esp, 4
mov dword [esp + 0x14], edi
mov eax, dword [edi + 0x14]
xor ebx, ebx
test eax, eax
mov byte [esp + 0x20], 7
jbe 0x411448
mov ecx, dword [edi + 8]
mov ecx, dword [ecx + ebx*4]
test ecx, ecx
je 0x411435
mov ebp, dword [ecx]
test ecx, ecx
je 0x41142f
push 1
call fcn.004143c0
test ebp, ebp
mov ecx, ebp
jne 0x411422
mov edx, dword [edi + 8]
inc ebx
mov dword [edx + ebx*4 - 4], 0
mov eax, dword [edi + 0x14]
cmp ebx, eax
jb 0x411418
mov dword [edi + 4], 0
add edi, 8
mov ecx, edi
mov byte [esp + 0x20], 2
call fcn.00414420
mov edi, dword [edi]
push edi
call dword [sym.imp.MSVCRT.dll_free]
mov edi, dword [esi + 0x4c]
add esp, 4
test edi, edi
mov byte [esp + 0x20], 1
je 0x411499
mov eax, dword [edi]
lea ecx, [edi + 8]
mov dword [esi + 0x4c], eax
call fcn.004147f0
mov ecx, dword [esi + 0x54]
mov dword [edi], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esi + 0x54], edi
mov edi, dword [esi + 0x4c]
dec ecx
test edi, edi
mov dword [esi + 0x5c], ecx
jne 0x411476
mov eax, dword [esi + 0x58]
mov dword [esi + 0x50], 0
test eax, eax
mov dword [esi + 0x5c], 0
je 0x4114c3
mov edx, dword [eax]
push eax
mov dword [esi + 0x58], edx
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, dword [esi + 0x58]
add esp, 4
test eax, eax
jne 0x4114ae
lea ecx, [esi + 0x48]
mov byte [esp + 0x20], 0
call fcn.00401e10
lea ecx, [esi + 0x3c]
mov dword [esp + 0x20], 0xffffffff
call fcn.00401e10
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4118b0
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push 0xffffffffffffffff
push 0x57ad00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x30]
mov ebp, ecx
test edi, edi
mov dword [esp + 0x14], ebp
je 0x411a8e
mov esi, 0x5de4fc
mov eax, edi
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x41190d
test cl, cl
je 0x411909
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x41190d
add eax, 2
add esi, 2
test cl, cl
jne 0x4118e5
xor eax, eax
jmp 0x411912
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x411a8e
push edi
lea ecx, [esp + 0x14]
call fcn.00401d60
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
add ebp, 0x60
push eax
push ecx
mov ecx, ebp
mov dword [esp + 0x30], 0
call fcn.004140d0
mov cl, byte [eax + 4]
mov dword [esp + 0x28], 0xffffffff
test cl, cl
lea ecx, [esp + 0x10]
sete bl
call fcn.00401e10
test bl, bl
jne 0x411a8e
push edi
lea ecx, [esp + 0x14]
call fcn.00401d60
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
push ecx
mov ecx, ebp
mov eax, dword [edx + 8]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x30], 1
mov esi, dword [eax + 0x64]
call fcn.004140d0
mov eax, dword [eax]
mov ecx, esi
push eax
call fcn.004bf460
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401e10
push edi
lea ecx, [esp + 0x34]
call fcn.00401d60
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 2
call fcn.00402370
mov edi, eax
xor esi, esi
mov al, byte [edi]
test al, al
je 0x4119f1
mov ebx, dword [sym.imp.MSVCRT.dll_tolower]
and eax, 0xff
push eax
call ebx
mov ecx, esi
add esp, 4
shl ecx, 5
sub ecx, esi
add eax, ecx
inc edi
mov esi, eax
mov al, byte [edi]
test al, al
jne 0x4119d4
mov ecx, dword [ebp + 0x14]
mov eax, esi
xor edx, edx
div ecx
mov ebx, edx
mov edx, dword [ebp + 8]
mov edi, dword [edx + ebx*4]
test edi, edi
mov esi, edi
je 0x411a79
push ecx
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call fcn.00401dc0
push ecx
lea edx, [esi + 8]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
mov byte [esp + 0x34], 3
call fcn.00401dc0
mov byte [esp + 0x30], 2
call fcn.00402660
add esp, 8
test al, al
jne 0x411a4b
mov dword [esp + 0x14], esi
mov esi, dword [esi]
test esi, esi
jne 0x411a08
jmp 0x411a79
cmp esi, edi
jne 0x411a59
mov eax, dword [ebp + 8]
mov ecx, dword [esi]
mov dword [eax + ebx*4], ecx
jmp 0x411a61
mov eax, dword [esp + 0x14]
mov edx, dword [esi]
mov dword [eax], edx
test esi, esi
je 0x411a76
lea ecx, [esi + 8]
call fcn.00401e10
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
dec dword [ebp + 4]
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], 0xffffffff
call fcn.00401e10
mov al, 1
jmp 0x411a90
xor al, al
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 4
Function at 0x412c90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x57adc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov eax, dword [ecx + 0x8c]
push ebx
lea ebx, [ecx + 0x78]
push ebp
xor ebp, ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x10], ecx
jbe 0x412cfd
mov eax, dword [ebx + 8]
mov esi, dword [eax + ebp*4]
test esi, esi
je 0x412ce6
mov edi, dword [esi]
test esi, esi
je 0x412ce0
lea ecx, [esi + 8]
call fcn.00401e10
push esi
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
test edi, edi
mov esi, edi
jne 0x412cc9
mov ecx, dword [ebx + 8]
inc ebp
mov dword [ecx + ebp*4 - 4], 0
mov eax, dword [ebx + 0x14]
cmp ebp, eax
jb 0x412cbf
mov ecx, dword [esp + 0x10]
mov dword [ebx + 4], 0
mov edi, dword [ecx + 0xc]
add edi, 0x124
mov edx, dword [edi]
mov eax, dword [edi + 4]
mov esi, dword [edx + 4]
cmp esi, eax
je 0x412d2f
mov eax, dword [esi]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00412e20
mov esi, dword [esi + 4]
mov eax, dword [edi + 4]
cmp esi, eax
jne 0x412d19
mov eax, dword [esp + 0x10]
xor ebp, ebp
lea edi, [eax + 0x90]
mov eax, dword [eax + 0xa4]
test eax, eax
jbe 0x412d73
mov ecx, dword [edi + 8]
mov eax, dword [ecx + ebp*4]
test eax, eax
je 0x412d60
mov esi, dword [eax]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, esi
test esi, esi
jne 0x412d4f
mov edx, dword [edi + 8]
inc ebp
mov dword [edx + ebp*4 - 4], 0
mov eax, dword [edi + 0x14]
cmp ebp, eax
jb 0x412d45
mov eax, dword [esp + 0x10]
mov dword [edi + 4], 0
mov eax, dword [eax]
mov esi, dword [eax]
test esi, esi
je 0x412e0d
or ebp, 0xffffffff
mov ecx, dword [esi + 8]
lea eax, [esi + 8]
mov esi, dword [esi]
add eax, 4
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.00401dc0
lea edx, [esp + 0x18]
lea eax, [esp + 0x1c]
push edx
push eax
mov ecx, ebx
mov dword [esp + 0x3c], 0
call fcn.0040b620
mov cl, byte [eax + 4]
test cl, cl
je 0x412dfc
lea ecx, [esp + 0x18]
lea edx, [esp + 0x24]
push ecx
push edx
mov ecx, ebx
call fcn.0040b620
mov eax, dword [eax]
mov edx, dword [edi + 4]
inc edx
mov ecx, dword [eax]
push edx
mov dword [esp + 0x14], ecx
mov ecx, edi
call fcn.00414220
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, edi
call fcn.00414340
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ebp
call fcn.00401e10
test esi, esi
jne 0x412d8d
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x28
ret