joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008f1e3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x100a47b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db5fb
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
push ebx
push esi
push edi
mov eax, dword [0x10111404]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x14]
push 0x20000
push 0
push esi
mov dword [ebp - 0x14], edi
call fcn.100a5d20
add esp, 0xc
lea eax, [ebx + 0x20014]
push 0
push eax
push 0x20000
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x100a490b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
call fcn.10060490
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x100a48ed
push 0x61
mov dword [ebp - 0x34], ecx
mov byte [ebp - 0x44], cl
lea ecx, [ebp - 0x44]
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
mov dword [ebp - 0x30], 0xf
call fcn.100057a0
push 3
push 0x100e01bc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.100057a0
mov byte [ebp - 4], 1
call fcn.10060490
mov edi, eax
lea ecx, [ebp - 0xdc]
push 0x58
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.10008360
mov esi, eax
push str.RecvData_failed__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.10009a40
add esp, 8
mov ecx, esi
push dword [ebp - 0x10]
call fcn.100096e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xdc]
call fcn.10009f30
lea ecx, [ebp - 0x2c]
call fcn.10003e30
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], 0xffffffff
call fcn.10003e30
mov edi, dword [ebp - 0x14]
lea esi, [ebx + 0x14]
cmp dword [ebp - 0x10], 0xe8
mov dword [ebx + 0xc], 6
jne 0x100a490b
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
mov eax, dword [edi + 4]
lea ecx, [edi + 4]
push dword [ebp - 0x14]
mov dword [ecx + 4], eax
mov dword [edi + 0x10], 0
mov eax, dword [ebx + 0x20014]
add eax, esi
push eax
push esi
push dword [ecx + 4]
call fcn.1006ea70
mov dword [edi + 0x10], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100a4950
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100db63b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x10111404]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x10], 0
mov edi, dword [ebp + 8]
jne 0x100a4995
mov dword [ebx + 0xc], 8
jmp 0x100a4b02
mov eax, dword [edi + 8]
sub eax, dword [edi + 4]
inc eax
push eax
mov dword [ebp - 0x18], eax
call fcn.1007f3d7
mov esi, eax
mov dword [ebp - 0x1c], eax
add esp, 4
test esi, esi
je 0x100a49c4
push dword [ebp - 0x18]
push 0
push esi
call fcn.100a5d20
add esp, 0xc
mov byte [esi], 0
jmp 0x100a49c9
xor esi, esi
mov dword [ebp - 0x1c], esi
mov ecx, dword [edi + 4]
mov eax, dword [edi + 8]
sub eax, ecx
mov dword [ebp - 0x14], 0
push eax
push ecx
push esi
call fcn.100a57a0
mov eax, dword [edi + 8]
lea ecx, [ebp - 0x14]
sub eax, dword [edi + 4]
add esp, 0xc
inc eax
push 0
push ecx
push eax
push esi
push dword [ebx + 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100a4af0
mov dword [ebx + 0xc], 5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x18], eax
call fcn.10060490
push 1
mov ecx, eax
mov edx, dword [eax]
mov edx, dword [edx + 8]
call edx
movzx ecx, al
sub ecx, 1
jne 0x100a4ad7
push 0x61
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 0x4c], cl
lea ecx, [ebp - 0x4c]
push str.d:jenkins.jenkinsworkspacelib_commonlds_rpclds_rpc_src_rpc_instance_rpc_client_instance.cpp
mov dword [ebp - 0x38], 0xf
call fcn.100057a0
push 3
push 0x100e01bc
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
call fcn.100057a0
mov byte [ebp - 4], 1
call fcn.10060490
mov edi, eax
lea ecx, [ebp - 0xe4]
push 0x48
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.10008360
mov esi, eax
push str.send_failed__error_code_:
push esi
mov byte [ebp - 4], 2
call fcn.10009a40
add esp, 8
mov ecx, esi
push dword [ebp - 0x18]
call fcn.100096e0
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xe4]
call fcn.10009f30
lea ecx, [ebp - 0x34]
call fcn.10003e30
lea ecx, [ebp - 0x4c]
call fcn.10003e30
mov esi, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0xe8
jne 0x100a4af7
mov dword [ebx + 0xc], 7
mov dword [ebx + 0x10], 0
jmp 0x100a4af7
mov dword [ebx + 0xc], 0
push 1
push esi
call fcn.1007f042
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f3c1
mov esp, ebp
pop ebp
ret 4

