joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10f5ac2
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xbc
mov eax, dword [0x111121c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
push 0xb
lea eax, [ebp - 0x3c]
push eax
push 0x10274a8
mov ecx, esi
call fcn.0106534b
cmp eax, 0xffffffff
je 0x10f5b02
lea eax, [ebp - 0x3c]
push eax
call fcn.01065d85
test eax, eax
je 0x10f5b02
mov dword [0x1114ae8], eax
push ebx
push edi
push 3
lea eax, [ebp - 0xc]
push eax
push 0x10274cc
mov ecx, esi
call fcn.0106534b
cmp eax, 0xffffffff
push 0x20
pop edi
je 0x10f5b3c
cmp word [ebp - 0xc], 0
je 0x10f5b3c
cmp word [ebp - 0xc], di
je 0x10f5b3c
push 3
lea eax, [ebp - 0xc]
push eax
push 0x1114ae0
call dword [fcn.0100152c]
push edi
push 0x1114a90
push 0x10274e0
push esi
call fcn.010f5a6b
push 2
push 0x1114ad0
push 0x10274f8
push esi
call fcn.010f5a6b
push edi
lea eax, [ebp - 0x7c]
push eax
push 0x1027520
push esi
call fcn.010f5a6b
push edi
lea eax, [ebp - 0xbc]
push eax
push 0x102753c
push esi
call fcn.010f5a6b
push 4
push 0x1114ad8
push 0x1027508
push esi
call fcn.010f5a6b
push 2
push 0x1114ad4
push 0x1027514
push esi
call fcn.010f5a6b
mov edi, dword [fcn.01001500]
mov ebx, 0x100aca8
push ebx
lea eax, [ebp - 0x7c]
push eax
call edi
push ebx
lea eax, [ebp - 0xbc]
push eax
call edi
cmp word [ebp - 0x7c], 0x2d
pop edi
pop ebx
jne 0x10f5bd9
lea eax, [ebp - 0x7a]
push eax
call fcn.01065d85
not eax
inc eax
jmp 0x10f5be2
lea eax, [ebp - 0x7c]
push eax
call fcn.01065d85
cmp word [ebp - 0xbc], 0x2d
mov dword [0x1114a88], eax
jne 0x10f5c02
lea eax, [ebp - 0xba]
push eax
call fcn.01065d85
not eax
inc eax
jmp 0x10f5c0e
lea eax, [ebp - 0xbc]
push eax
call fcn.01065d85
mov dword [0x1114a84], eax
push 0xb
lea eax, [ebp - 0x24]
push eax
push 0x1027558
mov ecx, esi
call fcn.0106534b
cmp eax, 0xffffffff
pop esi
je 0x10f5c39
lea eax, [ebp - 0x24]
push eax
call fcn.01065d85
mov dword [0x1114a80], eax
mov ecx, dword [ebp - 4]
call fcn.0105eca9
leave
ret 4
Function at 0x1102543
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x28]
xor ebx, ebx
test al, 4
push edi
mov dword [ebp - 4], ebx
mov edi, 0x80000000
jne 0x110256a
test edi, eax
je 0x1102634
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], ebx
call fcn.01100cf2
mov eax, dword [esi + 0x28]
test al, 4
je 0x11025af
test eax, 0x20000000
je 0x11025af
mov ecx, dword [ebp - 0xc]
sub ecx, dword [esi + 0x30]
mov eax, dword [ebp - 8]
sbb eax, dword [esi + 0x34]
cmp eax, 0xc9
jl 0x1102639
jg 0x1102634
cmp ecx, 0x2a69c000
jmp 0x1102632
test edi, eax
je 0x11025ba
test eax, 0x40000000
jmp 0x1102615
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x11025df
cmp dword [esi], ebx
je 0x11025df
push eax
push dword [ebp + 8]
call fcn.01100f3d
test eax, eax
jne 0x11025df
test byte [esi + 0x28], 0x40
je 0x1102639
mov dword [ebp - 4], 1
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x1102611
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
je 0x1102634
mov edi, dword [ebp + 0x14]
cmp edi, dword [esi + 0x38]
jne 0x1102634
cmp dword [ebp - 4], ebx
jne 0x1102639
xor edx, edx
cmp edi, ebx
jbe 0x1102611
sub ecx, eax
mov ebx, dword [eax]
cmp ebx, dword [ecx + eax]
jne 0x1102634
inc edx
add eax, 4
cmp edx, edi
jb 0x1102602
test byte [esi + 0x2b], 0x40
je 0x1102639
mov ecx, dword [ebp - 0xc]
sub ecx, dword [esi + 0x30]
mov eax, dword [ebp - 8]
sbb eax, dword [esi + 0x34]
cmp eax, 0x580
jl 0x1102639
jg 0x1102634
cmp ecx, 0x28e44000
jbe 0x1102639
xor eax, eax
inc eax
jmp 0x110263b
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x1106a45
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
push esi
je 0x1106b5c
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x1106b5c
push edi
push 0x17
xor eax, eax
pop ecx
mov edi, esi
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [esi], 0x5c
jne 0x1106a7e
mov eax, 0xb000000e
or eax, 0x8000000
mov dword [esi + 4], eax
mov al, byte [ebx + 0x17]
mov byte [esi + 0x18], al
cmp byte [ebx + 0x17], 0x58
jne 0x1106a98
mov byte [esi + 0x18], 0x88
jmp 0x1106aae
cmp byte [ebx + 0x17], 0
jne 0x1106aae
call dword [0x1001304]
cmp ax, 0x804
jne 0x1106aae
mov byte [esi + 0x18], 0x86
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0x1106ac4
test byte [ebp + 0x10], 1
jne 0x1106ac0
cmp dword [ebp + 0x10], eax
jne 0x1106ac4
or dword [esi + 4], 1
cmp dword [ebx + 0x10], 0x2bc
jl 0x1106ad7
test byte [esi + 4], 1
je 0x1106ad7
or dword [esi + 8], 1
cmp byte [ebx + 0x14], 0
je 0x1106ae7
test byte [esi + 4], 2
je 0x1106ae7
or dword [esi + 8], 2
cmp byte [ebx + 0x15], 0
je 0x1106af7
test byte [esi + 4], 4
je 0x1106af7
or dword [esi + 8], 4
cmp byte [ebx + 0x16], 0
je 0x1106b07
test byte [esi + 4], 8
je 0x1106b07
or dword [esi + 8], 8
test byte [esi + 7], 0x80
je 0x1106b29
push eax
mov eax, dword [ebx]
cdq
xor eax, edx
lea edi, [esi + 0xc]
push edi
sub eax, edx
push eax
call fcn.011069e1
test eax, eax
jne 0x1106b29
mov dword [edi], 0x3e8
mov eax, dword [esi + 4]
test eax, 0x40000000
pop edi
je 0x1106b3a
mov ecx, dword [ebp + 0xc]
mov dword [esi + 0x14], ecx
test eax, 0x20000000
mov cl, byte [ebx + 0x1b]
mov byte [esi + 0x19], cl
je 0x1106b57
push 0x20
add ebx, 0x1c
push ebx
add esi, 0x1a
push esi
call dword [fcn.0100152c]
xor eax, eax
inc eax
jmp 0x1106b66
push 0x57
call dword [fcn.0100130c]
xor eax, eax
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x110b64c
Capabilities:
Parse pe header

