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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 0x10], ebx
cmp dword [ebp + 8], ebx
je 0x5537f9
call fcn.00553795
test eax, eax
jne 0x5537ff
push ebx
call fcn.00530039
mov eax, dword [ebp + 8]
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x553805
sub eax, ecx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 8]
push eax
push str.C:UsersPublic191.zip
mov word [ebp - 8], 0x6272
mov byte [ebp - 6], bl
mov word [ebp - 0xc], 0x6277
mov byte [ebp - 0xa], bl
call fcn.0052fcbe
mov edi, eax
lea eax, [ebp - 0xc]
push eax
push str.C:UsersPublic148.zip
call fcn.0052fcbe
push edi
mov ebx, eax
call fcn.005300a1
add esp, 0x14
jmp 0x553893
push 1
lea eax, [ebp - 1]
push 1
push eax
call fcn.0053033b
push edi
call fcn.005300a1
add esp, 0x14
test eax, eax
jne 0x55388c
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push ebx
push 1
push 1
mov al, byte [edx + eax]
xor byte [ebp - 1], al
lea eax, [ebp - 1]
push eax
call fcn.0052fb88
add esp, 0x10
inc dword [ebp - 0x10]
push edi
call fcn.005300a1
pop ecx
push edi
test eax, eax
je 0x55384e
call fcn.0052fd42
push ebx
call fcn.0052fd42
pop ecx
pop ecx
pop edi
pop ebx
leave
ret

