joyce8/EMBER2024-capa huggingface dataset:
Function at 0x483232
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x4c002c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x434], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x41c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
mov esi, 0x208
push 0x80000002
mov dword [ebp - 0x440], 0x410
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x428], esi
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x420], 1
call dword [0x49603c]
test eax, eax
jne 0x4833fd
lea eax, [ebp - 0x448]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 0x41c]
call dword [0x496050]
mov edi, dword [0x496034]
jmp 0x4833eb
lea eax, [ebp - 0x424]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x41c]
call dword [0x49604c]
test eax, eax
jne 0x4833ab
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x438]
push eax
push ebx
push str.ServiceName
push dword [ebp - 0x424]
call dword [0x496048]
test eax, eax
jne 0x483395
push str.Device_
call fcn.004863d4
add eax, dword [ebp - 0x434]
push eax
lea eax, [ebp - 0x418]
push eax
call dword [0x49655c]
add esp, 0xc
test eax, eax
jne 0x48339b
lea eax, [ebp - 0x440]
push eax
push dword [ebp - 0x43c]
lea eax, [ebp - 0x438]
push eax
push ebx
push str.Title
push dword [ebp - 0x424]
call dword [0x496048]
push dword [ebp - 0x424]
mov esi, eax
call edi
push dword [ebp - 0x41c]
call edi
xor eax, eax
cmp esi, ebx
sete al
jmp 0x483409
mov dword [ebp - 0x420], ebx
push dword [ebp - 0x424]
call edi
mov dword [ebp - 0x430], esi
jmp 0x4833b1
mov dword [ebp - 0x420], ebx
inc dword [ebp - 0x42c]
lea eax, [ebp - 0x448]
push eax
push ebx
push ebx
push ebx
lea eax, [ebp - 0x428]
push eax
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x42c]
mov dword [ebp - 0x428], 0x104
push dword [ebp - 0x41c]
call dword [0x496050]
test eax, eax
je 0x4832dc
push dword [ebp - 0x41c]
call edi
jmp 0x483403
mov dword [ebp - 0x420], ebx
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004862e5
leave
ret
Function at 0x483418
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4c002c]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
mov esi, dword [0x49655c]
push str.DEVICENDISWANIP
push edi
mov dword [ebp - 0x7c], 0x410
call esi
test eax, eax
pop ecx
pop ecx
jne 0x483464
push str.WAN_Network_Interface__IP_
push ebx
call fcn.0048649c
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x483524
push str.DEVICENDISWANBH
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x483479
push str.WAN_Network_Interface__BH_
jmp 0x483454
push str.DEVICENDISWANIPV6
push edi
call esi
test eax, eax
pop ecx
pop ecx
jne 0x48348e
push str.WAN_Network_Interface__IPv6_
jmp 0x483454
push str.SYSTEMCurrentControlSetControlNetwork4D36E972_E325_11CE_BFC1_08002BE10318_
lea eax, [ebp - 0x74]
push 0x208
push eax
call dword [0x496530]
lea eax, [ebp - 0x74]
push eax
call fcn.004863d4
push str.Device_
lea esi, [ebp + eax - 0x74]
call fcn.004863d4
add eax, edi
push eax
push esi
call fcn.0048649c
lea eax, [ebp - 0x74]
push eax
call fcn.004863d4
lea eax, [ebp + eax - 0x74]
push str.Connection
push eax
call fcn.0048649c
add esp, 0x28
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x74]
push eax
push 0x80000002
call dword [0x49604c]
test eax, eax
jne 0x483522
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
push 0
push str.Name
push dword [ebp - 0x78]
call dword [0x496048]
push dword [ebp - 0x78]
call dword [0x496034]
jmp 0x48345c
xor eax, eax
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.004862e5
add ebp, 0x198
leave
ret

