joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4561a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45631a
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x456310
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x4561fa
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x4561fa
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x45620d
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x4562e7
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x4562db
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x4562d2
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x456260
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4562a3
mov eax, 1
cmp eax, ecx
ja 0x456297
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00468940
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x4562cd
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45629c
mov ecx, dword [esp + 0xc]
jmp 0x456265
call fcn.004688e0
xor eax, eax
mov ecx, eax
call fcn.004688d0
call fcn.00468940
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x45630b
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x4562e0
mov ecx, dword [esp + 0x18]
jmp 0x456212
call fcn.004688e0
xor eax, eax
mov ecx, eax
call fcn.004688d0
nop
call fcn.00467460
jmp fcn.004561a0
Function at 0x45a600
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45a703
sub esp, 0x28
mov eax, dword [esp + 0x2c]
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x58]
mov dword [eax + 0xf0], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp], ecx
call fcn.0045ad30
mov eax, dword [esp + 4]
mov dword [esp + 0x14], eax
lea ecx, [0x528a80]
mov dword [esp], ecx
call fcn.0040c3d0
mov eax, dword [esp + 4]
mov dword [eax], 0xffffffff
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [eax + 4], ecx
lea ecx, [0x6967bc]
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], 2
mov dword [esp + 0xc], 2
call fcn.00459f10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ecx + 0x50]
mov ecx, dword [ecx + 0x54]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
mov byte [esp], 0xd
mov dword [esp + 4], 2
lea eax, [esp + 0x18]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 2
call fcn.004591d0
add esp, 0x28
ret
call fcn.00467460
jmp fcn.0045a600

Function at 0x45d920
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d9bb
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x6b21fc]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00468aa7
lea ecx, [0x45d9d0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00467370
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00467460
jmp fcn.0045d920
Function at 0x464c00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x464d60
sub esp, 0x1c
mov eax, dword [esp + 0x20]
test byte [eax], al
lea ecx, [eax + 0x18]
mov dword [esp + 0x18], ecx
nop
mov dword [esp], ecx
call fcn.0040a220
mov eax, dword [esp + 0x20]
movzx ecx, byte [eax + 0x1c]
test cl, cl
jne 0x464d49
mov byte [eax + 0x1c], 1
inc dword [eax + 0x24]
inc dword [eax + 0x60]
mov dword [esp], eax
call fcn.00433d60
mov eax, dword [esp + 0x20]
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.00434440
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov dword [esp], ecx
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.00434440
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
mov edx, dword [esp + 0xc]
mov dword [esp + 0x10], edx
test ecx, ecx
je 0x464cd0
lea ecx, [eax + 0x28]
mov dword [esp], ecx
call fcn.00456e60
mov eax, dword [0x6b2320]
test eax, eax
jne 0x464cb7
mov eax, dword [esp + 0x20]
jmp 0x464cc5
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x3c]
call fcn.00468860
mov dword [edi], ecx
mov dword [eax + 0x3c], 0
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x464d07
lea ecx, [eax + 0x64]
mov dword [esp], ecx
call fcn.00456e60
mov eax, dword [0x6b2320]
test eax, eax
jne 0x464cf2
mov eax, dword [esp + 0x20]
jmp 0x464d00
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x78]
call fcn.00468860
mov dword [edi], ecx
mov dword [eax + 0x78], 0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.0040a420
mov eax, dword [esp + 0x14]
test eax, eax
je 0x464d2d
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00434220
mov eax, dword [esp + 0x10]
test eax, eax
je 0x464d45
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.00434220
add esp, 0x1c
ret
lea eax, [0x54ffcd]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00439f70
nop
call fcn.00467460
jmp fcn.00464c00
Function at 0x468710
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x6b2420]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x466e9b
je 0x466eee
cmp ebx, 0x20
jbe 0x466ef4
cmp ebx, 0x40
jbe 0x466f3a
jmp 0x466fdb
test ebx, ebx
je 0x466ee4
add eax, 0x10
test ax, 0xff0
je 0x466ed0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x5d5080]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x5d5180]
jmp 0x466eb8
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x466eb8
pxor xmm1, xmmword [0x6b2430]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6b2430]
pxor xmm2, xmmword [0x6b2440]
pxor xmm3, xmmword [0x6b2450]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x6b2430]
pxor xmm2, xmmword [0x6b2440]
pxor xmm3, xmmword [0x6b2450]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x46703a
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x6b20c9], 0
je 0x46872a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x466e60
jmp fcn.004089d0
Function at 0x468730
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40329c
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004089d0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00467460
jmp 0x403260
cmp byte [0x6b20c9], 0
je 0x46874b
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x466e60
jmp 0x403260