Function at 0x5538a9
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
test byte [0x5be728], 1
jne 0x5538d0
or dword [0x5be728], 1
cmp dword [ebp + 0x38], 0x10
mov eax, dword [ebp + 0x24]
jae 0x5538cb
lea eax, [ebp + 0x24]
mov dword [0x5be724], eax
cmp dword [ebp + 0x1c], 0x10
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
jae 0x5538df
lea edi, [ebp + 8]
push 3
call fcn.00402850
call fcn.00402870
push edi
mov esi, eax
push 0x2712
push esi
call fcn.004028b0
push 1
push 0x29
push esi
call fcn.004028b0
push 0x258
push 0xd
push esi
call fcn.004028b0
xor ebx, ebx
push ebx
push 0x2b
push esi
call fcn.004028b0
push 1
push 0x34
push esi
call fcn.004028b0
add esp, 0x40
push ebx
push 0x40
push esi
call fcn.004028b0
push ebx
push 0x51
push esi
call fcn.004028b0
lea eax, [ebp - 0x14]
push eax
push 0x2751
push esi
mov dword [ebp - 0x14], 0x622d6163
mov dword [ebp - 0x10], 0x6c646e75
mov dword [ebp - 0xc], 0x72632e65
mov word [ebp - 8], 0x74
call fcn.004028b0
push 0x5537d2
push 0x4e2b
push esi
call fcn.004028b0
lea eax, [ebp - 4]
push eax
push dword [0x5be724]
mov word [ebp - 4], 0x6277
mov byte [ebp - 2], bl
call fcn.0052fcbe
mov edi, eax
add esp, 0x38
cmp edi, ebx
je 0x5539b0
push edi
push 0x2711
push esi
call fcn.004028b0
push esi
call fcn.00402aa0
push edi
call fcn.0052fd42
add esp, 0x14
push esi
call fcn.00402ac0
pop ecx
push ebx
push 1
lea ecx, [ebp + 8]
call fcn.00401570
push ebx
push 1
lea ecx, [ebp + 0x24]
call fcn.00401570
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401ab0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x401b2e
mov eax, dword [edi + 0x10]
push ebx
push esi
mov esi, dword [0x424608]
push 0xfffffffffffffff5
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 0
mov ebx, eax
lea eax, [ebp - 8]
push eax
push 2
push 0x42105c
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, dword [edi + 4]
jne 0x401b15
cmp byte [0x424559], 1
je 0x401b15
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0xc]
push dword [edi + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [edi + 0xc]
call fcn.00403a79
and dword [edi + 0xc], 0
push 0x14
push edi
call fcn.00403a3b
add esp, 0xc
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
pop edi
call fcn.004037b9
leave
ret 4

Function at 0x401cfd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x424558], 0
mov eax, ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, edx
mov dword [ebp - 0x18], eax
je 0x401d33
push esi
push str.Initialize:_size_u_n
call fcn.00403523
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 0xc], eax
inc edi
mov dword [ebp - 8], esi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x10], edi
call fcn.00402d2d
call fcn.00402d2d
mov dword [0x424598], eax
call fcn.00401098
push eax
mov ecx, 0x42459c
call fcn.004029bb
lea ecx, [ebp - 0xc]
call fcn.00401098
push eax
mov ecx, 0x4245b4
call fcn.004029bb
lea ecx, [ebp - 0xc]
call fcn.00401098
push eax
mov ecx, 0x4245cc
call fcn.004029bb
lea ecx, [ebp - 0xc]
call fcn.00401098
push eax
mov ecx, 0x4245e4
call fcn.004029bb
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x18]
cmp eax, esi
jbe 0x401dbe
cmp byte [0x424558], 0
je 0x401db8
push str.Initilize:_message_deserialization_failed.
call fcn.00403523
pop ecx
and dword [ebp - 0x10], 0
jmp 0x401e10
cmp byte [0x424558], 0
je 0x401e10
cmp dword [0x4245e0], 8
mov eax, 0x4245cc
mov ecx, 0x4245b4
mov edx, 0x42459c
cmovae eax, dword [0x4245cc]
cmp dword [0x4245c8], 8
push eax
cmovae ecx, dword [0x4245b4]
cmp dword [0x4245b0], 8
push ecx
cmovae edx, dword [0x42459c]
push edx
push str.Initilize_messages:__n_tdone:__S_n_tdebug_prompt:__S_n_tnodebug_prompt:__S_n
call fcn.00403523
add esp, 0x10
call fcn.004025ff
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x10]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401e32
cmp dword [ebp - 0x10], 0
jne 0x401e34
xor edi, edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004037b9
leave
ret 4
Function at 0x401e47
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push 0x3c
mov eax, 0x41a83a
call fcn.00419ff7
mov dword [ebp - 0x48], ecx
xor eax, eax
mov dword [ebp - 0x34], edx
lea edi, [ebp - 0x1c]
xor ebx, ebx
stosd dword es:[edi], eax
xorps xmm0, xmm0
mov dword [ebp - 0x20], ebx
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, 0x20000
mov dword [ebp - 0x1c], ebx
mov ecx, edi
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call fcn.0040362e
push edi
push ebx
push eax
lea esi, [eax + 0x20000]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], esi
call fcn.00404c10
add esp, 0xc
mov dword [ebp - 0x18], esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x24], ebx
call fcn.00402e1d
mov esi, dword [ebp - 0x48]
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
push ecx
push ebx
push eax
push dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x401edf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x401edf
mov edx, dword [ebp - 0x20]
jmp 0x401efb
push 1
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x401f48
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x401f48
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
sub eax, 1
je 0x401f40
sub eax, 1
jne 0x401f4b
cmp dword [0x424604], eax
jne 0x401f1a
push esi
call fcn.0040183b
jmp 0x401f46
mov eax, dword [0x424608]
push ebx
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 0x103
push eax
push esi
mov dword [ebp - 0x28], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x401f46
push esi
call fcn.00401cfd
mov ebx, eax
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x401f59
mov edx, dword [ebp - 0x14]
sub edx, ecx
call fcn.0040366c
mov eax, ebx
call fcn.00419fb5
ret
Function at 0x403472
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4034ca
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4034ca
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [ebp + 8]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x4034ba
cmp esi, ecx
jae 0x4034ca
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edx, 1
jne 0x4034a8
cmp esi, ecx
jae 0x4034ca
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
jmp 0x4034cc
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x404101
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404140
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404140
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404140
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404140
cmp dword [ecx + 0x74], 0xe
jbe 0x404140
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40ed07
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41ced0
push 0x41cec8
push str.FlsAlloc
push 0x1f
call fcn.0040ebc6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40ed3b
push dword [ebp + 8]
mov ecx, esi
call dword [0x4251f0]
call esi
jmp 0x40ed41
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40ed85
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41cee0
push 0x41ced8
push str.FlsGetValue
push 0x21
call fcn.0040ebc6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40edbc
push dword [ebp + 8]
mov ecx, esi
call dword [0x4251f0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x40edc4
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41cee8
push 0x41cee0
push str.FlsSetValue
push 0x22
call fcn.0040ebc6
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40edfe
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4251f0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x4108cb
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x423004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x410916
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00410a66
test al, al
jne 0x410910
sub edx, 2
cmp edx, edi
jne 0x4108f6
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x410938
lea eax, [edi + 2]
cmp edx, eax
je 0x410938
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00410817
add esp, 0x10
jmp 0x410a32
push esi
lea ecx, [ebp - 0x255]
call fcn.00410a66
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41097b
push dword [ebp - 0x25c]
jmp 0x410928
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x4109b8
cmp word [ebp - 0x226], 0
je 0x4109d9
cmp word [ebp - 0x226], ax
jne 0x4109b8
cmp word [ebp - 0x224], 0
je 0x4109d9
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00410817
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x410a25
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x410992
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x410a0d
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x410a32
push 0x410647
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00416610
add esp, 0x10
jmp 0x410a02
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004037b9
leave
ret
Function at 0x4114d6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x411573
push ebx
push esi
call fcn.0041149f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.004100f4
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x411520
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411572
push edi
push eax
call fcn.0040d7db
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x411540
call fcn.0040d7a1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x411571
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.004100f4
add esp, 0x20
test eax, eax
jne 0x41155f
push edi
call fcn.0040d7a1
jmp 0x411567
push ebx
call fcn.0040d7a1
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x411576
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x411587
pop esi
ret
push ebx
push edi
push esi
call fcn.0041149f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040d7db
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4115af
push ebx
push esi
push edi
call fcn.00406120
add esp, 0xc
push 0
call fcn.0040d7a1
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x411d09
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00411824
Function at 0x419f70
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x419f9d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x419f9d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402080
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x402ed0
lea eax, [ebp - 0x18]
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x10], 5
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
add eax, 0x30
mov dword [ebp - 0x24], eax
push eax
call fcn.00406bd0
add esp, 4
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4020e5
shl eax, 3
push 4
push eax
mov eax, dword [ebp - 0x24]
push dword [eax]
call fcn.00407080
add esp, 0xc
mov eax, dword [esi + 0x64]
test eax, eax
je 0x402103
lock dec dword [eax]
jne 0x402103
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 4
lea ecx, [eax + 0x64]
call fcn.00402ab0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 3
lea ecx, [eax + 0x68]
call fcn.00401870
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], 2
add eax, 0x40
push eax
call fcn.00405a00
add esp, 4
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x20]
lock dec dword [eax]
jne 0x40214b
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov dword [ebp - 0x10], 1
call fcn.00401b90
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x80]
test eax, eax
je 0x402178
lock dec dword [eax]
jne 0x402178
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x80]
mov edx, dword [eax + 0x84]
mov dword [ebp - 0x10], 0
call fcn.00401b90
mov esi, dword [ebp - 0x20]
mov eax, dword [esi + 0x88]
test eax, eax
je 0x4021a2
lock dec dword [eax]
jne 0x4021a2
mov ecx, dword [esi + 0x88]
mov edx, dword [esi + 0x8c]
mov dword [ebp - 0x10], 0xffffffff
call fcn.00401b90
cmp esi, 0xffffffff
je 0x4021bd
lock dec dword [esi + 4]
jne 0x4021bd
push 8
push 0xa8
push esi
call fcn.00407080
add esp, 0xc
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x40c8c0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xe0
mov esi, esp
mov dword [esi + 0xc8], ebp
mov dword [esi + 0xcc], esp
mov dword [esi + 0xd8], 0xffffffff
mov dword [esi + 0xd4], 0x412d90
lea eax, [esi + 0xd0]
mov ecx, dword fs:[0]
mov dword [esi + 0xd0], ecx
mov dword fs:[0], eax
lea eax, [esi + 0x10]
mov dword [esi + 0xd8], 4
push eax
call fcn.0056da90
add esp, 4
mov eax, dword [ebp + 0x10]
lea edi, [esi + 0x58]
movsd xmm2, qword [eax + 0x18]
movsd xmm1, qword [eax + 0x10]
movsd xmm0, qword [eax + 0x20]
movsd qword [esi + 0xb8], xmm2
movsd qword [esi + 0xb0], xmm1
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esi + 0xc0], xmm0
movsd qword [esi + 0xa8], xmm1
movsd qword [esi + 0xa0], xmm2
push 0x48
lea eax, [esi + 0x10]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0xd8], 3
movsd xmm1, qword [ecx + 0x30]
movsd xmm2, qword [ecx + 0x28]
movzx eax, word [ecx + 0x44]
movsd xmm0, qword [ecx + 0x38]
movsd qword [esi + 0x40], xmm1
movsd xmm1, qword [ecx + 0x20]
movsd qword [esi + 0x38], xmm2
movsd xmm2, qword [ecx + 0x18]
mov word [esi + 0x9c], ax
movsd qword [esi + 0x48], xmm0
movsd qword [esi + 0x30], xmm1
movsd xmm1, qword [ecx + 0x10]
movsd qword [esi + 0x28], xmm2
movsd xmm2, qword [ecx]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [ecx + 8]
mov ecx, edi
movsd qword [esi + 0x10], xmm2
movsd qword [esi + 0x18], xmm1
call fcn.0040b460
movsd xmm1, qword [esi + 0x40]
movsd xmm2, qword [esi + 0x38]
mov ecx, dword [ebp + 0xc]
movsd xmm0, qword [esi + 0x48]
movsd qword [esi + 0x88], xmm1
movsd xmm1, qword [esi + 0x30]
movsd qword [esi + 0x80], xmm2
movsd xmm2, qword [esi + 0x28]
movzx eax, byte [ecx + 0x46]
movsd qword [esi + 0x90], xmm0
movsd qword [esi + 0x78], xmm1
movsd xmm1, qword [esi + 0x20]
movsd qword [esi + 0x70], xmm2
movsd xmm2, qword [esi + 0x10]
movsd qword [esi + 0x68], xmm1
movsd xmm1, qword [esi + 0x18]
movsd qword [esi + 0x58], xmm2
movsd qword [esi + 0x60], xmm1
mov byte [esi + 0x9e], al
mov eax, dword [ecx + 0x40]
mov ecx, dword [esi + 0x98]
test ecx, ecx
je 0x40ca81
mov dword [esi + 0xc], eax
mov dword [esi + 0xd8], 2
mov dword [esi + 8], ecx
push ecx
call fcn.00405890
add esp, 4
push 4
push 0x10
push dword [esi + 8]
call fcn.00407080
add esp, 0xc
mov eax, dword [esi + 0xc]
mov edi, dword [ebp + 8]
mov dword [esi + 0x98], eax
push 0x70
lea eax, [esi + 0x58]
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 0xd0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x416350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x74
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x14], 0x4217d0
lea edi, [ebp - 0x18]
mov eax, dword [ebp + 8]
mov esi, dword fs:[0]
mov dword [ebp - 0x18], esi
mov dword fs:[0], edi
mov esi, ecx
movsd xmm0, qword [edx]
mov ebx, dword [ecx + 0x28]
movsd xmm1, qword [edx + 8]
mov ecx, dword [eax + 0x10]
movsd xmm2, qword [eax + 8]
movsd qword [ebp - 0x6c], xmm0
movsd xmm0, qword [eax]
cmp ebx, 0x8000
movsd qword [ebp - 0x64], xmm1
mov dword [ebp - 0x70], ecx
movsd qword [ebp - 0x78], xmm2
movsd qword [ebp - 0x80], xmm0
jae 0x41652c
movsd xmm1, qword [edx + 8]
movsd xmm0, qword [edx]
movsd xmm2, qword [eax]
movzx ecx, word [ebp + 0xc]
cmp ebx, dword [esi + 0x24]
mov dword [ebp - 0x28], esi
movsd qword [ebp - 0x34], xmm1
movsd xmm1, qword [eax + 8]
mov eax, dword [eax + 0x10]
movsd qword [ebp - 0x3c], xmm0
movsd qword [ebp - 0x50], xmm2
mov word [ebp - 0x1e], cx
mov dword [ebp - 0x40], eax
mov eax, ebx
movsd qword [ebp - 0x48], xmm1
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x5c], 0
jne 0x416427
lea eax, [esi + 0x20]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x24], ebx
push ebx
push eax
call fcn.00485a10
add esp, 8
mov esi, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov eax, dword [esi + 0x28]
mov edx, dword [esi + 0x20]
mov edi, esi
movsd xmm0, qword [ebp - 0x5c]
movsd xmm1, qword [ebp - 0x54]
movsd xmm2, qword [ebp - 0x4c]
movsd xmm3, qword [ebp - 0x44]
movsd xmm4, qword [ebp - 0x3c]
movsd xmm5, qword [ebp - 0x34]
mov esi, dword [ebp - 0x2c]
imul eax, eax, 0x34
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x24], 0
mov dword [edx + eax + 0x30], esi
movsd qword [edx + eax + 0x28], xmm5
movsd qword [edx + eax + 0x20], xmm4
movsd qword [edx + eax + 0x18], xmm3
movsd qword [edx + eax + 0x10], xmm2
movsd qword [edx + eax + 8], xmm1
movsd qword [edx + eax], xmm0
inc dword [edi + 0x28]
mov edx, dword [edi + 0x18]
mov esi, dword [edi + 0x1c]
cmp ecx, esi
mov eax, 0
cmovae ecx, eax
jb 0x4164a4
nop word cs:[eax + eax]
test esi, esi
je 0x4164e0
movzx eax, word [edx + ecx*4]
cmp ax, 0xffff
je 0x4164e2
movzx edi, word [edx + ecx*4 + 2]
mov word [edx + ecx*4], bx
movzx ebx, word [ebp - 0x1e]
inc dword [ebp - 0x24]
mov word [edx + ecx*4 + 2], bx
inc ecx
mov word [ebp - 0x1e], di
mov ebx, eax
cmp ecx, esi
mov eax, 0
cmovae ecx, eax
jae 0x4164a0
jmp 0x4164a4
jmp 0x4164e0
movzx eax, word [ebp - 0x1e]
mov word [edx + ecx*4], bx
cmp dword [ebp - 0x24], 0x80
mov word [edx + ecx*4 + 2], ax
movzx ecx, byte [ebp + 0x14]
setb al
xor cl, 1
test al, cl
mov ecx, dword [ebp - 0x28]
jne 0x41651b
mov eax, dword [ecx + 4]
or eax, dword [ecx]
jne 0x41651b
mov dword [ecx + 4], 0
mov dword [ecx], 1
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x74
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x10], 0
push 0x602f20
push 0x16
push 0x602f08
call fcn.0059c390
add esp, 0xc
ud2
Function at 0x418b70
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0xb0
mov esi, esp
mov dword [esi + 0x98], ebp
mov dword [esi + 0x9c], esp
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xa4], 0x4218a0
mov edi, dword [ebp + 0xc]
lea ecx, [esi + 0xa0]
mov eax, dword fs:[0]
lea edx, [edi + 0x30]
mov dword [esi + 0xa0], eax
mov dword fs:[0], ecx
lea ecx, [edi + 4]
mov dword [esi + 0xc], edx
mov dword [esi + 4], ecx
jmp 0x418bf7
mov edi, dword [ebp + 0xc]
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
mov dword [esi + 0xa8], 0xffffffff
mov dword [edi], 1
mov dword [edi + 4], eax
mov dword [edi + 8], ecx
lea ecx, [esi + 0x48]
call fcn.00414b20
mov eax, dword [edi]
test eax, eax
jne 0x418cec
push 0x50
push dword [esi + 0xc]
lea ebx, [esi + 0x48]
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [esi + 4]
mov dword [esi + 0xa8], 0
movsd xmm1, qword [eax + 8]
movsd xmm0, qword [eax]
movsd xmm2, qword [eax + 0x18]
movsd qword [esi + 0x20], xmm1
movsd xmm1, qword [eax + 0x10]
movsd qword [esi + 0x18], xmm0
movsd qword [esi + 0x30], xmm2
movsd qword [esi + 0x28], xmm1
movsd xmm1, qword [eax + 0x20]
mov eax, dword [eax + 0x28]
mov dword [edi], 2
mov dword [esi + 0x40], eax
lea eax, [esi + 0x18]
movsd qword [esi + 0x38], xmm1
push eax
push ebx
call fcn.00497ed0
add esp, 8
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], edx
mov eax, dword [ecx]
cmp eax, 1
je 0x418cb0
test eax, eax
jne 0x418bd0
mov ecx, dword [esi + 0xc]
mov dword [esi + 0xa8], 2
call fcn.00414b20
mov ecx, dword [esi + 4]
mov dword [esi + 0xa8], 1
call fcn.00413e50
jmp 0x418bd0
mov eax, dword [ecx + 4]
mov ecx, dword [ecx + 8]
mov dword [esi + 0xa8], 3
mov dword [esi + 8], eax
push eax
mov dword [esi], ecx
call dword [ecx]
add esp, 4
mov ecx, dword [esi]
mov eax, dword [ecx + 4]
test eax, eax
je 0x418bd0
push dword [ecx + 8]
push eax
push dword [esi + 8]
call fcn.00407080
add esp, 0xc
jmp 0x418bd0
cmp eax, 1
jne 0x418d1a
mov eax, dword [edi + 8]
push dword [ebp + 0x10]
push dword [edi + 4]
mov edi, dword [ebp + 8]
push edi
call dword [eax + 0xc]
add esp, 0xc
mov eax, dword [esi + 0xa0]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x603368
push 0x28
push 0x603015
call fcn.005a0b60
add esp, 0xc
ud2