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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x43a340]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x418c5d
cmp word [ebx], dx
jne 0x418c5d
or byte [eax + edi + 0x28], 4
jmp 0x418c62
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x418dc5
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x418da5
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x418ca3
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x418cd9
cmp eax, edx
jae 0x418ce7
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x418c7e
jmp 0x418dc5
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x418da0
cmp dword [ebp - 0x18], 0
je 0x418da0
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x43a340]
test byte [eax + edi + 0x28], 0x48
je 0x418d76
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x418d3a
mov word [esi], cx
jmp 0x418d71
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x43a340]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x43a340]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x43a340]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x418dc5
pop eax
cmp word [ebp - 4], ax
jne 0x418d86
cmp esi, ebx
jne 0x418d86
mov word [esi], ax
jmp 0x418dc2
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.004197ea
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x418dc5
push 0xd
pop eax
jmp 0x418d81
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x43a340]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x418dbf
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x418dc5
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x41be47
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42fe00
push 0x42fdf8
push str.FlsAlloc
push 0x1f
call fcn.0041bd06
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41be7b
push dword [ebp + 8]
mov ecx, esi
call dword [0x428234]
call esi
jmp 0x41be81
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41bec5
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42fe10
push 0x42fe08
push str.FlsGetValue
push 0x21
call fcn.0041bd06
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41befc
push dword [ebp + 8]
mov ecx, esi
call dword [0x428234]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41bf04
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42fe18
push 0x42fe10
push str.FlsSetValue
push 0x22
call fcn.0041bd06
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41bf3e
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x428234]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41d3a3
Capabilities:
Get disk information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x436040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp eax, 0x1a
jbe 0x41d3e6
call fcn.0041321d
mov dword [eax], 0xf
call fcn.00413230
mov dword [eax], 0xd
call fcn.00418069
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040b793
leave
ret
test eax, eax
jne 0x41d3ed
inc eax
jmp 0x41d3da
add eax, 0x40
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov ecx, eax
test ecx, ecx
je 0x41d3d8
xor eax, eax
cmp ecx, 1
setne al
jmp 0x41d3da

Function at 0x41dc7f
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041d79a
Function at 0x41e5f4
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x436040]
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 0x41e63f
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.0041e78f
test al, al
jne 0x41e639
sub edx, 2
cmp edx, edi
jne 0x41e61f
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x41e661
lea eax, [edi + 2]
cmp edx, eax
je 0x41e661
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.0041e540
add esp, 0x10
jmp 0x41e75b
push esi
lea ecx, [ebp - 0x255]
call fcn.0041e78f
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 0x41e6a4
push dword [ebp - 0x25c]
jmp 0x41e651
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 0x41e6e1
cmp word [ebp - 0x226], 0
je 0x41e702
cmp word [ebp - 0x226], ax
jne 0x41e6e1
cmp word [ebp - 0x224], 0
je 0x41e702
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.0041e540
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x41e74e
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x41e6bb
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x41e736
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x41e75b
push 0x41e370
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00423b10
add esp, 0x10
jmp 0x41e72b
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.0040b793
leave
ret
Function at 0x41f067
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 0x41f104
push ebx
push esi
call fcn.0041f030
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.0041d4ce
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41f0b1
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f103
push edi
push eax
call fcn.0041a8c1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41f0d1
call fcn.004180ad
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41f102
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041d4ce
add esp, 0x20
test eax, eax
jne 0x41f0f0
push edi
call fcn.004180ad
jmp 0x41f0f8
push ebx
call fcn.004180ad
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 0x41f107
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x41f118
pop esi
ret
push ebx
push edi
push esi
call fcn.0041f030
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0041a8c1
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x41f140
push ebx
push esi
push edi
call fcn.0040c590
add esp, 0xc
push 0
call fcn.004180ad
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x424e95
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
push dword [ebp + 0xc]
push ebx
call fcn.00424e11
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x425004
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x425004
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x424fb9
jg 0x424ef1
test eax, eax
je 0x424faf
push 1
push 0x1000
call fcn.0041baa8
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x424f14
push 0xc
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x424fa6
push 0x8000
push ebx
call fcn.004175cb
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x424f3d
jg 0x424f38
cmp ecx, 0x1000
jb 0x424f3d
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.0041a326
add esp, 0x10
cmp eax, 0xffffffff
je 0x424f82
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x424f38
jl 0x424f69
test ecx, ecx
jne 0x424f2a
push dword [ebp - 0xc]
push ebx
call fcn.004175cb
push esi
call fcn.004180ad
add esp, 0xc
xor ebx, ebx
jmp 0x425012
cmp byte [edi + 0x24], 0
je 0x424f99
cmp dword [edi + 0x20], 5
jne 0x424f99
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x424fa4
mov ebx, dword [edi + 0x18]
jmp 0x424fa6
xor ebx, ebx
push esi
call fcn.004180ad
pop ecx
jmp 0x425012
test ecx, ecx
jg 0x424f7b
jl 0x424fb9
test eax, eax
jae 0x424f7b
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.004197ea
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x424fd9
cmp byte [edi + 0x1c], 0
je 0x424f7b
jmp 0x42500a
push ebx
call fcn.004162f2
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x424f7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [edi + 0x24], 1
mov dword [edi + 0x20], eax
pop ebx
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], ebx
jmp 0x425012
cmp byte [edi + 0x1c], 0
je 0x42500f
mov ebx, dword [edi + 0x18]
jmp 0x425012
push 0x16
pop ebx
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.004197ea
add esp, 0x10
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x426c80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426cad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426cad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x407440
Capabilities:
Get common file path