Function at 0x100c102e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c0ead

Function at 0x100c76e3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.100c73a3
Function at 0x40de23
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
xor eax, eax
push ebx
push esi
mov esi, dword [esp + 0x10]
xor ebx, ebx
inc eax
mov cl, bl
cmp esi, eax
jbe 0x40de40
xor cl, byte [eax + edx]
inc eax
cmp eax, esi
jb 0x40de38
cmp cl, byte [edx]
jne 0x40de7b
push esi
push edx
push 0xffffffffffffffff
call fcn.00406773
not eax
mov ecx, ebx
cmp dword [ecx + 0x440044], eax
jne 0x40de61
cmp dword [ecx + 0x440040], esi
je 0x40de6c
add ecx, 0xc
inc ebx
cmp ecx, 0x48
jb 0x40de51
jmp 0x40de7b
imul eax, ebx, 0xc
mov ecx, dword [eax + 0x440048]
mov eax, dword [esp + 0x14]
mov dword [eax], ecx
pop esi
pop ebx
ret 0xc

Function at 0x40f9b5
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push ecx
push ecx
push ebx
push ebp
xor ebp, ebp
push edi
mov ecx, ebp
movzx eax, byte [ecx + 0x440098]
mov byte [eax + 0x4470f0], cl
inc ecx
cmp ecx, 0x100
jl 0x40f9be
mov al, byte [ebp + 0x440098]
mov byte [esp + 0x10], al
push 2
push dword [esp + 0x14]
mov byte [ebp*4 + 0x447df1], al
mov byte [ebp*4 + 0x447df0], al
mov byte [ebp*4 + 0x4479f3], al
mov byte [ebp*4 + 0x4479f0], al
mov byte [ebp*4 + 0x4475f3], al
mov byte [ebp*4 + 0x4475f2], al
mov byte [ebp*4 + 0x4471f2], al
mov byte [ebp*4 + 0x4471f1], al
call fcn.004101f9
push 3
push dword [esp + 0x14]
mov byte [ebp*4 + 0x447df3], al
mov byte [ebp*4 + 0x4479f2], al
mov byte [ebp*4 + 0x4475f1], al
mov byte [ebp*4 + 0x4471f0], al
call fcn.004101f9
mov bl, byte [ebp + 0x4470f0]
push 0xb
mov byte [esp + 0x10], bl
push dword [esp + 0x10]
mov byte [ebp*4 + 0x447df2], al
mov byte [ebp*4 + 0x4479f1], al
mov byte [ebp*4 + 0x4475f0], al
mov byte [ebp*4 + 0x4471f3], al
call fcn.004101f9
movzx edi, bl
push 9
push dword [esp + 0x10]
mov byte [ebp*4 + 0x448df2], al
mov byte [ebp*4 + 0x4489f1], al
mov byte [ebp*4 + 0x4485f0], al
mov byte [ebp*4 + 0x4481f3], al
mov byte [edi*4 + 0x449df2], al
mov byte [edi*4 + 0x4499f1], al
mov byte [edi*4 + 0x4495f0], al
mov byte [edi*4 + 0x4491f3], al
call fcn.004101f9
push 0xd
push dword [esp + 0x10]
mov byte [ebp*4 + 0x448df0], al
mov byte [ebp*4 + 0x4489f3], al
mov byte [ebp*4 + 0x4485f2], al
mov byte [ebp*4 + 0x4481f1], al
mov byte [edi*4 + 0x449df0], al
mov byte [edi*4 + 0x4499f3], al
mov byte [edi*4 + 0x4495f2], al
mov byte [edi*4 + 0x4491f1], al
call fcn.004101f9
push 0xe
push dword [esp + 0x10]
mov byte [ebp*4 + 0x448df1], al
mov byte [ebp*4 + 0x4489f0], al
mov byte [ebp*4 + 0x4485f3], al
mov byte [ebp*4 + 0x4481f2], al
mov byte [edi*4 + 0x449df1], al
mov byte [edi*4 + 0x4499f0], al
mov byte [edi*4 + 0x4495f3], al
mov byte [edi*4 + 0x4491f2], al
call fcn.004101f9
mov byte [ebp*4 + 0x448df3], al
mov byte [ebp*4 + 0x4489f2], al
mov byte [ebp*4 + 0x4485f1], al
mov byte [ebp*4 + 0x4481f0], al
inc ebp
mov byte [edi*4 + 0x449df3], al
mov byte [edi*4 + 0x4499f2], al
mov byte [edi*4 + 0x4495f1], al
mov byte [edi*4 + 0x4491f0], al
cmp ebp, 0x100
jl 0x40f9d4
pop edi
pop ebp
pop ebx
pop ecx
pop ecx
ret
Function at 0x4102d7
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
lea eax, [esp + 0x1c]
push edi
push 0x20
push dword [esp + 0x48]
mov esi, dword [ebp + 4]
sub esi, 6
mov dword [esp + 0x18], ebp
push eax
mov dword [esp + 0x24], esi
call fcn.00422c10
add esp, 0xc
xor ebx, ebx
xor edx, edx
xor edi, edi
test esi, esi
jle 0x410357
cmp ebx, dword [ebp + 4]
jg 0x4104bb
cmp edi, esi
jge 0x410344
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x410340
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x410320
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x41034a
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x41030b
cmp ebx, dword [ebp + 4]
jg 0x4104bb
mov edi, 0x440198
movzx eax, byte [esp + esi*4 + 0x1d]
mov cl, byte [esp + 0x20]
xor cl, byte [eax + 0x440098]
mov byte [esp + 0x20], cl
movzx eax, byte [esp + esi*4 + 0x1e]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x21], al
movzx eax, byte [esp + esi*4 + 0x1f]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x22], al
movzx eax, byte [esp + esi*4 + 0x1c]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x23], al
mov al, byte [edi]
xor al, cl
inc edi
mov byte [esp + 0x20], al
mov dword [esp + 0x1c], edi
cmp esi, 8
je 0x4103e8
cmp esi, 1
jle 0x4103dc
lea eax, [esi - 1]
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], eax
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4103ca
sub dword [esp + 0x14], 1
jne 0x4103c7
xor edi, edi
test esi, esi
jle 0x4104ae
jmp 0x410466
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], 3
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x4103f7
sub dword [esp + 0x14], 1
jne 0x4103f4
movzx eax, byte [esp + 0x2c]
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], 3
mov al, byte [eax + 0x440098]
xor byte [esp + 0x30], al
movzx eax, byte [esp + 0x2d]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x31], al
movzx eax, byte [esp + 0x2e]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x32], al
movzx eax, byte [esp + 0x2f]
mov al, byte [eax + 0x440098]
xor byte [esp + 0x33], al
push 4
pop edi
mov al, byte [ecx - 4]
xor byte [ecx], al
inc ecx
sub edi, 1
jne 0x410454
sub dword [esp + 0x14], 1
jne 0x410451
cmp ebx, dword [ebp + 4]
jg 0x4104b1
cmp edi, esi
jge 0x41049b
lea ebp, [esp + 0x20]
lea ebp, [ebp + edi*4]
cmp edx, 4
jge 0x410497
mov esi, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
mov eax, dword [ebp]
inc edi
add ebp, 4
inc edx
mov dword [esi + ecx*4 + 0x18], eax
mov esi, dword [esp + 0x18]
cmp edi, esi
jl 0x410477
mov ebp, dword [esp + 0x10]
cmp edx, 4
jne 0x4104a1
inc ebx
lea eax, [edx - 4]
neg eax
sbb eax, eax
and edx, eax
cmp edi, esi
jl 0x410466
cmp ebx, dword [ebp + 4]
mov edi, dword [esp + 0x1c]
jle 0x410365
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret 4
Function at 0x1007315f
Capabilities:
Encode data using xor

