joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e30
Capabilities:
Check mutex on windows

Disassembly:
sub esp, 0x40
mov eax, dword [0x47a550]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
xor eax, eax
push ebp
push esi
push edi
mov ebx, dword [esp + 0x54]
mov esi, dword [esp + 0x5c]
mov byte [esp + 0x20], al
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea edi, [esp + 0x21]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
lea eax, [esp + 0x24]
push eax
mov ebp, ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
xor edi, edi
push edi
push edi
push 1
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0x20]
push esi
mov edx, ebx
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], eax
call fcn.0040101f
cmp dword [eax + 0x14], 8
pop ecx
jb 0x401eb4
mov eax, dword [eax]
push eax
push edi
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp dword [ebp], eax
je 0x401ee0
cmp dword [ebp], edi
je 0x401ed4
cmp dword [ebp], 0xffffffff
je 0x401ed4
mov dword [ebp], edi
test eax, eax
je 0x401ee0
cmp eax, 0xffffffff
je 0x401ee0
mov dword [ebp], eax
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00401c90
cmp dword [ebp], edi
je 0x401f1b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401f1b
push edi
push 0x45bba4
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x401f17
push 1
push eax
call dword [sym.imp.USER32.dll_SwitchToThisWindow]
xor eax, eax
jmp 0x401f1e
xor eax, eax
inc eax
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042d16b
add esp, 0x40
ret 0xc
Function at 0x402bd5
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4542b3
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x47a550]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x47a550]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov ebp, ecx
mov edi, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
xor ebx, ebx
push ebx
push ebx
call edi
mov esi, eax
xor eax, eax
test esi, esi
je 0x402dd6
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov edx, esi
lea ecx, [esp + 0x34]
mov dword [esp + 0x2a8], ebx
call fcn.00401e08
mov ebx, eax
push ebx
push esi
mov dword [esp + 0x20], ebx
call edi
test eax, eax
jne 0x402c64
xor edi, edi
mov esi, edi
jmp 0x402dc8
xor eax, eax
push 0x206
push eax
mov word [esp + 0x9c], ax
lea eax, [esp + 0x9e]
push eax
call fcn.0042e030
lea esi, [ebp + 4]
add esp, 0xc
mov ebp, dword [esi + 4]
mov edi, dword [esi]
cmp edi, ebp
je 0x402ca4
push 0x30
pop ebx
mov ecx, edi
call fcn.00402dfe
add edi, ebx
cmp edi, ebp
jne 0x402c93
mov ebx, dword [esp + 0x18]
mov eax, dword [esi]
xor edi, edi
mov dword [esi + 4], eax
cmp word [ebx], di
je 0x402dc5
mov ebp, dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
xor eax, eax
mov word [ebx + 4], ax
push 0x104
lea eax, [esp + 0x98]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
lea eax, [esp + 0x94]
push eax
call ebp
push ebx
call ebp
push ebx
lea ecx, [esp + 0x50]
call fcn.00401aae
mov byte [esp + 0x2a8], 1
xor eax, eax
mov word [esp + 0x1c], ax
lea eax, [esp + 0x94]
push eax
lea ecx, [esp + 0x20]
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], edi
call fcn.00401a39
lea eax, [esp + 0x4c]
push eax
lea edx, [esp + 0x20]
lea ecx, [esp + 0x68]
call fcn.0040b0f5
pop ecx
mov edi, eax
mov byte [esp + 0x2a8], 3
mov ecx, dword [esi + 4]
cmp edi, ecx
jae 0x402d5f
cmp dword [esi], edi
ja 0x402d5f
sub edi, dword [esi]
push 0x30
mov eax, edi
cdq
pop edi
idiv edi
mov edi, eax
cmp ecx, dword [esi + 8]
jne 0x402d58
push ecx
mov ecx, esi
call fcn.00409993
imul edi, edi, 0x30
add edi, dword [esi]
jmp 0x402d6c
cmp ecx, dword [esi + 8]
jne 0x402d6c
push ecx
mov ecx, esi
call fcn.00409993
push edi
push dword [esi + 4]
call fcn.0040b448
push 0x30
pop eax
add dword [esi + 4], eax
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x84]
call fcn.00401c90
push edi
push 1
lea ecx, [esp + 0x6c]
call fcn.00401c90
push edi
push 1
lea ecx, [esp + 0x24]
call fcn.00401c90
xor eax, eax
push eax
push 1
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b0], al
call fcn.00401c90
add ebx, 8
cmp word [ebx], di
jne 0x402cba
xor esi, esi
inc esi
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00401c90
mov eax, esi
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.0042d16b
add esp, 0x298
ret
Function at 0x402e1a
Capabilities:
Acquire debug privileges
Enumerate gui resources
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x454197
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x47a550]
xor eax, esp
mov dword [esp + 0x50], eax
push ebx
push esi
push edi
mov eax, dword [0x47a550]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
test edi, edi
jne 0x402e78
xor eax, eax
inc eax
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x50]
xor ecx, esp
call fcn.0042d16b
mov esp, ebp
pop ebp
ret
push edi
push 0x402ff3
call dword [sym.imp.USER32.dll_EnumWindows]
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
xor edx, edx
inc edx
mov ecx, str.SeDebugPrivilege
mov dword [esp + 0x70], ebx
call fcn.004029d4
push edi
push ebx
push 0x100001
mov byte [esp + 0x7c], 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je 0x402f3f
cmp esi, 0xffffffff
je 0x402f3f
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xbb8
push esi
call ebx
test eax, eax
je 0x402f4a
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
jne 0x402f22
push edi
lea eax, [esp + 0x4c]
push str.TerminateProcess_pid:_u_failed
push eax
call fcn.0040b15d
add esp, 0xc
push eax
mov byte [esp + 0x74], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
sub esp, 0xc
lea ecx, [esp + 0x38]
call fcn.00402868
push 0x476d08
lea eax, [esp + 0x28]
push eax
call fcn.0042f421
push 0xbb8
push esi
call ebx
neg eax
lea ecx, [esp + 0x14]
sbb esi, esi
call fcn.00409895
lea eax, [esi + 1]
jmp 0x402e5a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x402f58
lea ecx, [esp + 0x14]
call fcn.00409895
jmp 0x402e57
push eax
push edi
lea eax, [esp + 0x50]
push str.OpenProcess_pid:_u_failed__err:_u
push eax
call fcn.0040b15d
add esp, 0x10
push eax
sub esp, 0xc
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 2
call fcn.00402928
push 0x476d08
lea eax, [esp + 0x28]
jmp 0x402f1c