Disassembly:
mov eax, 0x2028
call fcn.0040af90
mov eax, dword [0x435040]
xor eax, esp
mov dword [esp + 0x2024], eax
push ebx
mov ebx, dword [esp + 0x2030]
push ebp
xor ebp, ebp
mov dword [esp + 8], ebx
push esi
push edi
cmp dword [ebx + 0x3020], ebp
je 0x4074d7
push 0x4291d8
call fcn.00407600
push dword [ebx + 0x3020]
mov ebp, eax
call fcn.00406f70
mov edi, eax
add esp, 8
test edi, edi
jne 0x4074a2
push ebp
call fcn.0041256e
add esp, 4
or eax, 0xffffffff
jmp 0x4075db
push edi
push 0x4291dc
call fcn.004152bc
push edi
mov esi, eax
call fcn.0041256e
add esp, 0xc
test esi, esi
je 0x4074d7
push str.LOADER:_failed_to_set_the_TMP_environment_variable._n
call fcn.00402400
push ebp
call fcn.0041256e
add esp, 8
or eax, 0xffffffff
jmp 0x4075db
lea eax, [esp + 0x34]
push eax
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str._MEI_d
lea eax, [esp + 0x1c]
push 0x10
push eax
call fcn.004022d0
add esp, 0x10
xor esi, esi
jmp 0x407509
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x38]
push eax
call fcn.00415ae8
add esp, 8
mov edi, eax
push dword [ebx + 0x301c]
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x407542
push edi
call fcn.0041256e
inc esi
add esp, 4
or ebx, 0xffffffff
cmp esi, 5
jl 0x407505
jmp 0x407578
push 0x1000
lea eax, [ebx + 0x2012]
push eax
push edi
call fcn.00407de0
add esp, 0xc
test eax, eax
jne 0x40756d
push str.LOADER:_length_of_teporary_directory_path_exceeds_maximum_path_length__n
call fcn.00402400
add esp, 4
or ebx, 0xffffffff
jmp 0x40756f
xor ebx, ebx
push edi
call fcn.0041256e
add esp, 4
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x3020], 0
je 0x4075d9
push 0
push 0
push 0x4291d8
call fcn.00407d60
test ebp, ebp
je 0x4075c3
push 0
push 0
push ebp
mov edi, eax
call fcn.00407d60
mov esi, eax
push esi
push edi
call fcn.004152bc
push edi
call fcn.0041256e
push esi
call fcn.0041256e
push ebp
call fcn.0041256e
add esp, 0x2c
jmp 0x4075d9
mov esi, eax
push 0x428f10
push esi
call fcn.004152bc
push esi
call fcn.0041256e
add esp, 0x18
mov eax, ebx
mov ecx, dword [esp + 0x2034]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0040ac53
add esp, 0x2028
ret