Disassembly:
call 0x100730d8
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x10073108
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x10073124
xor edx, 0
jmp 0x1007312f
xor edx, edx
jmp 0x10073146
jmp 0x10073152
xor eax, eax
push 0x8427d7c0
call 0x1007315f
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1007319b
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x10073174
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100731b2
add eax, 0
jno 0x100731b7
add esi, 0
ret 0x10

Function at 0x10073f20
Capabilities:
Encode data using xor

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10073f42
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100740e4
cmp edi, dword [ebp + 0x10]
jb 0x100740e4
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10073a0c
inc edi
jmp 0x10073fcb
jmp 0x10073fd8
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10073a0c
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10073a0c
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x1007402c
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x10074010
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1007405a
add dword [eax], 0x39
jle 0x10074036
sub al, 0xf5
mov ch, al
call fcn.1007406f
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x10075d47
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10075d5d
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10075d6e
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10075daf
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx

Function at 0x1007811b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10078064
add ebx, 0
push ecx
call 0x10078079
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6cf3d3b7
sub ebx, dword [0x6cf5cbf6]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6cf5cbe6
call fcn.10073b43
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10073051
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100781d7
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100781d7
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x1007818e
mov eax, 1
lock xchg dword [0x6cf5cbf2], eax
push 0x3dd1fc71
call 0x1007811b
push esi
add esp, 8
cmp eax, 0
jne 0x10078104
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1007812a
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x1007813f
cmp ecx, edx
cmp eax, 0
je 0x10078164
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x1007814e
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1007817d
dec eax
loope 0x10078180
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6cf5cbf2], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x100781b4
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100781c9
jmp 0x100781d4
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100780c2
Function at 0x1007f23c
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1007f512
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6cf4986a
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6cf40830
push 0xffffffffffffffff
call fcn.1007643c
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1007f2a6
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1007f2be
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1007f506
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1007f4da
Function at 0x1008ed0c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1008ed2e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1008ed2e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1008ed2e
ret
cmp word [ebx + 4], 0x14c
jne 0x1008ed2e
test word [ebx + 0x16], 2
je 0x1008ed2e
test word [ebx + 0x16], 0x100
je 0x1008ed2e
cmp word [ebx + 0x18], 0x10b
jne 0x1008ed2e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1008ed2e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1008edba
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1008ed4e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10075c99
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1008ed2e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1008edba
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1008ed2e
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1008ed2e
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1008ed2e
ret
cmp word [ebx + 4], 0x14c
jne 0x1008ed2e
test word [ebx + 0x16], 2
je 0x1008ed2e
test word [ebx + 0x16], 0x100
je 0x1008ed2e
cmp word [ebx + 0x18], 0x10b
jne 0x1008ed2e
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1008ed2e
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1008edba
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1008ed4e
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10075c99
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1008ed2e
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1008ee71
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1008eeca
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1008ee71
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1008ee80
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10494b23
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1008eed1
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10075d47
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1008ef70
add edi, 4
add eax, 2
dec ecx
jne 0x1008eeb6
call 0x1008ef1d
loope 0x1008ef13
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1008ef6d
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1008ef7e
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1008ef31
cmp eax, ecx
ja 0x1008ef31
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1008efbb
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1008efb1
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.10076226
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]