Disassembly:
dec esp
fadd qword [eax + eax]
add byte [eax], al
add byte [eax], al
enter 0, 0xffffffffffffff80
or al, 0
add byte [eax - 0x7ffffff9], al
xchg ebp, eax
add byte [eax], al
adc byte [esi + 0x2800000], 0
add byte [eax - 0x7ffffffa], al
or byte [eax], al
add byte [eax - 0x7ffffff7], al
add byte [eax], al
add byte [eax], al
or byte [eax], al
add byte [eax - 0x7fffff61], al
mov al, byte [0x6e800000]
add byte [eax], al
xor byte [ebp], 0
sbb byte [ebx], 0
add byte [ebx], 0
sub byte [eax + eax + 0xb48000], 0
sbb byte [edi], 0
sbb byte [edi], 0
add byte [eax - 0x7fffffbf], al
inc edi
add byte [eax], al
or byte [ebp + 0x800000], 0
add byte [eax], al
cmp word [0x30000000], 0x5a4d
jne 0x110b6f6
mov eax, dword [0x3000003c]
cmp dword [eax + 0x30000000], 0x4550
jne 0x110b6f6
cmp word [eax + 0x30000018], 0x10b
jne 0x110b6f6
cmp dword [eax + 0x30000074], 0xe

Function at 0x110b850
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
cmp word [ecx], 0x5a4d
jne 0x1128298
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1128298
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
ret
cmp al, byte [eax]
and byte [eax], al
and eax, 0x7300
Function at 0x110e22c
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword [esp + 4]
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 0x110e26a
mov edi, dword [esp + 0x14]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x112829b
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jae 0x112829b
pop edi
pop esi
pop ebx
ret
xor eax, eax
jmp 0x110e266