Function at 0x403061
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x47a550]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
cmp dword [esi + 0x14], 8
jb 0x403082
mov eax, dword [esi]
jmp 0x403084
mov eax, esi
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x20c]
push eax
mov ecx, esi
call fcn.00401a39
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
inc eax
pop esi
call fcn.0042d16b
leave
ret 4
Function at 0x403ef5
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x820
mov eax, dword [0x47a550]
xor eax, esp
mov dword [esp + 0x81c], eax
mov eax, dword [esp + 0x82c]
mov edx, dword [esp + 0x824]
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push ebx
mov esi, ecx
push eax
push dword [esp + 0x840]
mov ecx, dword [esi]
call fcn.0040f15c
add esp, 0xc
test eax, eax
jne 0x403f49
push ebx
push ebx
push dword [esi]
call fcn.00404637
neg eax
sbb eax, eax
inc eax
jmp 0x403ff2
mov edx, dword [esi]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004027ac
mov eax, dword [esi]
mov esi, str.hwang
add dword [eax + 0xc], 0xfffffff0
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop ecx
mov ebp, 0x7f2
movsd dword es:[edi], dword [esi]
push ebp
lea eax, [esp + 0x3a]
push ebx
push eax
movsw word es:[edi], word [esi]
call fcn.0042e030
add esp, 0xc
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push str._s_r_n
push eax
call fcn.0042e0c0
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
add esp, 0xc
lea eax, [esp + 0x28]
push eax
call ebx
mov esi, str.hwang
lea edi, [esp + 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ebp
lea eax, [esp + 0x3a]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0042e030
add esp, 0xc
lea eax, [esp + 0x34]
push str.luaL_loadbuffer_failed__r_n
push eax
call fcn.0042e0c0
pop ecx
pop ecx
lea eax, [esp + 0x28]
push eax
call ebx
push 0
push 1
lea ecx, [esp + 0x18]
call fcn.00401c90
xor eax, eax
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0042d16b
add esp, 0x820
ret 0xc
Function at 0x404ec7
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4539ba
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x47a550]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push esi
push edi
mov eax, dword [0x47a550]
xor eax, esp
push eax
lea eax, [esp + 0x838]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
sub edi, dword [eax]
mov eax, dword [ebx]
cdq
push edx
sub edi, 0x10
push eax
mov edx, 0xfff0b9d8
sar edi, 4
call fcn.0040d7e4
pop ecx
pop ecx
push esi
lea ecx, [esp + 0x18]
call fcn.00401aae
xor esi, esi
mov dword [esp + 0x840], esi
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x14]
call fcn.004026cf
or dword [esp + 0x840], 0xffffffff
push esi
push 1
lea ecx, [esp + 0x1c]
call fcn.00401c90
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 4]
cdq
push edx
push eax
call fcn.0040d4b8
mov eax, dword [ebp + 0x10]
add esp, 8
test eax, eax
jne 0x404f7d
mov eax, esi
jmp 0x404f7f
mov eax, dword [eax]
mov ecx, dword [ebx + 4]
push esi
push eax
call fcn.0040d4b8
add esp, 8
call fcn.004022e4
push 1
push 3
push dword [ebx + 4]
call fcn.00404637
test eax, eax
je 0x405018
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004027ac
mov esi, str.hwang
lea edi, [esp + 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x7f2
lea eax, [esp + 0x3e]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0042e030
add esp, 0xc
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x3c]
push str._s_r_n
push eax
call fcn.0042e0c0
add esp, 0xc
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebx + 4]
push 0
add dword [ecx + 0xc], 0xfffffff0
push 1
lea ecx, [esp + 0x1c]
call fcn.00401c90
push 3
pop eax
jmp 0x405033
mov ecx, dword [ebx + 4]
push esi
or edx, 0xffffffff
call fcn.0040d37d
pop ecx
mov ecx, dword [ebx + 4]
mov edx, edi
mov esi, eax
call fcn.0040d132
mov eax, esi
mov ecx, dword [esp + 0x838]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x820]
xor ecx, esp
call fcn.0042d16b
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4084c2
Capabilities:
Access peb ldr_data
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4535e5
mov eax, dword fs:[0]
push eax
sub esp, 0x840
mov eax, dword [0x47a550]
xor eax, esp
mov dword [esp + 0x838], eax
push ebx
push esi
push edi
mov eax, dword [0x47a550]
xor eax, esp
push eax
lea eax, [esp + 0x850]
mov dword fs:[0], eax
mov ebx, ecx
mov ecx, dword [ebx + 4]
mov esi, dword [ebp + 8]
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
sub edi, dword [eax]
mov eax, dword [ebx]
cdq
push edx
sub edi, 0x10
push eax
mov edx, 0xfff0b9d8
sar edi, 4
call fcn.0040d7e4
pop ecx
pop ecx
push esi
lea ecx, [esp + 0x30]
call fcn.00401aae
and dword [esp + 0x858], 0
mov ecx, dword [ebx + 4]
lea edx, [esp + 0x2c]
call fcn.004026cf
or dword [esp + 0x858], 0xffffffff
push 0
push 1
lea ecx, [esp + 0x34]
call fcn.00401c90
call fcn.004022e4
push 1
push 1
push dword [ebx + 4]
call fcn.00404637
test eax, eax
je 0x4085e5
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x18]
call fcn.004027ac
mov esi, str.hwang
lea edi, [esp + 0x48]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x7f2
lea eax, [esp + 0x56]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0042e030
add esp, 0xc
cmp dword [esp + 0x28], 8
lea eax, [esp + 0x14]
cmovae eax, dword [esp + 0x14]
push eax
lea eax, [esp + 0x54]
push str._s_r_n
push eax
call fcn.0042e0c0
add esp, 0xc
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx + 4]
push 0
add dword [eax + 0xc], 0xfffffff0
push 1
lea ecx, [esp + 0x1c]
call fcn.00401c90
jmp 0x4085ef
mov ecx, dword [ebx + 4]
mov edx, edi
call fcn.0040d132
mov ecx, dword [esp + 0x850]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x838]
xor ecx, esp
call fcn.0042d16b
mov esp, ebp
pop ebp
ret 4
Function at 0x409302
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x824
mov eax, dword [0x47a550]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
mov ebx, ecx
push esi
mov ecx, dword [ebx + 4]
push edi
mov eax, dword [ecx + 0x14]
mov edi, dword [ecx + 0xc]
sub edi, dword [eax]
mov eax, dword [ebx]
cdq
push edx
sub edi, 0x10
push eax
mov edx, 0xfff0b9d8
sar edi, 4
call fcn.0040d7e4
mov ecx, dword [ebx + 4]
xor esi, esi
push esi
push dword [ebp + 8]
call fcn.0040d4b8
mov ecx, dword [ebx + 4]
push esi
push dword [ebp + 0xc]
call fcn.0040d4b8
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
cdq
push edx
push eax
call fcn.0040d4b8
add esp, 0x20
call fcn.004022e4
push 1
push 3
push dword [ebx + 4]
call fcn.00404637
test eax, eax
je 0x4093f7
mov edx, dword [ebx + 4]
push 0xffffffffffffffff
lea ecx, [esp + 0x14]
call fcn.004027ac
mov esi, str.hwang
lea edi, [esp + 0x2c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp], 0x7f2
lea eax, [esp + 0x3a]
push 0
push eax
movsw word es:[edi], word [esi]
call fcn.0042e030
add esp, 0xc
cmp dword [esp + 0x24], 8
lea eax, [esp + 0x10]
cmovae eax, dword [esp + 0x10]
push eax
lea eax, [esp + 0x38]
push str._s_r_n
push eax
call fcn.0042e0c0
add esp, 0xc
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebx + 4]
push 0
add dword [eax + 0xc], 0xfffffff0
push 1
lea ecx, [esp + 0x18]
call fcn.00401c90
xor eax, eax
jmp 0x409412
mov ecx, dword [ebx + 4]
push esi
or edx, 0xffffffff
call fcn.0040d37d
pop ecx
mov ecx, dword [ebx + 4]
mov edx, edi
mov esi, eax
call fcn.0040d132
mov eax, esi
mov ecx, dword [esp + 0x82c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0042d16b
mov esp, ebp
pop ebp
ret 0xc

Function at 0x40be21
Capabilities:
Set registry value

Disassembly:
cmp dword [esp + 8], 0
push edi
mov edi, ecx
jne 0x40be30
push 0xd
pop eax
jmp 0x40be56
push dword [esp + 0xc]
call fcn.0042de64
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x10]
push 1
push 0
push dword [esp + 0x18]
push dword [edi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
ret 0xc

Function at 0x40c0e6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push edi
mov edi, edx
mov ebx, ecx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40c13d
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40c12e
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edx, dword [esp + 0x10]
lea ecx, [esi + eax]
and edx, 0xf
jbe 0x40c12a
cmp esi, ecx
jae 0x40c12e
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
dec edx
jne 0x40c11a
cmp esi, ecx
jb 0x40c132
xor eax, eax
jmp 0x40c13c
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40e17f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
xor edx, edx
push esi
push edi
inc edx
mov ebx, ecx
call fcn.0040cfeb
mov esi, dword [eax]
mov edi, dword [ebp + 8]
push 3
pop edx
mov ecx, ebx
call fcn.0040cfeb
mov edx, dword [esi + edi*4 + 0xc]
mov ecx, dword [eax]
dec dword [edx + 4]
mov dword [ebp + 8], ecx
jne 0x40e1c3
lea eax, [edx + 8]
cmp dword [edx], eax
jne 0x40e1c3
push 0
push 0x18
mov ecx, ebx
call fcn.004188a8
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
mov eax, dword [ecx + eax*4 + 0xc]
mov dword [esi + edi*4 + 0xc], eax
inc dword [eax + 4]
mov ecx, dword [esi + edi*4 + 0xc]
lea eax, [ecx + 8]
cmp dword [ecx], eax
je 0x40e1e3
mov dword [ecx + 0xc], 1
mov edx, dword [esi + edi*4 + 0xc]
mov ecx, dword [edx]
test byte [ecx + 8], 0x40
je 0x40e201
lea eax, [edx + 8]
cmp ecx, eax
jne 0x40e201
pop edi
pop esi
mov ecx, ebx
pop ebx
pop ebp
jmp fcn.00416381
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x41367f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, ecx
cmp dword [esi + 0xc], ebx
jne 0x4136a7
mov ecx, dword [edi + 0x48]
cmp ecx, edx
je 0x4136a7
mov edx, esi
call fcn.00413466
jmp 0x4136b9
xor edx, edx
push esi
inc edx
lea ecx, [esp + 0x13]
mov byte [esp + 0x13], bl
call fcn.0041342c
pop ecx
mov eax, dword [edi + 0x24]
push esi
push 4
pop edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0041342c
mov eax, dword [edi + 0x28]
pop ecx
push esi
push 4
pop edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0041342c
pop ecx
movzx ecx, byte [edi + 6]
mov edx, esi
call fcn.00413450
movzx ecx, byte [edi + 7]
mov edx, esi
call fcn.00413450
movzx ecx, byte [edi + 8]
mov edx, esi
call fcn.00413450
mov eax, dword [edi + 0x14]
push esi
push 4
pop edx
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.0041342c
mov edx, dword [edi + 0x14]
pop ecx
mov ecx, dword [edi + 0x30]
push esi
shl edx, 2
call fcn.0041342c
pop ecx
mov edx, esi
mov ecx, edi
call fcn.004134dc
mov eax, dword [edi + 0xc]
push esi
push 4
pop edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.0041342c
pop ecx
cmp dword [esp + 0x10], ebx
jle 0x413778
mov eax, dword [edi + 0x40]
mov edx, esi
movzx ecx, byte [eax + ebx*8 + 4]
call fcn.00413450
mov eax, dword [edi + 0x40]
mov edx, esi
movzx ecx, byte [eax + ebx*8 + 5]
call fcn.00413450
inc ebx
cmp ebx, dword [esp + 0x10]
jl 0x413751
xor ebx, ebx
mov eax, dword [edi + 0x1c]
push esi
push 4
pop edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
call fcn.0041342c
cmp dword [esp + 0x14], 0
pop ecx
jle 0x4137af
mov ecx, dword [edi + 0x34]
mov edx, dword [edi + 0x48]
mov ecx, dword [ecx + ebx*4]
push esi
call fcn.0041367f
inc ebx
pop ecx
cmp ebx, dword [esp + 0x10]
jl 0x413798
mov edx, esi
mov ecx, edi
call fcn.00413582
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x414d40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], edi
call fcn.00431198
mov eax, dword [eax]
xor esi, esi
movsx eax, byte [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
xorps xmm1, xmm1
mov dword [eax], edi
movzx eax, byte [edi]
mov dword [ebp - 0x18], esi
test byte [eax + 0x45e0c9], 8
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x10], esi
je 0x414d8c
inc edi
movzx eax, byte [edi]
test byte [eax + 0x45e0c9], 8
jne 0x414d7c
mov dword [ebp - 8], edi
lea ecx, [ebp - 8]
call fcn.00414d25
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], eax
cmp byte [edx], 0x30
jne 0x414ebf
mov cl, byte [edx + 1]
cmp cl, 0x78
je 0x414db4
cmp cl, 0x58
jne 0x414ebf
mov eax, dword [ebp - 0x14]
add edx, 2
mov cl, byte [edx]
movsx edi, cl
cmp edi, eax
jne 0x414dd2
cmp dword [ebp - 0x10], 0
jne 0x414e23
mov dword [ebp - 0x10], 1
jmp 0x414e20
movzx eax, cl
test byte [eax + 0x45e0c9], 0x10
je 0x414e23
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x414def
cmp cl, 0x30
jne 0x414def
inc dword [ebp - 0x1c]
jmp 0x414e16
inc eax
mov dword [ebp - 0x18], eax
cmp eax, 0x1e
jg 0x414e15
mov ecx, edi
call fcn.00414d11
mulsd xmm1, qword [0x4606b0]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
addsd xmm1, xmm0
jmp 0x414e16
inc esi
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x14]
je 0x414e20
dec esi
inc edx
jmp 0x414dba
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push 0
mov dword [ebp - 0xc], esi
pop esi
add eax, ecx
je 0x414ebf
mov eax, dword [ebp - 0x20]
mov dword [eax], edx
mov eax, dword [ebp - 0xc]
mov edi, eax
mov al, byte [edx]
shl edi, 2
cmp al, 0x70
je 0x414e4e
cmp al, 0x50
jne 0x414e97
inc edx
lea ecx, [ebp - 8]
mov dword [ebp - 8], edx
call fcn.00414d25
mov edx, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov al, byte [edx]
movzx ecx, al
test byte [ecx + 0x45e0c9], 2
je 0x414ebf
imul esi, esi, 0xa
movsx eax, al
add eax, 0xffffffd0
add esi, eax
inc edx
movzx eax, byte [edx]
test byte [eax + 0x45e0c9], 2
mov al, byte [edx]
jne 0x414e6e
cmp dword [ebp - 0x1c], 0
je 0x414e90
neg esi
mov eax, dword [ebp - 0x20]
add edi, esi
mov dword [eax], edx
cmp dword [ebp - 0x24], 0
je 0x414ea5
xorpd xmm1, xmmword [0x460700]
push edi
push ecx
push ecx
movsd qword [esp], xmm1
call fcn.00430fb0
fstp qword [ebp - 0x28]
movsd xmm0, qword [ebp - 0x28]
add esp, 0xc
jmp 0x414ec2
xorps xmm0, xmm0
pop edi
pop esi
leave
ret

Function at 0x416358
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x10]
cmp byte [eax + 0x3d], 1
ja 0x41636f
mov edx, dword [ebp + 8]
mov ecx, eax
pop ebp
jmp fcn.004163cd
mov cl, byte [eax + 0x3c]
mov al, byte [edx + 5]
and cl, 3
and al, 0xf8
or cl, al
mov byte [edx + 5], cl
pop ebp
ret

Function at 0x416381
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx]
cmp byte [ecx + 0x3d], 1
mov edx, dword [eax]
ja 0x416398
test byte [edx + 5], 3
jne fcn.004163cd
ret