Function at 0x48353a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4c002c]
xor eax, ebp
mov dword [ebp + 0x194], eax
push edi
push str.SYSTEMCurrentControlSetServicesClassNet_
lea eax, [ebp - 0x74]
push 0x208
xor edi, edi
push eax
mov dword [ebp - 0x7c], 0x410
inc edi
call dword [0x496530]
lea eax, [ebp - 0x74]
push eax
call fcn.004863d4
lea eax, [ebp + eax - 0x74]
push esi
push eax
call fcn.0048649c
add esp, 0x18
lea eax, [ebp - 0x78]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x74]
push eax
push 0x80000002
call dword [0x49604c]
test eax, eax
jne 0x4835d3
lea eax, [ebp - 0x7c]
push eax
push ebx
lea eax, [ebp - 0x80]
push eax
push 0
push str.DriverDesc
push dword [ebp - 0x78]
call dword [0x496048]
test eax, eax
je 0x4835c8
xor edi, edi
push dword [ebp - 0x78]
call dword [0x496034]
jmp 0x4835d5
xor edi, edi
mov ecx, dword [ebp + 0x194]
mov eax, edi
xor ecx, ebp
pop edi
call fcn.004862e5
add ebp, 0x198
leave
ret
Function at 0x483fd2
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
and dword [ebp - 4], 0
cmp byte [esi + 0x43], 6
jne 0x4840ca
movzx eax, byte [esi + 0x3a]
and eax, 0xf
lea eax, [esi + eax*4 + 0x3a]
mov dword [ebp - 0xc], eax
movzx eax, byte [esi + 0x3a]
and eax, 0xf
shl eax, 2
push ebx
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 0x3c]
push edi
mov edi, dword [0x4969cc]
push eax
call edi
movzx ebx, ax
mov eax, dword [ebp - 0x10]
sub ebx, eax
mov ecx, ebx
shr ecx, 1
add ecx, ecx
cmp ecx, ebx
je 0x484034
add eax, ebx
mov dword [ebp - 8], 1
mov byte [eax + esi + 0x3a], 0
movzx eax, word [ebp - 8]
mov ecx, dword [ebp - 0xc]
and word [ecx + 0x10], 0
add eax, ebx
je 0x484067
inc ecx
dec eax
shr eax, 1
mov dword [ebp - 8], ecx
inc eax
xor edx, edx
mov dh, byte [ecx - 1]
movzx ecx, byte [ecx]
movzx edx, dx
xor edx, ecx
mov ecx, dword [ebp - 8]
add dword [ebp - 4], edx
inc ecx
inc ecx
dec eax
mov dword [ebp - 8], ecx
jne 0x48404c
movzx eax, word [esi + 0x48]
push eax
call edi
movzx eax, ax
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 0x46]
push eax
call edi
movzx eax, ax
add eax, dword [ebp - 0x10]
add dword [ebp - 4], eax
movzx eax, word [esi + 0x4c]
push eax
call edi
movzx eax, ax
mov dword [ebp - 0x10], eax
movzx eax, word [esi + 0x4a]
push eax
call edi
movzx eax, ax
add eax, dword [ebp - 0x10]
movzx ecx, bx
add ecx, eax
mov eax, dword [ebp - 4]
pop edi
lea eax, [eax + ecx + 6]
pop ebx
jmp 0x4840b3
movzx eax, ax
add eax, ecx
mov ecx, eax
shr ecx, 0x10
jne 0x4840ae
not eax
push eax
call dword [0x4969b4]
mov ecx, dword [ebp - 0xc]
mov word [ecx + 0x10], ax
leave
ret
Function at 0x4fe53c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ebp - 0x18], 0x41797261
jmp 0x4fe588
pushal
jmp 0x4febd3
call 0x4fe1c5
mov ah, 0x87
xchg dword [esp], ecx
lea ecx, [ecx - 0x7d]
xchg dword [esp], ecx
jmp 0x4fe146
jmp 0x4fe4a3
call fcn.004fe356
loopne 0x4fe2e3
mov dword [ebp - 0x1c], 0x7262694c
jmp 0x4fe078
call 0x4fe53c
dec esp
mov edi, 0x8d240487
sbb byte [edx - 0x78000002], 4
and al, 0xe9
das
push es
add byte [eax], al
mov eax, 0xe9c01272
cmp bh, ch
invalid
mov byte [ebp - 0x14], 0
jmp 0x4fe535
push esp
jmp 0x4fe34f
Function at 0x4087b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cc4b8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
mov eax, dword [0x4eadc8]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, esi
call fcn.00461110
mov eax, esi
call fcn.00460c70
mov eax, dword [0x6391d8]
mov ecx, dword [0x4efb90]
push eax
push ecx
lea ecx, [esp + 0x14]
call fcn.00489780
push 0x323232
push 0xc8c8c8
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], 0
call fcn.00483ce0
lea ebx, [esp + 0xc]
call fcn.00433df0
push esi
call fcn.0043a100
mov ecx, ebx
mov dword [esp + 0x28], 0xffffffff
call fcn.004897b0
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x24
ret