Function at 0x5d8ac3
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x5d87dc
mov edx, 0xf41a8c9e
mov esi, esi
mov edx, 0xe0f3c4a8
call fcn.005d8b11
sub edx, 0x9f9ee3b9
add esi, 0xe7c38901
xor dword [ebx], ecx
add edx, edx
sub edx, 0x35fb50aa
add ebx, 2
mov edx, esi
cmp ebx, edi
jl fcn.005d8ac3
dec esi
or edx, esi
add edx, esi
ret
Function at 0x406291
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4261d0]
jne 0x40629b
repz ret
jmp fcn.0040871c

Function at 0x40adfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4261d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004074b2
and dword [ebp - 0x14], 0
cmp dword [0x427a30], 0
mov dword [ebp - 0x18], eax
jne 0x40aeaf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40af57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x427a30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427a34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427a38], eax
call edi
push eax
call esi
mov dword [0x427a40], eax
test eax, eax
je 0x40aeaf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427a3c], eax
mov eax, dword [0x427a3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af08
cmp dword [0x427a40], ecx
je 0x40af08
push eax
call esi
push dword [0x427a40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af08
test ebx, ebx
je 0x40af08
call edi
test eax, eax
je 0x40aeff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aeff
test byte [ebp - 8], 1
jne 0x40af08
or dword [ebp + 0x10], 0x200000
jmp 0x40af3b
mov eax, dword [0x427a34]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af3b
mov eax, dword [0x427a38]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x427a30]
call esi
test eax, eax
je 0x40af57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406291
leave
ret

Function at 0x4f2152
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4f1ed7
add edx, 0x13a66e84
sub edx, 0x9fa43d6b
call fcn.004f219d
sub edx, 0x85481644
or edx, edx
xor dword [esi], eax
add ebx, edx
add edx, 0x6a05d988
or ebx, ebx
inc esi
sub edx, 0x77fe134a
mov edx, 0xbb104648
cmp esi, edi
jne fcn.004f2152
and edx, ebx
add ebx, 0xb70d9990
ret
Function at 0x4010f0
Capabilities:
Get process heap flags
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, eax
push ebx
mov ebx, edx
sub esp, 0x10
mov dword [esp + 8], 0xc
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
sub esp, 0xc
test eax, eax
je 0x40113f
mov dword [eax + 8], ebx
mov dword [eax], esi
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov dword [edx], eax
mov dword [esi + 4], eax
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
test byte [section..data], 2
jne 0x401155
mov dword [esp], 1
call dword [sym.imp.ucrtbase.dll_exit]
mov dword [esp + 0xc], str.Out_of_memory_for_list._n
mov dword [esp + 8], str.list_append
mov dword [esp + 4], 0x404000
mov dword [esp], 1
call fcn.00401060
jmp 0x401148
Function at 0x403500
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sub.ucrtbase.dll__configure_wide_argv
call sub.ucrtbase.dll__initialize_wide_environment
call sub.ucrtbase.dll___p___argc
mov esi, dword [eax]
call sub.ucrtbase.dll___p___wargv
mov edi, dword [eax]
call sub.ucrtbase.dll__get_initial_wide_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
add eax, 1
mov dword [esp], eax
call 0x403570
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call fcn.00401d20
mov dword [esp], eax
call sub.ucrtbase.dll_exit
jmp dword [sym.imp.ucrtbase.dll__set_app_type]
Function at 0x4256c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x20]
xor esi, esi
lea edx, [eax + edx*2]
movzx ebx, byte [eax + 1]
cmp byte [eax], ch
lea eax, [eax + 2]
lea edi, [esi + ebx]
jne 0x425710
cmp edi, esi
jb 0x425778
cmp edi, dword [esp + 0x1c]
ja 0x42578b
add esi, dword [esp + 0x18]
nop word [eax + eax]
test ebx, ebx
je 0x425712
dec ebx
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x425700
jmp 0x42576f
ja 0x425718
cmp eax, edx
mov esi, edi
jne 0x4256d3
mov edi, dword [esp + 0x24]
movzx ecx, cx
mov al, 1
add edi, ebp
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebp]
lea esi, [ebp + 1]
test dl, dl
js 0x425750
mov ebp, esi
sub ecx, edx
jns 0x425767
jmp 0x425771
cmp esi, edi
je 0x4257a0
movzx esi, byte [ebp + 1]
and edx, 0x7f
add ebp, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x425771
xor al, 1
cmp ebp, edi
jne 0x425730
jmp 0x425771
xor eax, eax
and al, 1
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x499c7c
call fcn.004915d0
add esp, 4
ud2
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 0x499c7c
call fcn.004913c0
add esp, 4
ud2
mov ecx, 0x4eaf98
mov edx, 0x2b
push 0x499c8c
call fcn.00491430
add esp, 4
ud2
Function at 0x4267b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x78
mov eax, dword [ebp + 0x14]
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
mov dword [esp + 8], edx
mov edx, dword [ebp + 8]
mov edi, dword [ebp + 0x20]
mov byte [esp + 0x24], 0x30
mov dword [esp + 0x20], 0x30303030
mov dword [esp + 0x1c], 0x30303030
mov ebx, dword [esi + 0xc]
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x54], ecx
call fcn.004267f6