Function at 0x407600
Capabilities:
Query environment variable

Disassembly:
mov eax, 0x4004
call fcn.0040af90
mov eax, dword [0x435040]
xor eax, esp
mov dword [esp + 0x4000], eax
mov eax, dword [esp + 0x4008]
push 0
push 0
push eax
call fcn.00407d60
add esp, 0xc
lea ecx, [esp]
push 0x1000
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
cmp eax, 0x1000
jae 0x407693
test eax, eax
je 0x407693
push 0x1000
lea eax, [esp + 0x2004]
push eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, 0x1000
jae 0x407693
test eax, eax
je 0x407693
push 0
lea eax, [esp + 0x2004]
push 0
push eax
call fcn.00407de0
add esp, 0xc
mov ecx, dword [esp + 0x4000]
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
mov ecx, dword [esp + 0x4000]
xor eax, eax
xor ecx, esp
call fcn.0040ac53
add esp, 0x4004
ret
Function at 0x41b228
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42eb70
push 0x42eb68
push str.FlsAlloc
push 0x1f
call fcn.0041b0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b25c
push dword [ebp + 8]
mov ecx, esi
call dword [0x42720c]
call esi
jmp 0x41b262
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x41b2a6
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42eb80
push 0x42eb78
push str.FlsGetValue
push 0x21
call fcn.0041b0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b2dd
push dword [ebp + 8]
mov ecx, esi
call dword [0x42720c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x41b2e5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x42eb88
push 0x42eb80
push str.FlsSetValue
push 0x22
call fcn.0041b0e7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x41b31f
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x42720c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x41c0bb
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41c0cb
invalid
jnp 0x410d56
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x41c0e9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41c147
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41c12e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41c137
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41c141
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41c123
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41c0ad
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41c194
dec eax
je 0x41c18b
sub eax, 3
je 0x41c182
mov dword [ebp - 4], 0x40
jmp 0x41c1b1
mov dword [ebp - 4], 4
jmp 0x41c197
mov dword [ebp - 4], 0x20
jmp 0x41c197
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41c1e3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41c163
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041b9f4
das
push ecx
sub al, 0xf0
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x41c0c6
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41c0cb
invalid
jnp 0x410d56
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x41c0e9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41c147
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41c12e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41c137
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41c141
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41c123
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41c0ad
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41c194
dec eax
je 0x41c18b
sub eax, 3
je 0x41c182
mov dword [ebp - 4], 0x40
jmp 0x41c1b1
mov dword [ebp - 4], 4
jmp 0x41c197
mov dword [ebp - 4], 0x20
jmp 0x41c197
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41c1e3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41c163
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041b9f4
das
push ecx
sub al, 0xf0
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x41c0ea
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x41c0cb
invalid
jnp 0x410d56
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
push dword [ebx]
leave
mov edi, 0x60000000
jmp 0x41c0e9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x41c147
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x41c12e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x41c137
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x41c141
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x41c123
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x41c0ad
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x41c194
dec eax
je 0x41c18b
sub eax, 3
je 0x41c182
mov dword [ebp - 4], 0x40
jmp 0x41c1b1
mov dword [ebp - 4], 4
jmp 0x41c197
mov dword [ebp - 4], 0x20
jmp 0x41c197
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x41c1e3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x41c163
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0041b9f4
das
push ecx
sub al, 0xf0
push dword [ebp + 0x14]
push 1
push esi
call edi
mov eax, esi
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
Function at 0x41c224
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [eax + 0x62fffffc], esi
mov byte [ebp - 0x34f], 0x40
mov byte [ebp - 0x34e], 0x51
mov byte [ebp - 0x34d], 0x75
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0041ba04
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.0041b9b9
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
mov byte [ebp - 0x3b1], 0xb