Function at 0x408ca0
Capabilities:
Read file on windows

Disassembly:
push esi
push edi
push 0x4dc164
push 0x4dc168
mov edi, eax
call fcn.00477073
mov esi, eax
add esp, 8
test esi, esi
je 0x408db8
push ebx
push esi
push 1
lea eax, [edi + 0x1e5]
push 1
push eax
call fcn.0048ecff
push esi
push 1
lea ecx, [edi + 0x1e6]
push 1
push ecx
call fcn.0048ecff
push esi
push 1
lea edx, [edi + 0x1e8]
push 1
push edx
call fcn.0048ecff
push esi
push 1
lea ebx, [edi + 0x1e9]
push 1
push ebx
call fcn.0048ecff
add esp, 0x40
push esi
push 1
lea eax, [edi + 0x1f8]
push 1
push eax
call fcn.0048ecff
push esi
push 1
lea ecx, [edi + 0x1f9]
push 1
push ecx
call fcn.0048ecff
push esi
push 1
lea edx, [edi + 0x1fa]
push 1
push edx
call fcn.0048ecff
push esi
push 1
lea eax, [edi + 0x1fb]
push 1
push eax
call fcn.0048ecff
add esp, 0x40
push esi
push 1
lea ecx, [edi + 0x1e4]
push 1
push ecx
call fcn.0048ecff
push esi
push 1
push 1
push 0x4ea600
call fcn.0048ecff
push esi
push 1
push 1
push 0x4ea1f8
call fcn.0048ecff
push esi
push 1
push 1
push 0x6391a3
call fcn.0048ecff
add esp, 0x40
push esi
push 1
add edi, 0x1eb
push 1
push edi
call fcn.0048ecff
push esi
call fcn.0048ed93
movzx eax, byte [edi]
add esp, 0x14
mov byte [edi], al
call fcn.00470750
mov byte [ebx], 1
pop ebx
pop edi
pop esi
ret
Function at 0x408dc0
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push 0x4dc174
push 0x4dc168
mov edi, eax
call fcn.00477073
mov esi, eax
add esp, 8
test esi, esi
je 0x408ec9
push esi
push 1
lea eax, [edi + 0x1e5]
push 1
push eax
call fcn.0048ef71
push esi
push 1
lea ecx, [edi + 0x1e6]
push 1
push ecx
call fcn.0048ef71
push esi
push 1
lea edx, [edi + 0x1e8]
push 1
push edx
call fcn.0048ef71
push esi
push 1
lea eax, [edi + 0x1e9]
push 1
push eax
call fcn.0048ef71
add esp, 0x40
push esi
push 1
lea ecx, [edi + 0x1f8]
push 1
push ecx
call fcn.0048ef71
push esi
push 1
lea edx, [edi + 0x1f9]
push 1
push edx
call fcn.0048ef71
push esi
push 1
lea eax, [edi + 0x1fa]
push 1
push eax
call fcn.0048ef71
push esi
push 1
lea ecx, [edi + 0x1fb]
push 1
push ecx
call fcn.0048ef71
add esp, 0x40
push esi
push 1
lea edx, [edi + 0x1e4]
push 1
push edx
call fcn.0048ef71
push esi
push 1
push 1
push 0x4ea600
call fcn.0048ef71
push esi
push 1
push 1
push 0x4ea1f8
call fcn.0048ef71
push esi
push 1
push 1
push 0x6391a3
call fcn.0048ef71
add esp, 0x40
push esi
push 1
push 1
add edi, 0x1eb
push edi
call fcn.0048ef71
push esi
call fcn.0048ed93
add esp, 0x14
pop edi
pop esi
ret

