joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43f741
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x43f767
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x43f762
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x43f74c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x43f754
cmp edx, ebx
jne 0x43f8a2
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x43f723
add eax, dword [eax + 4]
jmp 0x43f710
mov dword [ebp + 0xc], ebx
jmp 0x43f772
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x43f78a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x43f7a8
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 0x43f806
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 0x43f7ed
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x43f7f6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x43f800
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x43f7e2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x43f76c
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 0x43f853
dec eax
je 0x43f84a
sub eax, 3
je 0x43f841
mov dword [ebp - 4], 0x40
jmp 0x43f870
mov dword [ebp - 4], 4
jmp 0x43f856
mov dword [ebp - 4], 0x20
jmp 0x43f856
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 0x43f8a2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x43f822
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0043f0b3
push es
loope 0x43f8b9
xchg edi, edi
jne 0x43f8ad
push 1
push esi
call edi
mov eax, esi
jmp 0x43f8ae
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
pop es
add byte [eax], al
push ebx
push esi
push edi
call fcn.0043f091
ret
Function at 0x43f760
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x43f767
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x43f762
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x43f74c
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x43f754
cmp edx, ebx
jne 0x43f8a2
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x43f723
add eax, dword [eax + 4]
jmp 0x43f710
mov dword [ebp + 0xc], ebx
jmp 0x43f772
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x43f78a
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x43f7a8
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 0x43f806
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 0x43f7ed
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x43f7f6
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x43f800
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x43f7e2
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x43f76c
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 0x43f853
dec eax
je 0x43f84a
sub eax, 3
je 0x43f841
mov dword [ebp - 4], 0x40
jmp 0x43f870
mov dword [ebp - 4], 4
jmp 0x43f856
mov dword [ebp - 4], 0x20
jmp 0x43f856
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 0x43f8a2
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x43f822
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.0043f0b3
push es
loope 0x43f8b9
xchg edi, edi
jne 0x43f8ad
push 1
push esi
call edi
mov eax, esi
jmp 0x43f8ae
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret
pop es
add byte [eax], al
push ebx
push esi
push edi
call fcn.0043f091
ret
Function at 0x446767
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x47279c]
push ebx
push esi
xor ebx, ebx
xor esi, esi
cmp eax, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov dword [ebp - 4], ebx
jne 0x4467b6
call edi
mov esi, eax
cmp esi, ebx
je 0x44679c
mov dword [0x47279c], 1
jmp 0x4467bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x4467b1
push 2
pop eax
mov dword [0x47279c], eax
jmp 0x4467b6
mov eax, dword [0x47279c]
cmp eax, 1
jne 0x446816
cmp esi, ebx
jne 0x4467ce
call edi
mov esi, eax
cmp esi, ebx
jne 0x4467ce
xor eax, eax
jmp 0x4468e5
cmp word [esi], bx
mov eax, esi
je 0x4467e3
inc eax
inc eax
cmp word [eax], bx
jne 0x4467d5
inc eax
inc eax
cmp word [eax], bx
jne 0x4467d5
sub eax, esi
inc eax
inc eax
push eax
mov dword [ebp - 4], eax
call fcn.0043c073
mov edi, eax
cmp edi, ebx
pop ecx
jne 0x446807
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
jmp 0x4468e5
push dword [ebp - 4]
push esi
push edi
call fcn.0043b900
add esp, 0xc
jmp 0x4467f9
cmp eax, 2
je 0x44681f
cmp eax, ebx
jne 0x4467c7
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 8], esi
je 0x4467c7
cmp byte [esi], bl
je 0x446860
push ebx
push ebx
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, ebx
je 0x4467c7
add dword [ebp - 4], eax
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x44684c
sub eax, edi
lea esi, [esi + eax + 1]
cmp byte [esi], bl
jne 0x446832
mov esi, dword [ebp - 8]
inc dword [ebp - 4]
push 2
push dword [ebp - 4]
call fcn.0044245d
mov edi, eax
cmp edi, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], edi
jne 0x446884
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
jmp 0x4467c7
mov eax, dword [ebp - 8]
cmp byte [eax], bl
je 0x4468d6
mov ecx, dword [ebp - 4]
mov eax, edi
sub eax, dword [ebp - 0xc]
sar eax, 1
sub ecx, eax
push ecx
push edi
push 0xffffffffffffffff
push esi
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x4468ea
mov eax, esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x4468ae
sub eax, ecx
lea esi, [esi + eax + 1]
mov eax, edi
lea ecx, [eax + 2]
mov dx, word [eax]
inc eax
inc eax
cmp dx, bx
jne 0x4468c0
sub eax, ecx
sar eax, 1
cmp byte [esi], bl
lea edi, [edi + eax*2 + 2]
jne 0x44688b
push dword [ebp - 8]
mov word [edi], bx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret
push dword [ebp - 0xc]
call fcn.0043c1ba
pop ecx
push dword [ebp - 8]
jmp 0x446879
Function at 0x4468f8
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x4727a0]
test eax, eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCommandLineW]
jne 0x44693c
call esi
test eax, eax
je 0x446921
mov dword [0x4727a0], 1
jmp 0x446941
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x78
jne 0x446938
mov dword [0x4727a0], 2
jmp 0x44694a
xor eax, eax
jmp 0x4469a0
cmp eax, 1
jne 0x446945
call esi
jmp 0x4469a0
cmp eax, 2
jne 0x446938
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 1
push 0
mov dword [ebp - 8], eax
call esi
mov edi, eax
test edi, edi
je 0x44699d
push 2
push edi
call fcn.0044245d
test eax, eax
pop ecx
pop ecx
mov dword [ebp - 4], eax
je 0x44699d
push edi
push eax
push 0xffffffffffffffff
push dword [ebp - 8]
push 1
push 0
call esi
test eax, eax
je 0x446994
mov eax, dword [ebp - 4]
jmp 0x44699f
push dword [ebp - 4]
call fcn.0043c1ba
pop ecx
xor eax, eax
pop edi
pop esi
leave
ret