Function at 0x428eac
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x68
mov esi, esp
mov dword [esi + 0x50], ebp
lea ebx, [esi + 0x58]
mov edi, edx
mov dword [esi + 8], ecx
mov dword [ebx - 4], esp
or dword [ebx + 8], 0xffffffff
mov dword [ebx + 4], 0x481300
xor edx, edx
mov eax, dword fs:[0]
inc edx
mov dword [ebx], eax
mov dword fs:[0], ebx
call fcn.0041eca9
and dword [ebx + 8], 0
mov dword [esi + 4], edx
xor edx, edx
mov ecx, edi
mov dword [esi], eax
mov dword [esi + 0xc], edi
inc edx
call fcn.004288c8
mov ecx, dword [esi]
and dword [esi + 0x14], 0
and dword [esi + 0x10], 0
mov dword [esi + 0x60], 1
mov dword [esi + 0x40], ecx
mov ecx, dword [esi + 4]
mov dword [esi + 0x44], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x48], ecx
mov dword [esi + 0x30], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x34], edx
mov dword [esi + 0x38], eax
and dword [esi + 0x3c], 0
push 0x40
pop ecx
call fcn.00427f51
mov edi, eax
lea eax, [esi + 0x10]
push 0x40
push eax
push edi
call fcn.00483360
add esp, 0xc
mov eax, dword [esi + 0x58]
mov dword fs:[0], eax
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42a160
Capabilities:
Allocate thread local storage