Function at 0x469640
Capabilities:
Allocate thread local storage

Disassembly:
mov ebp, esp
mov eax, dword [sym.imp.kernel32.dll_TlsAlloc]
call eax
mov esp, ebp
mov ecx, eax
cmp ecx, 0x40
jb 0x46965a
mov ecx, 0x14
jmp 0x469663
shl ecx, 2
add ecx, 0xe10
mov dword [0x6b21fc], ecx
ret
Function at 0x4982f0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4984da
sub esp, 0x48
mov eax, dword [0x687bf0]
mov ecx, dword [esp + 0x50]
movzx edx, word [ecx + 0xa]
movzx ebx, word [ecx + 0xc]
movzx ebp, word [ecx + 2]
movzx esi, word [ecx + 8]
mov edi, dword [esp + 0x4c]
mov dword [esp], edi
mov dword [esp + 4], ebp
mov dword [esp + 8], 1
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], eax
call fcn.00494fe0
lea edi, [esp + 0x34]
lea esi, [esp + 0x20]
call fcn.00468f8e
lea edi, [esp]
lea esi, [esp + 0x34]
call fcn.00468f8e
call fcn.00493740
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add eax, 0x15180
adc ecx, 0
mov dword [esp + 4], ecx
mov dword [esp], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x93a80
call fcn.00460ed0
mov eax, dword [esp + 0x50]
movzx ecx, word [eax + 4]
mov edx, dword [esp + 0x10]
mov ebx, eax
mov eax, 0xc22e4507
mov ebp, edx
imul edx
lea eax, [ebp + edx]
sar eax, 0x10
sar ebp, 0x1f
sub eax, ebp
sub ecx, eax
test ecx, ecx
jge 0x4983c7
add ecx, 7
movzx edx, word [ebx + 6]
lea ebp, [edx - 1]
cmp ebp, 4
jge 0x4983e1
lea ebx, [edx + edx*2]
lea edx, [edx + ebx*2]
lea ecx, [ecx + edx - 6]
mov edx, ecx
jmp 0x498458
movzx eax, word [ebx + 2]
cmp eax, 2
jne 0x49842e
mov edx, dword [esp + 0x4c]
test edx, 3
jne 0x49842a
mov ebx, edx
sar edx, 0x1f
mov ebp, eax
mov eax, 0x51eb851f
mov esi, edx
imul ebx
mov edi, edx
sar edx, 5
sub edx, esi
imul edx, edx, 0x64
cmp ebx, edx
jne 0x498423
sar edi, 7
sub edi, esi
imul edx, edi, 0x190
cmp ebx, edx
jne 0x498430
mov ebx, 0x1d
jmp 0x49844e
mov ebp, eax
jmp 0x498430
mov ebp, eax
cmp ebp, 0xd
jae 0x4984cd
lea eax, [ebp - 1]
lea edx, [0x67f8c0]
mov ebx, dword [edx + ebp*4]
cmp eax, 0xd
jae 0x4984c3
sub ebx, dword [edx + ebp*4 - 4]
lea edx, [ecx + 0x1d]
cmp ebx, edx
jge 0x498458
lea edx, [ecx + 0x16]
mov ecx, dword [esp + 0x38]
test ecx, 0x80000000
je 0x49848a
mov ebx, dword [esp + 0x34]
shl ecx, 1
mov ebp, ebx
shl ebx, 1
shr ebp, 0x1f
or ebp, ecx
mov ecx, ebp
shl ebp, 1
shr ecx, 0x1f
shr ebx, 0x1f
or ebp, ebx
add ebp, 0xd7b17f80
adc ecx, 0xd
jmp 0x498492
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
lea eax, [edx - 1]
mov edx, eax
sar edx, 0x1f
mov ebx, 0x15180
mov esi, edx
mul ebx
imul ebx, esi, 0x15180
add edx, ebx
add eax, ebp
adc edx, ecx
add eax, 0x886e0900
adc edx, 0xfffffff1
mov dword [esp + 0x58], edx
mov dword [esp + 0x54], eax
add esp, 0x48
ret
mov ecx, 0xd
call fcn.004688d0
mov eax, ebp
mov ecx, 0xd
call fcn.004688d0
nop
call fcn.00467460
jmp fcn.004982f0
Function at 0x4d0c50
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d0d41
sub esp, 0x1c
mov ecx, dword [esp + 0x20]
test byte [ecx], al
mov edx, dword [esp + 0x24]
and edx, 0x7f
shl edx, 5
add ecx, edx
mov dword [esp + 0x18], ecx
xor eax, eax
jmp 0x4d0c8c
mov ebx, dword [esp + 0xc]
inc ebx
mov ecx, dword [esp + 0x18]
mov eax, ebx
cmp eax, 4
jge 0x4d0cc5
mov dword [esp + 0xc], eax
lea edx, [ecx + eax*8]
mov dword [esp], edx
call fcn.0046cfa0
mov eax, dword [esp + 0x24]
cmp dword [esp + 4], eax
sete cl
mov edx, dword [esp + 0x28]
cmp dword [esp + 8], edx
sete bl
and ebx, ecx
test bl, bl
je 0x4d0c81
mov byte [esp + 0x2c], 1
add esp, 0x1c
ret
xor eax, eax
mov edx, 0x84222325
jmp 0x4d0ccf
inc eax
cmp eax, 4
jge 0x4d0ce4
mov dword [esp + 0x14], eax
lea ebx, [ecx + eax*8]
mov ebp, dword [ebx]
mov ebx, dword [ebx + 4]
xor esi, esi
jmp 0x4d0d3a
and edx, 3
lea eax, [ecx + edx*8]
mov dword [esp], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.0046cff0
mov byte [esp + 0x2c], 0
add esp, 0x1c
ret
mov edi, ebp
and edi, 0xff
xor edx, edi
shr ebp, 8
mov edi, ebx
shl edi, 0x18
mov dword [esp + 0x10], edi
mov eax, edx
mov edi, 0x1b3
mul edi
inc esi
mov edi, dword [esp + 0x10]
or ebp, edi
shr ebx, 8
mov edx, eax
mov eax, dword [esp + 0x14]
cmp esi, 8
jl 0x4d0d0b
jmp 0x4d0cce
call fcn.00467460
jmp fcn.004d0c50
Function at 0x4f0180
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4f03b1
sub esp, 0x6c
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
lea edi, [esp + 0x84]
xor eax, eax
call fcn.00468aa0
mov ecx, dword [esp + 0x70]
mov edx, dword [ecx + 0x74]
mov dword [esp + 0x2c], edx
xor ebx, ebx
jmp 0x4f01d0
inc ebx
cmp dword [ecx + 0x70], ebx
jle 0x4f01e0
mov dword [esp + 0x24], ebx
xor ebp, ebp
jmp 0x4f031c
mov ecx, dword [ecx + 0x74]
mov dword [esp + 0x30], ecx
lea edi, [esp + 0x3c]
call fcn.00468aa4
lea ecx, [0x538380]
mov dword [esp], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 4], ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 8], ecx
call fcn.0040dfe0
jmp 0x4f0224
mov dword [esp + 0x7c], edx
mov byte [edx + ebx - 1], al
lea eax, [esp + 0x3c]
mov dword [esp], eax
call fcn.0040e220
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x4f028b
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
inc edx
movzx eax, byte [eax]
mov ebx, dword [esp + 0x78]
cmp ecx, edx
jae 0x4f0210
mov byte [esp + 0x20], al
mov dword [esp], ebx
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 1
lea eax, [0x52abc0]
mov dword [esp + 0x10], eax
call fcn.0044f350
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov dword [esp + 0x78], ebx
movzx eax, byte [esp + 0x20]
jmp 0x4f0210
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x7c]
mov edx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409c90
mov eax, dword [esp + 0xc]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea ecx, [0x4f03c0]
mov dword [esp + 0x34], ecx
lea ecx, [esp + 0x78]
mov dword [esp + 0x38], ecx
lea ecx, [0x525ae0]
mov dword [esp], ecx
mov dword [esp + 4], eax
lea eax, [esp + 0x34]
mov dword [esp + 8], eax
call fcn.00470910
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4f02f6
mov eax, dword [eax]
jmp 0x4f02f8
xor eax, eax
mov dword [esp + 0x74], eax
add esp, 0x6c
ret
inc dword [esp + eax*4 + 0x84]
mov esi, dword [esp + 0x28]
lea ebp, [esi + 1]
xor eax, eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x24]
cmp dword [ecx + 0x6c], ebp
jle 0x4f01cf
mov dword [esp + 0x28], ebp
mov dword [esp], ecx
mov dword [esp + 4], ebp
mov dword [esp + 8], ebx
call fcn.004f2650
movzx eax, byte [esp + 0xc]
movzx ecx, byte [esp + 0xd]
movzx edx, byte [esp + 0xe]
mov byte [esp + 0x21], al
mov byte [esp + 0x22], cl
mov byte [esp + 0x23], dl
mov eax, dword [esp + 0x70]
mov ecx, dword [eax + 0x74]
lea edx, [0x538380]
mov dword [esp], edx
mov dword [esp + 4], ecx
lea ecx, [esp + 0x21]
mov dword [esp + 8], ecx
call fcn.0040d3f0
movzx eax, byte [esp + 0x10]
test al, al
je 0x4f0398
mov edx, dword [esp + 0xc]
movzx eax, byte [edx]
cmp eax, 0x10
jb 0x4f0300
mov ecx, 0x10
call fcn.004688d0
lea eax, [0x52a880]
mov dword [esp], eax
lea eax, [0x5d36fc]
mov dword [esp + 4], eax
call fcn.00439850
nop
call fcn.00467460
jmp fcn.004f0180
Function at 0x50cd80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x6b21fc]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x50cec6
sub esp, 0x70
lea edi, [esp + 0x40]
xor eax, eax
call fcn.00468aa4
lea ecx, [0x538380]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
lea ebx, [esp + 0x40]
mov dword [esp + 8], ebx
call fcn.0040dfe0
movzx ecx, byte [esp + 0x78]
jmp 0x50cdda
lea eax, [esp + 0x40]
mov dword [esp], eax
call fcn.0040e220
movzx eax, byte [esp + 0x78]
mov ecx, eax
mov edx, dword [esp + 0x40]
test edx, edx
je 0x50ce05
mov eax, dword [esp + 0x44]
cmp byte [eax], cl
jne 0x50cdc7
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
movzx edx, byte [edx + 2]
mov byte [esp + 0x7c], al
mov byte [esp + 0x7d], cl
mov byte [esp + 0x7e], dl
add esp, 0x70
ret
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea edx, [0x52abc0]
mov dword [esp + 0x18], edx
movzx ecx, cl
lea edx, [0x684860]
lea ecx, [edx + ecx*8]
mov dword [esp + 0x1c], ecx
lea ecx, [0x538380]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x28]
xor eax, eax
call fcn.00468aaa
lea ecx, [0x50ced0]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], 0x23
lea ecx, [0x54fca0]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x38], 2
mov dword [esp + 0x3c], 2
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x68b9c4]
mov dword [esp], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], 2
lea ecx, [esp + 0x28]
mov dword [esp + 0xc], ecx
call fcn.004b1180
mov byte [esp + 0x7c], 0
mov word [esp + 0x7d], 0
add esp, 0x70
ret
call fcn.00467460
jmp fcn.0050cd80
Function at 0x10002a00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10054670]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
mov dword [ebp - 0x18], 0x10056f98
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
xor eax, eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10002a5a
push 0x10056ee8
mov esi, 0x1004ea4a
call fcn.100041c0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x1000
push 0x10056f98
push 0xc
lea edx, [ebp - 0x14]
push edx
push 0x2d1400
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10002a92
push 0x10056ee8
mov esi, 0x1004ea4a
call fcn.100041c0
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 0x18], 0
jbe 0x10002ab3
mov edx, dword [ebp - 0x18]
mov esi, dword [edx + 0x18]
add esi, 0x10056f98
push 0x10056ee8
call fcn.100041c0
jmp 0x10002ac2
push 0x10056ee8
mov esi, 0x1004ea4a
call fcn.100041c0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1000fe00
mov esp, ebp
pop ebp
ret
Function at 0x10002cb0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0x288
push 0x12
call fcn.100130b0
add esp, 4
mov dword [ebp - 8], eax
push 0x288
call fcn.100130b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002d00
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.10015370
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.10012dc0
add esp, 4
xor eax, eax
jmp 0x10002e0c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
cmp eax, 0x6f
jne 0x10002d54
mov eax, dword [ebp - 4]
push eax
call fcn.10012dc0
add esp, 4
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.100130b0
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10002d54
push str.Error_allocating_memory_needed_to_call_GetAdaptersinfo_n
call fcn.10015370
add esp, 4
mov edx, dword [ebp - 8]
push edx
call fcn.10012dc0
add esp, 4
xor eax, eax
jmp 0x10002e0c
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x10002dfd
mov edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x199]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x198]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x197]
push edx
mov eax, dword [ebp - 0x10]
movzx ecx, byte [eax + 0x196]
push ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x195]
push eax
mov ecx, dword [ebp - 0x10]
movzx edx, byte [ecx + 0x194]
push edx
push str._02X_02X_02X_02X_02X_02X
mov eax, dword [ebp - 8]
push eax
call fcn.10010070
add esp, 0x20
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x1b0
push edx
push str.Address:__s__mac:__s_n
call fcn.10015370
add esp, 0xc
push 0x1004eb7c
call fcn.10015370
add esp, 4
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
jne 0x10002d70
mov edx, dword [ebp - 4]
push edx
call fcn.10012dc0
add esp, 4
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x100031d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], 0x1004ebdc
mov dword [ebp - 4], str.xxxxxxxxx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
push str.Conquer.exe
call fcn.100097d0
add esp, 0xc
mov dword [0x10056e18], eax
call fcn.1003f130
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003f600
push 0x10002f60
push 0x10056e18
call fcn.1003ebc0
call fcn.1003f190
test eax, eax
je 0x10003230
push 0
call fcn.10016900
jmp 0x1000327d
mov dword [ebp - 0x10], 0x1004ebf8
mov dword [ebp - 8], str.xxxx____x____x____xxx____xx____xxxxx____xxxx____xxxxxxxxx____xxx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x10]
push eax
push str.Conquer.exe
call fcn.100097d0
add esp, 0xc
mov dword [0x10056e14], eax
call fcn.1003f130
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.1003f600
push 0x10002e10
push 0x10056e14
call fcn.1003ebc0
call fcn.1003f190
mov esp, ebp
pop ebp
ret