Function at 0x446c28
Capabilities:
Inspect section memory permissions

Disassembly:
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0043c015
jmp fcn.0043f741

Function at 0x4472c0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x4472d3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4472cf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x4472f0
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x44732f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x447325
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x447331
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x447315
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x44ddc9
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
push 1
push ebx
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.004488a0
mov dword [ebp - 0x18], eax
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
mov dword [ebp - 0x14], edx
je 0x44de51
push 2
push ebx
push ebx
push dword [ebp + 8]
call fcn.004488a0
mov ecx, eax
and ecx, edx
add esp, 0x10
cmp ecx, 0xffffffff
je 0x44de51
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
sub esi, eax
sbb edi, edx
js 0x44dee6
jg 0x44de2a
cmp esi, ebx
jbe 0x44dee6
mov ebx, 0x1000
push ebx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
mov dword [ebp - 4], eax
jne 0x44de5d
call fcn.0043d6cf
mov dword [eax], 0xc
call fcn.0043d6cf
mov eax, dword [eax]
pop edi
pop esi
pop ebx
leave
ret
push 0x8000
push dword [ebp + 8]
call fcn.0044df7f
pop ecx
pop ecx
mov dword [ebp - 8], eax
test edi, edi
jl 0x44de7d
jg 0x44de79
cmp esi, ebx
jb 0x44de7d
mov eax, ebx
jmp 0x44de7f
mov eax, esi
push eax
push dword [ebp - 4]
push dword [ebp + 8]
call fcn.00448a3e
add esp, 0xc
cmp eax, 0xffffffff
je 0x44dec9
cdq
sub esi, eax
sbb edi, edx
js 0x44dea0
jg 0x44de6f
test esi, esi
ja 0x44de6f
mov esi, dword [ebp - 0x10]
push dword [ebp - 8]
push dword [ebp + 8]
call fcn.0044df7f
pop ecx
pop ecx
push dword [ebp - 4]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ebx, ebx
jmp 0x44df4f
call fcn.0043d6e2
cmp dword [eax], 5
jne 0x44dede
call fcn.0043d6cf
mov dword [eax], 0xd
or esi, 0xffffffff
mov dword [ebp - 0xc], esi
jmp 0x44dea3
cmp edi, ebx
jg 0x44df5b
jl 0x44def0
cmp esi, ebx
jae 0x44df5b
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004488a0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x44de51
push dword [ebp + 8]
call fcn.0044a645
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
neg eax
sbb eax, eax
neg eax
dec eax
cdq
mov dword [ebp - 0x10], eax
and eax, edx
cmp eax, 0xffffffff
mov dword [ebp - 0xc], edx
jne 0x44df5b
call fcn.0043d6cf
mov dword [eax], 0xd
call fcn.0043d6e2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi], eax
mov esi, dword [ebp - 0x10]
and esi, dword [ebp - 0xc]
cmp esi, 0xffffffff
je 0x44de51
push ebx
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp + 8]
call fcn.004488a0
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
je 0x44de51
xor eax, eax
jmp 0x44de58
Function at 0x401680
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40169b
pop edi
pop ebx
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x4016d2
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x4016ce
jmp 0x4016c0
cmp esi, eax
jae 0x4016d2
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x4016c0
cmp esi, eax
jb 0x4016d9
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x404c80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x2612450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
lea edx, [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
push edx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x3c], 0x50746547
mov dword [ebp - 0x38], 0x65636f72
mov dword [ebp - 0x34], 0x65487373
mov word [ebp - 0x30], 0x7061
mov byte [ebp - 0x2e], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x2c], 0x70616548
mov dword [ebp - 0x28], 0x6c416552
mov dword [ebp - 0x24], 0x636f6c
call esi
push eax
call edi
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x20], 0x70616548
mov dword [ebp - 0x1c], 0x6f6c6c41
mov word [ebp - 0x18], 0x63
call esi
push eax
call edi
mov esi, eax
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x404d5e
mov edx, dword [ebp - 0x40]
push edx
push eax
push 0
call dword [ebp - 0x44]
push eax
call dword [ebp - 0x48]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054774f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x40]
push eax
push 0
call dword [ebp - 0x44]
push eax
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054774f
mov esp, ebp
pop ebp
ret
Function at 0x404d80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x2612450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x20], 0x70616548
mov dword [ebp - 0x1c], 0x65657246
mov byte [ebp - 0x18], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x34], eax
push edx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x30], 0x50746547
mov dword [ebp - 0x2c], 0x65636f72
mov dword [ebp - 0x28], 0x65487373
mov word [ebp - 0x24], 0x7061
mov byte [ebp - 0x22], 0
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push esi
push 0
call eax
push eax
call dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0054774f
mov esp, ebp
pop ebp
ret