Disassembly:
mov eax, dword [0x4f8234]
test eax, eax
je 0x42a16b
dec eax
ret
mov ecx, 0x4f8234
jmp fcn.00492aa0
Function at 0x42fda5
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4c
lea eax, [ebp - 0x18]
mov esi, ecx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x481500
mov ecx, dword fs:[0]
mov dword [eax], ecx
mov dword fs:[0], eax
push 8
pop ecx
push 0x40
pop edx
call fcn.00422bed
test eax, eax
je 0x42fef6
mov ecx, dword [esi]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x2c], eax
or ecx, dword [esi + 4]
je 0x42fe20
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x14]
mov eax, dword [esi + 8]
mov dword [ebp - 0x40], ecx
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x48], edx
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x4c], ecx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
xor ecx, ecx
inc ecx
mov dword [ebp - 0x24], ecx
jmp 0x42fe27
mov dword [ebp - 0x24], 0
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x38]
and dword [ebp - 0x10], 0
xor edx, edx
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x34], ecx
call fcn.0041eca9
mov dword [ebp - 0x28], edx
push dword [ebp - 0x34]
push dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
push eax
call fcn.00483360
add esp, 0xc
mov eax, dword [ebp - 0x30]
xor edx, edx
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x50], ecx
mov ecx, dword [eax + 0x28]
mov dword [ebp - 0x10], 1
mov dword [ebp - 0x54], ecx
call fcn.004288c8
mov ebx, dword [ebp - 0x54]
mov esi, eax
mov edi, edx
lea eax, [ebx*4]
push eax
push dword [ebp - 0x50]
push esi
call fcn.00483360
add esp, 0xc
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x58]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ebp - 0x2c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x24]
mov dword [eax], edx
mov edx, dword [ebp - 0x40]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x44]
mov dword [eax + 8], edx
mov edx, dword [ebp - 0x48]
mov dword [eax + 0x14], edx
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x10], edx
mov edx, dword [ebp - 0x38]
mov dword [eax + 0x1c], edx
mov edx, dword [ebp - 0x3c]
mov dword [eax + 0x18], edx
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edi
mov dword [eax + 0x28], ebx
mov dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x20]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebp - 0x28]
mov dword [eax + 0x34], ecx
mov ecx, dword [ebp - 0x34]
mov dword [eax + 0x38], ecx
mov ecx, dword [ebp - 0x18]
mov dword fs:[0], ecx
add esp, 0x4c
pop esi
pop edi
pop ebx
pop ebp
ret
push 8
pop ecx
push 0x40
pop edx
call fcn.004911b0
ud2
Function at 0x430056
Capabilities:
Read file on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x38
mov ebx, dword [esp + 0x4c]
mov dword [esp], ecx
mov eax, dword [ebx + 4]
mov edi, dword [ebx + 8]
mov ecx, eax
sub ecx, edi
jb 0x430103
mov eax, dword [ebx]
mov ebp, dword [edx]
lea edx, [esp + 8]
mov esi, 0x103
and dword [edx + 4], 0
mov dword [edx], esi
add eax, edi
push 0
push 0
push ecx
push eax
push edx
push 0
push 0
push 0
push ebp
call dword [sym.imp.ntdll.dll_NtReadFile]
cmp eax, esi
jne 0x4300ae
push 0xffffffffffffffff
push ebp
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esp + 8]
xor ecx, ecx
cmp eax, 0xc0000011
je 0x4300c6
cmp eax, 0x103
je 0x430114
test eax, eax
js 0x4300e4
mov ecx, dword [esp + 0xc]
add ecx, edi
mov dword [ebx + 8], ecx
mov eax, dword [ebx + 0xc]
cmp eax, ecx
cmova ecx, eax
mov dword [ebx + 0xc], ecx
mov eax, dword [esp]
mov byte [eax], 4
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov ecx, eax
mov edi, eax
call fcn.004720b0
cmp al, 0xb
je 0x4300d6
mov eax, dword [esp]
and dword [eax], 0
mov dword [eax + 4], edi
jmp 0x4300dc
mov ecx, edi
mov edx, eax
push 0x4e8fa0
call fcn.00491350
pop eax
ud2
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
lea ecx, [esp + 4]
lea esi, [esp + 0x18]
and dword [edx], 0
mov dword [eax], str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov dword [eax + 4], 1
and dword [eax + 0x10], 0
mov dword [eax + 8], ecx
and dword [eax + 0xc], 0
mov byte [edx + 4], 0
mov ecx, esi
push eax
call fcn.00470b40
pop eax
mov ecx, dword [esi]
mov edx, dword [esi + 4]
call fcn.00476be0
push 7
pop ecx
int 0x29
ud2
Function at 0x438a24
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x1d8
mov esi, esp
mov dword [esi + 0x1c0], ebp
lea eax, [esi + 0x1c4]
mov dword [esi + 4], ecx
mov dword [eax], esp
or dword [eax + 0xc], 0xffffffff
push 4
pop ecx
mov dword [eax + 8], 0x4817b0
lea edi, [eax + ecx]
mov edx, dword fs:[0]
mov dword [eax + 4], edx
mov dword fs:[0], edi
mov dword [esi + 8], ecx
mov dword [esi + 0x14], ecx
and dword [esi + 0xc], 0
and dword [esi + 0x18], 0
and dword [eax + 0xc], 0
and dword [esi + 0x10], 0
and dword [esi + 0x1c], 0
lea ecx, [esi + 0x30]
call fcn.00438bf7
lea ecx, [esi + 0x30]
call fcn.00438c77
lea ecx, [esi + 0x24]
mov dword [esi], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x1d0], 1
call fcn.0041a49e
lea ecx, [esi + 0x30]
mov dword [esi + 0x1d0], 2
call fcn.00438d1f
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 4]
movsd xmm0, qword [esi + 8]
mov dword [edi + 0x194], eax
mov eax, dword [esi + 0x1c]
movsd qword [edi + 0x18c], xmm0
mov dword [edi + 0x198], 4
and dword [edi + 0x19c], 0
and dword [edi + 0x1a0], 0
movsd xmm0, qword [esi + 0x14]
mov dword [edi + 0x1ac], eax
mov eax, dword [esi]
movsd qword [edi + 0x1a4], xmm0
movsd xmm0, qword [esi + 0x24]
mov dword [edi + 0x1b0], eax
mov eax, dword [esi + 0x2c]
and dword [edi + 0x1c0], 0
movsd qword [edi + 0x1b4], xmm0
mov dword [edi + 0x1bc], eax
mov byte [edi + 0x1c8], 1
and dword [edi + 0x1c9], 0
and word [edi + 0x1cd], 0
mov eax, 0x18c
push eax
lea eax, [esi + 0x30]
push eax
push edi
call fcn.00483360
add esp, 0xc
mov eax, dword [esi + 0x1c8]
mov dword [edi + 0x1c4], 0x200000
mov dword fs:[0], eax
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43fc34
Capabilities:
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
mov eax, 0x1fc8
call fcn.004827c0
mov esi, esp
mov dword [esi + 0x1fb0], ebp
lea eax, [esi + 0x1fb8]
mov dword [esi + 0xdc], ecx
mov dword [esi + 0xf0], edx
mov dword [eax - 4], esp
or dword [eax + 8], 0xffffffff
mov dword [eax + 4], 0x481970
mov ecx, dword fs:[0]
mov dword [eax], ecx
call fcn.0043fc7d