Function at 0x408e82
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push 0x4dc174
push 0x4dc168
mov edi, eax
call fcn.00477073
mov esi, eax
add esp, 8
test esi, esi
je 0x408ec9
push esi
push 1
lea eax, [edi + 0x1e5]
push 1
push eax
call fcn.0048ef71
push esi
push 1
lea ecx, [edi + 0x1e6]
push 1
push ecx
call fcn.0048ef71
push esi
push 1
lea edx, [edi + 0x1e8]
push 1
push edx
call fcn.0048ef71
push esi
push 1
lea eax, [edi + 0x1e9]
push 1
push eax
call fcn.0048ef71
add esp, 0x40
push esi
push 1
lea ecx, [edi + 0x1f8]
push 1
push ecx
call fcn.0048ef71
push esi
push 1
lea edx, [edi + 0x1f9]
push 1
push edx
call fcn.0048ef71
push esi
push 1
lea eax, [edi + 0x1fa]
push 1
push eax
call fcn.0048ef71
push esi
push 1
lea ecx, [edi + 0x1fb]
push 1
push ecx
call fcn.0048ef71
add esp, 0x40
push esi
push 1
lea edx, [edi + 0x1e4]
push 1
push edx
call fcn.0048ef71
push esi
push 1
push 1
push 0x4ea600
call fcn.0048ef71
push esi
push 1
push 1
push 0x4ea1f8
call fcn.0048ef71
push esi
push 1
push 1
push 0x6391a3
call fcn.0048ef71
add esp, 0x40
push esi
push 1
push 1
add edi, 0x1eb
push edi
call fcn.0048ef71
push esi
call fcn.0048ed93
add esp, 0x14
pop edi
pop esi
ret
Function at 0x40ce70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4cb7cb
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
mov eax, dword [0x4eadc8]
xor eax, esp
push eax
lea eax, [esp + 0x130]
mov dword fs:[0], eax
xor ebx, ebx
push 0x103
lea eax, [esp + 0x2d]
push ebx
push eax
mov dword [esp + 0x30], ebx
mov byte [esp + 0x34], bl
call fcn.00493ca0
add esp, 0xc
push 0x104
lea ecx, [esp + 0x2c]
push ecx
push ebx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.kernel32.dll_GetModuleFileNameA]
lea eax, [esp + 0x28]
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x40cef4
sub eax, edx
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x10]
call fcn.00402a50
lea eax, [esp + 8]
push eax
mov ecx, esi
mov dword [esp + 0x13c], ebx
call fcn.0040cd60
add esp, 4
cmp dword [esp + 0x20], 0x10
jb 0x40cf36
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0048d634
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x130]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x134
ret
Function at 0x40e820
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x28
push ebx
push ebp
push esi
lea eax, [esp + 0x18]
push edi
push eax
call fcn.0040cf60
mov ebp, 0x10
add esp, 4
cmp dword [esp + 0x34], ebp
jb 0x40e852
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048d634
add esp, 4
xor eax, eax
push 0x4dc9ec
push eax
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push edx
mov dword [esp + 0x1c], 0xc
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
call dword [sym.imp.kernel32.dll_CreateMutexA]
push 0xa
push 0x4dc9fc
push 0x4f9908
mov dword [0x6391dc], eax
call fcn.0048e1e8
add esp, 0xc
test eax, eax
jne 0x40e8a5
mov bl, 1
jmp 0x40e9ae
push 0xa
push 0x4dca08
push 0x4f9908
call fcn.0048e1e8
add esp, 0xc
test eax, eax
je 0x40e8c7
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x1c]
push eax
call fcn.0040cf60
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x40e8de
mov eax, dword [eax + 4]
jmp 0x40e8e1
add eax, 4
push eax
push 0x3e7
push 0x4dc660
push 0x4dc66c
call dword [sym.imp.kernel32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp dword [esp + 0x34], ebp
jb 0x40e90c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0048d634
add esp, 4
cmp esi, 0x3e7
jne 0x40e9a8
cmp dword [0x6392c0], 1
push 4
jne 0x40e934
mov edi, 0x4dca14
call fcn.004021e0
mov edi, 0x4dca20
jmp 0x40e943
mov edi, 0x4dcadc
call fcn.004021e0
mov edi, 0x4dcae8
push eax
call fcn.004021e0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 7
sete bl
mov esi, 0x4dc658
cmp bl, 1
je 0x40e967
mov esi, 0x4dc65c
lea edx, [esp + 0x1c]
push edx
call fcn.0040cf60
add esp, 4
cmp dword [eax + 0x18], ebp
jb 0x40e97e
mov eax, dword [eax + 4]
jmp 0x40e981
add eax, 4
push eax
push esi
push 0x4dc660
push 0x4dc66c
call dword [sym.imp.kernel32.dll_WritePrivateProfileStringA]
cmp dword [esp + 0x34], ebp
jb 0x40e9ae
mov eax, dword [esp + 0x20]
push eax
call fcn.0048d634
add esp, 4
jmp 0x40e9ae
cmp esi, 1
sete bl
push 0
mov dword [0x4f7948], 0x40e750
mov dword [0x4f8310], 0x40e4d0
mov dword [0x4f7d44], 0x40e450
mov dword [0x4f7d3c], 0x40e470
mov dword [0x4f7d40], 0x40e490
mov dword [0x4f831c], 0x40e4b0
mov dword [0x4f7a4c], 0x40e4f0
mov dword [0x4f7d10], 0x40e440
mov dword [0x4f7d08], 0x40e730
mov dword [0x4f7988], 0x489e90
mov dword [0x4f8908], 0x40e7d0
call dword [sym.imp.USER32.dll_SetCursor]
call fcn.00489ed0
mov ecx, 0x320
mov edx, 0x258
mov byte [0x4f9a14], bl
mov word [0x4f9a18], cx
mov word [0x4f9a1c], dx
test bl, bl
je 0x40ea6d
push 0xca0000
push 0
push 0
push 0
push edx
push ecx
push 0x4dc66c
call fcn.0048acc0
add esp, 0x1c
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 0x4dc66c
call fcn.0048a7e0
add esp, 0x10
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ee50
Capabilities:
Enumerate files on windows

Disassembly:
mov eax, 0x214c
call fcn.004942a0
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x2144], eax
push ebx
push ebp
push esi
push edi
push 0x140
xor edi, edi
lea eax, [esp + 0x14]
push edi
push eax
call fcn.00493ca0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x4dcbb4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40eebd
push eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, 1
mov ecx, dword [esp + 0x2154]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d5a8
add esp, 0x214c
ret
mov ebp, dword [sym.imp.kernel32.dll_FindNextFileA]
lea esi, [esp + 0x150]
lea ebx, [ebx]
mov edx, esi
inc edi
lea ecx, [esp + 0x3c]
add esi, 0x20
lea ebx, [ebx]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x40eee0
lea edx, [esp + 0x10]
push edx
push ebx
call ebp
test eax, eax
jne 0x40eed0
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
test edi, edi
je 0x40ee9f
push 0x40ee20
push 0x20
lea eax, [esp + 0x158]
push edi
push eax
call fcn.0048fa20
add esp, 0x10
xor esi, esi
test edi, edi
jle 0x40ee9f
lea ebx, [esp + 0x150]
mov ecx, ebx
call fcn.0040f160
test eax, eax
je 0x40ef3e
inc esi
add ebx, 0x20
cmp esi, edi
jl 0x40ef26
jmp 0x40ee9f
xor eax, eax
jmp 0x40eea4
Function at 0x40efd0
Capabilities:
Delete file
Read file on windows
Write file on windows