Function at 0x404e20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x2612450]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 4]
mov dword [ebp - 0x38], eax
mov eax, dword [eax]
mov dword [ebp - 0x34], ecx
movzx ecx, word [eax + 0x14]
mov dword [ebp - 0x2c], edx
xor edx, edx
push esi
lea esi, [ecx + eax + 0x28]
mov dword [ebp - 0x28], 0
cmp dx, word [eax + 6]
jae 0x404f33
push ebx
push edi
mov bl, 0x6c
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x24], 0x4e52454b
mov dword [ebp - 0x20], 0x32334c45
mov word [ebp - 0x1c], 0x642e
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x14], 0x74726956
mov word [ebp - 0x10], 0x6175
mov byte [ebp - 0xe], bl
mov byte [ebp - 0xd], 0x41
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov word [ebp - 0xa], 0x636f
mov byte [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi]
test ecx, ecx
jne 0x404eed
mov edx, dword [ebp - 0x34]
mov edi, dword [edx + 0x38]
test edi, edi
jle 0x404f16
mov ecx, dword [esi - 4]
add ecx, dword [ebp - 0x2c]
push 4
push 0x1000
push edi
push ecx
call eax
push edi
push 0
push eax
mov dword [esi - 8], eax
call fcn.005492c0
jmp 0x404f13
mov edx, dword [esi - 4]
add edx, dword [ebp - 0x2c]
push 4
push 0x1000
push ecx
push edx
call eax
mov ecx, dword [esi + 4]
add ecx, dword [ebp - 0x30]
mov edi, eax
mov eax, dword [esi]
push eax
push ecx
push edi
call fcn.0054b770
mov dword [esi - 8], edi
add esp, 0xc
mov edx, dword [ebp - 0x38]
mov ecx, dword [edx]
mov eax, dword [ebp - 0x28]
movzx edx, word [ecx + 6]
inc eax
add esi, 0x28
mov dword [ebp - 0x28], eax
cmp eax, edx
jl 0x404e67
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054774f
mov esp, ebp
pop ebp
ret
Function at 0x404f50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x2612450]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi]
mov dword [ebp - 0x14], 0x4e52454b
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
movzx ecx, word [eax + 0x14]
lea edx, [ebp - 0x20]
lea esi, [ecx + eax + 0x3c]
push edx
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x20], 0x74726956
mov dword [ebp - 0x1c], 0x466c6175
mov dword [ebp - 0x18], 0x656572
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, dword [edi]
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0
cmp cx, word [ebx + 6]
jae 0x405093
lea ecx, [ecx]
mov eax, dword [esi]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov edi, eax
and ecx, 1
and edx, 1
shr edi, 0x1f
test eax, 0x2000000
je 0x405000
mov edx, dword [esi - 0x14]
mov eax, dword [esi - 0x1c]
push 0x4000
push edx
push eax
call dword [ebp - 0x3c]
jmp 0x405078
lea ecx, [edx + ecx*2]
lea edx, [edi + ecx*2]
mov edi, dword [edx*4 + 0x2614098]
test eax, 0x4000000
je 0x40501a
or edi, 0x200
mov ecx, dword [esi - 0x14]
test ecx, ecx
jne 0x405035
test al, 0x40
je 0x40502a
mov ecx, dword [ebx + 0x20]
jmp 0x405031
test al, al
jns 0x405078
mov ecx, dword [ebx + 0x24]
test ecx, ecx
je 0x405078
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov dword [ebp - 0x30], 0x74726956
mov dword [ebp - 0x2c], 0x506c6175
mov dword [ebp - 0x28], 0x65746f72
mov word [ebp - 0x24], 0x7463
mov byte [ebp - 0x22], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esi - 0x14]
lea edx, [ebp - 0x40]
push edx
mov edx, dword [esi - 0x1c]
push edi
push ecx
push edx
call eax
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ecx]
mov eax, dword [ebp - 0x34]
movzx edx, word [ebx + 6]
inc eax
add esi, 0x28
mov dword [ebp - 0x34], eax
cmp eax, edx
jl 0x404fd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054774f
mov esp, ebp
pop ebp
ret
Function at 0x405690
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x2612450]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
cmp edi, esi
je 0x4057fc
cmp dword [edi + 0x10], esi
je 0x4056c2
mov ecx, dword [edi]
mov eax, dword [edi + 4]
mov edx, dword [ecx + 0x28]
push esi
push esi
push eax
add edx, eax
call edx
mov dword [edi + 0x10], esi
mov al, 0x45
push ebx
mov byte [ebp - 0x10], al
mov dword [ebp - 0x14], 0x4e52454b
mov al, 0x4c
mov dword [ebp - 0xf], 0x2e32334c
mov dword [ebp - 0xb], 0x6c6c64
mov bl, 0x65
cmp dword [edi + 8], esi
je 0x405743
mov byte [ebp - 0x28], al
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov word [ebp - 0x2c], 0x7246
mov byte [ebp - 0x2a], bl
mov byte [ebp - 0x29], bl
mov dword [ebp - 0x27], 0x61726269
mov word [ebp - 0x23], 0x7972
mov byte [ebp - 0x21], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x4c], eax
cmp dword [edi + 0xc], esi
jle 0x40573b
mov edx, dword [edi + 8]
cmp dword [edx + esi*4], 0xffffffff
lea eax, [edx + esi*4]
je 0x405735
mov eax, dword [eax]
push eax
call dword [ebp - 0x4c]
inc esi
cmp esi, dword [edi + 0xc]
jl 0x405723
mov esi, dword [edi + 8]
call fcn.00404d80
lea ecx, [ebp - 0x38]
push ecx
lea edx, [ebp - 0x14]
push edx
mov dword [ebp - 0x38], 0x74726956
mov dword [ebp - 0x34], 0x466c6175
mov byte [ebp - 0x30], 0x72
mov byte [ebp - 0x2f], bl
mov byte [ebp - 0x2e], bl
mov byte [ebp - 0x2d], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x405787
push 0x8000
push 0
push ecx
call eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov byte [ebp - 0x20], 0x48
mov byte [ebp - 0x1f], bl
mov dword [ebp - 0x1e], 0x72467061
mov byte [ebp - 0x1a], bl
mov byte [ebp - 0x19], bl
mov byte [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call esi
lea edx, [ebp - 0x48]
mov esi, eax
push edx
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 0x48], 0x47
mov byte [ebp - 0x47], bl
mov dword [ebp - 0x46], 0x6f725074
mov byte [ebp - 0x42], 0x63
mov byte [ebp - 0x41], bl
mov word [ebp - 0x40], 0x7373
mov byte [ebp - 0x3e], 0x48
mov byte [ebp - 0x3d], bl
mov word [ebp - 0x3c], 0x7061
mov byte [ebp - 0x3a], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push 0
call eax
push eax
call esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054774f
mov esp, ebp
pop ebp
ret