Disassembly:
sub esp, 0x210
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
push edi
mov edi, ecx
push edi
lea eax, [esp + 0x118]
push 0x4dcbbc
xor ebp, ebp
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], ebp
call fcn.0048dc72
lea ecx, [esp + 0x120]
push 0x4dc174
push ecx
call fcn.00477073
add esp, 0x14
mov dword [esp + 0x10], eax
cmp eax, ebp
jne 0x40f03b
pop edi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x210
ret
cmp dword [esp + 0x21c], ebp
push ebx
push esi
jle 0x40f0e2
lea ebx, [ebx]
push ebp
push edi
lea edx, [esp + 0x24]
push 0x4dcbc4
push edx
call fcn.0048dc72
lea eax, [esp + 0x2c]
push 0x4dc164
push eax
call fcn.00477073
mov esi, eax
add esp, 0x18
test esi, esi
je 0x40f0da
push 2
push 0
push esi
call fcn.0048fcf7
push esi
call fcn.0048ff19
push 0
push 0
push esi
mov edi, eax
call fcn.0048fcf7
push edi
call fcn.0048d59d
push esi
push 1
mov ebx, eax
push edi
push ebx
call fcn.0048ecff
mov ecx, dword [esp + 0x48]
push ecx
push 1
push edi
push ebx
call fcn.0048ef71
add esp, 0x40
push ebx
call fcn.0048d634
push esi
call fcn.0048ed93
mov edi, dword [esp + 0x1c]
inc ebp
add esp, 8
cmp ebp, dword [esp + 0x224]
jge 0x40f0e2
jmp 0x40f050
mov dword [esp + 0x10], 1
mov edx, dword [esp + 0x18]
push edx
call fcn.0048ed93
add esp, 4
cmp dword [esp + 0x10], 0
je 0x40f106
lea eax, [esp + 0x11c]
push eax
call dword [sym.imp.kernel32.dll_DeleteFileA]
jmp 0x40f136
mov ebx, dword [esp + 0x224]
xor esi, esi
test ebx, ebx
jle 0x40f136
push esi
push edi
lea ecx, [esp + 0x24]
push 0x4dcbc4
push ecx
call fcn.0048dc72
lea edx, [esp + 0x2c]
push edx
call fcn.0048f468
inc esi
add esp, 0x14
cmp esi, ebx
jl 0x40f113
mov ecx, dword [esp + 0x21c]
pop esi
pop ebx
pop edi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0048d5a8
add esp, 0x210
ret
Function at 0x413f10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x88
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x90]
push ebx
push ebp
mov ebp, dword [esp + 0x94]
push esi
push edi
push 0x7f
lea ecx, [esp + 0x19]
push 0
push ecx
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
call fcn.00493ca0
add esp, 0xc
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 4]
lea esi, [eax + 2]
cmp esi, edx
jge 0x413fc8
mov ebx, dword [ebp]
mov ax, word [ebx + eax]
movzx eax, ax
mov dword [ebp + 8], esi
test eax, eax
je 0x413fc8
cmp eax, 5
jne 0x413f50
lea eax, [esi + 1]
cmp eax, edx
jge 0x413f50
mov cl, byte [ebx + esi]
movzx esi, cl
lea edi, [eax + esi]
cmp edi, edx
mov dword [ebp + 8], eax
jge 0x413f50
push esi
add eax, ebx
push eax
lea edx, [esp + 0x1c]
push edx
call fcn.00492c30
lea eax, [edi + 1]
add esp, 0xc
cmp eax, dword [ebp + 4]
mov dword [ebp + 8], edi
jge 0x413f50
mov bl, byte [edi + ebx]
mov dword [ebp + 8], eax
xor cl, cl
xor eax, eax
test esi, esi
jle 0x413fbd
xor cl, byte [esp + eax + 0x14]
inc eax
cmp eax, esi
jl 0x413fb4
cmp bl, cl
je 0x413f50
mov byte [esp + 0x14], 0
jmp 0x413f50
mov eax, dword [esp + 0x10]
push eax
call fcn.0048e2d7
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], eax
call fcn.00414110
lea edx, [esp + 0x14]
lea ecx, [edx + 1]
lea ebx, [ebx]
mov bl, byte [edx]
inc edx
test bl, bl
jne 0x413ff0
sub edx, ecx
push edx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
call fcn.00402a50
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048d5a8
add esp, 0x88
ret
Function at 0x417ab0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14c
mov eax, dword [0x4eadc8]
xor eax, esp
mov dword [esp + 0x148], eax
mov eax, dword [esp + 0x150]
push ebp
push esi
push edi
push 0x4dc164
push eax
mov dword [esp + 0x18], 0x9fd8
mov dword [esp + 0x1c], 0x4dcecc
mov dword [esp + 0x20], 0x8010
mov dword [esp + 0x24], 0x4dcee4
mov dword [esp + 0x28], 0x48ed
mov dword [esp + 0x2c], 0x4dcf08
mov dword [esp + 0x30], 0x70d8
mov dword [esp + 0x34], 0x4dcf24
mov dword [esp + 0x38], 0x7b52
mov dword [esp + 0x3c], 0x4dcf2c
mov dword [esp + 0x40], 0x6068
mov dword [esp + 0x44], 0x4dcf34
mov dword [esp + 0x48], 0x60a4
mov dword [esp + 0x4c], 0x4dcf40
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0x4dc776
call fcn.00477073
mov edi, eax
add esp, 8
test edi, edi
je 0x417c19
xor ebp, ebp
mov eax, 0x9fd8
xor esi, esi
nop
push 0
push eax
push edi
call fcn.0048fcf7
add esp, 0xc
test eax, eax
jne 0x417bfc
mov esi, dword [esp + esi + 0x14]
mov eax, esi
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417b90
push edi
sub eax, edx
push 1
push eax
lea eax, [esp + 0x5c]
push eax
call fcn.0048ecff
mov eax, esi
add esp, 0x10
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x417bb0
sub eax, edx
mov ecx, esi
lea esi, [esp + 0x50]
cmp eax, 4
jb 0x417bd8
mov edx, dword [esi]
cmp edx, dword [ecx]
jne 0x417bfc
sub eax, 4
add ecx, 4
add esi, 4
cmp eax, 4
jae 0x417bc4
test eax, eax
je 0x417c33
mov dl, byte [ecx]
cmp dl, byte [esi]
jne 0x417bfc
cmp eax, 1
jbe 0x417c33
mov dl, byte [ecx + 1]
cmp dl, byte [esi + 1]
jne 0x417bfc
cmp eax, 2
jbe 0x417c33
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
je 0x417c33
inc ebp
lea esi, [ebp*8]
mov eax, dword [esp + esi + 0x10]
test eax, eax
jne 0x417b70
push edi
call fcn.0048ed93
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x148]
xor ecx, esp
call fcn.0048d5a8
add esp, 0x14c
ret
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.0048d5a8
add esp, 0x14c
ret