joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419c02
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x426770]
push edi
xor edi, edi
cmp dword [ebp + 0x3b0], edi
mov dword [ebp + 0x39c], eax
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x7c], edi
jne 0x419c33
xor eax, eax
jmp 0x419dbc
mov eax, dword [ebp + 0x3a8]
push ebx
mov ebx, dword [ebp + 0x3a8]
and eax, 0x1f
sar ebx, 5
push esi
lea esi, [eax + eax*8]
lea ebx, [ebx*4 + 0x428d20]
mov eax, dword [ebx]
shl esi, 2
test byte [eax + esi + 4], 0x20
je 0x419c6f
push 2
push edi
push edi
push dword [ebp + 0x3a8]
call fcn.0041bdab
add esp, 0x10
mov eax, dword [ebx]
add eax, esi
test byte [eax + 4], 0x80
je 0x419d4a
cmp dword [ebp + 0x3b0], edi
mov eax, dword [ebp + 0x3ac]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x6c], edi
jbe 0x419d88
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp + 0x3ac]
lea eax, [ebp - 0x68]
mov dword [ebp - 0x70], edi
cmp ecx, dword [ebp + 0x3b0]
jae 0x419cd3
mov edx, dword [ebp - 0x74]
inc dword [ebp - 0x74]
mov dl, byte [edx]
inc ecx
cmp dl, 0xa
jne 0x419cc4
inc dword [ebp - 0x7c]
mov byte [eax], 0xd
inc eax
inc dword [ebp - 0x70]
mov byte [eax], dl
inc eax
inc dword [ebp - 0x70]
cmp dword [ebp - 0x70], 0x400
jl 0x419ca4
mov edi, eax
lea eax, [ebp - 0x68]
sub edi, eax
push 0
lea eax, [ebp - 0x80]
push eax
push edi
lea eax, [ebp - 0x68]
push eax
mov eax, dword [ebx]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x419d13
mov eax, dword [ebp - 0x80]
add dword [ebp - 0x78], eax
cmp eax, edi
jl 0x419d1c
mov eax, dword [ebp - 0x74]
sub eax, dword [ebp + 0x3ac]
xor edi, edi
cmp eax, dword [ebp + 0x3b0]
jb 0x419c95
jmp 0x419d1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
xor edi, edi
mov eax, dword [ebp - 0x78]
cmp eax, edi
jne 0x419db7
cmp dword [ebp - 0x6c], edi
je 0x419d88
push 5
pop esi
cmp dword [ebp - 0x6c], esi
jne 0x419d7d
call fcn.00418a18
mov dword [eax], 9
call fcn.00418a21
mov dword [eax], esi
jmp 0x419db2
push edi
lea ecx, [ebp - 0x80]
push ecx
push dword [ebp + 0x3b0]
push dword [ebp + 0x3ac]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x419d72
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x78], eax
jmp 0x419d1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x6c], eax
jmp 0x419d1e
push dword [ebp - 0x6c]
call fcn.00418a2a
pop ecx
jmp 0x419db2
mov eax, dword [ebx]
test byte [eax + esi + 4], 0x40
je 0x419da0
mov eax, dword [ebp + 0x3ac]
cmp byte [eax], 0x1a
jne 0x419da0
xor eax, eax
jmp 0x419dba
call fcn.00418a18
mov dword [eax], 0x1c
call fcn.00418a21
mov dword [eax], edi
or eax, 0xffffffff
jmp 0x419dba
sub eax, dword [ebp - 0x7c]
pop esi
pop ebx
mov ecx, dword [ebp + 0x39c]
pop edi
call fcn.00413cbe
add ebp, 0x3a0
leave
ret
Function at 0x41b945
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
cmp dword [0x427ca0], ebx
push esi
push edi
jne 0x41b9c5
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x41ba00
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x423338
push edi
call esi
test eax, eax
mov dword [0x427ca0], eax
je 0x41ba00
push str.GetActiveWindow
push edi
call esi
push str.GetLastActivePopup
push edi
mov dword [0x427ca4], eax
call esi
cmp dword [0x4279b4], 2
mov dword [0x427ca8], eax
jne 0x41b9c5
push str.GetUserObjectInformationA
push edi
call esi
test eax, eax
mov dword [0x427cb0], eax
je 0x41b9c5
push str.GetProcessWindowStation
push edi
call esi
mov dword [0x427cac], eax
mov eax, dword [0x427cac]
test eax, eax
je 0x41ba0a
call eax
test eax, eax
je 0x41b9f1
lea ecx, [ebp - 4]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [0x427cb0]
test eax, eax
je 0x41b9f1
test byte [ebp - 8], 1
jne 0x41ba0a
cmp dword [0x4279c0], 4
jb 0x41ba04
or byte [ebp + 0x12], 0x20
jmp 0x41ba29
xor eax, eax
jmp 0x41ba39
or byte [ebp + 0x12], 4
jmp 0x41ba29
mov eax, dword [0x427ca4]
test eax, eax
je 0x41ba29
call eax
mov ebx, eax
test ebx, ebx
je 0x41ba29
mov eax, dword [0x427ca8]
test eax, eax
je 0x41ba29
push ebx
call eax
mov ebx, eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
call dword [0x427ca0]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41cab8
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
and dword [ebp - 8], 0
cmp dword [ebp + 0x10], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edx, ebx
je 0x41cc8c
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0x1f
sar ecx, 5
lea esi, [eax + eax*8]
lea edi, [ecx*4 + 0x428d20]
mov eax, dword [edi]
shl esi, 2
add eax, esi
mov cl, byte [eax + 4]
test cl, 2
jne 0x41cc8c
test cl, 0x48
je 0x41cb23
cmp byte [eax + 5], 0xa
je 0x41cb23
mov eax, dword [edi]
mov al, byte [eax + esi + 5]
dec dword [ebp + 0x10]
mov byte [ebx], al
mov eax, dword [edi]
lea edx, [ebx + 1]
mov dword [ebp - 8], 1
mov byte [eax + esi + 5], 0xa
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 0x10]
mov eax, dword [edi]
push edx
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41cb75
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 5
pop esi
cmp eax, esi
jne 0x41cb5d
call fcn.00418a18
mov dword [eax], 9
call fcn.00418a21
mov dword [eax], esi
jmp 0x41cb6d
cmp eax, 0x6d
je 0x41cc8c
push eax
call fcn.00418a2a
pop ecx
or eax, 0xffffffff
jmp 0x41cc8e
mov eax, dword [ebp - 0xc]
mov ecx, dword [edi]
add dword [ebp - 8], eax
test byte [ecx + esi + 4], 0x80
je 0x41cc87
test eax, eax
je 0x41cb9c
cmp byte [ebx], 0xa
jne 0x41cb9c
mov eax, ecx
lea eax, [eax + esi + 4]
or byte [eax], 4
jmp 0x41cba5
mov eax, dword [edi]
lea eax, [eax + esi + 4]
and byte [eax], 0xfb
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 8]
add ecx, eax
cmp eax, ecx
mov dword [ebp + 0x10], eax
mov dword [ebp - 8], ecx
jae 0x41cc81
mov eax, dword [ebp + 0x10]
mov al, byte [eax]
cmp al, 0x1a
je 0x41cc71
cmp al, 0xd
je 0x41cbd7
mov byte [ebx], al
inc ebx
inc dword [ebp + 0x10]
jmp 0x41cc63
dec ecx
cmp dword [ebp + 0x10], ecx
jae 0x41cbf1
mov eax, dword [ebp + 0x10]
inc eax
cmp byte [eax], 0xa
jne 0x41cbec
add dword [ebp + 0x10], 2
jmp 0x41cc45
mov dword [ebp + 0x10], eax
jmp 0x41cc5f
inc dword [ebp + 0x10]
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
mov eax, dword [edi]
push dword [eax + esi]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41cc19
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x41cc5f
cmp dword [ebp - 0xc], 0
je 0x41cc5f
mov eax, dword [edi]
test byte [eax + esi + 4], 0x48
je 0x41cc3a
mov al, byte [ebp - 1]
cmp al, 0xa
je 0x41cc45
mov byte [ebx], 0xd
mov ecx, dword [edi]
mov byte [ecx + esi + 5], al
jmp 0x41cc62
cmp ebx, dword [ebp + 0xc]
jne 0x41cc4a
cmp byte [ebp - 1], 0xa
jne 0x41cc4a
mov byte [ebx], 0xa
jmp 0x41cc62
push 1
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.00419ae3
add esp, 0xc
cmp byte [ebp - 1], 0xa
je 0x41cc63
mov byte [ebx], 0xd
inc ebx
mov ecx, dword [ebp - 8]
cmp dword [ebp + 0x10], ecx
jb 0x41cbbb
jmp 0x41cc81
mov eax, dword [edi]
test byte [eax + esi + 4], 0x40
jne 0x41cc81
lea esi, [eax + esi + 4]
or byte [esi], 2
sub ebx, dword [ebp + 0xc]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 8]
jmp 0x41cc8e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41d736
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [ebp - 0x10], ebx
jne 0x41d74f
or eax, 0xffffffff
jmp 0x41d7b0
push esi
mov esi, dword [eax]
cmp esi, ebx
mov dword [ebp - 4], esi
je 0x41d7ac
push 0x3d
push esi
call fcn.0041dae5
cmp eax, ebx
pop ecx
pop ecx
mov dword [ebp - 0xc], eax
je 0x41d7ac
cmp esi, eax
je 0x41d7ac
xor ecx, ecx
cmp byte [eax + 1], bl
mov eax, dword [0x4279d4]
sete cl
cmp eax, dword [0x4279d8]
mov dword [ebp - 8], ecx
jne 0x41d792
mov edi, eax
call fcn.0041d6d5
mov dword [0x4279d4], eax
cmp eax, ebx
jne 0x41d7eb
cmp dword [ebp + 0xc], ebx
je 0x41d7b4
cmp dword [0x4279dc], ebx
je 0x41d7b4
call fcn.0041cd8c
test eax, eax
je 0x41d7eb
or eax, 0xffffffff
pop esi
pop edi
pop ebx
leave
ret
cmp dword [ebp - 8], ebx
je 0x41d7bd
xor eax, eax
jmp 0x41d7af
push 4
call fcn.004127c0
cmp eax, ebx
pop ecx
mov dword [0x4279d4], eax
je 0x41d7ac
mov dword [eax], ebx
cmp dword [0x4279dc], ebx
jne 0x41d7eb
push 4
call fcn.004127c0
cmp eax, ebx
pop ecx
mov dword [0x4279dc], eax
je 0x41d7ac
mov dword [eax], ebx
mov edi, dword [ebp - 0xc]
sub edi, dword [ebp - 4]
push dword [ebp - 4]
mov esi, dword [0x4279d4]
call fcn.0041d688
mov edi, eax
cmp edi, ebx
pop ecx
jl 0x41d84c
cmp dword [esi], ebx
je 0x41d84c
lea esi, [esi + edi*4]
push dword [esi]
call fcn.00411fbd
cmp dword [ebp - 8], ebx
pop ecx
jne 0x41d82f
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov eax, dword [ebp + 8]
mov dword [eax], ebx
jmp 0x41d88d
mov eax, dword [esi + 4]
mov dword [esi], eax
inc edi
add esi, 4
cmp dword [esi], ebx
jne 0x41d826
mov eax, edi
shl eax, 2
push eax
push dword [0x4279d4]
call fcn.00412905
cmp eax, ebx
pop ecx
pop ecx
je 0x41d88d
jmp 0x41d888
cmp dword [ebp - 8], ebx
jne 0x41d8f8
cmp edi, ebx
jge 0x41d85b
neg edi
lea eax, [edi*4 + 8]
push eax
push dword [0x4279d4]
call fcn.00412905
cmp eax, ebx
pop ecx
pop ecx
je 0x41d7ac
mov edx, dword [ebp - 4]
lea ecx, [eax + edi*4]
mov dword [ecx], edx
mov dword [ecx + 4], ebx
mov ecx, dword [ebp + 8]
mov dword [ecx], ebx
mov dword [0x4279d4], eax
cmp dword [ebp + 0xc], ebx
je 0x41d8e2
push dword [ebp - 4]
call fcn.00416fa0
inc eax
inc eax
push eax
call fcn.004127c0
mov esi, eax
cmp esi, ebx
pop ecx
pop ecx
je 0x41d8e2
push dword [ebp - 4]
push esi
call fcn.0041ab80
mov eax, esi
sub eax, dword [ebp - 4]
pop ecx
add eax, dword [ebp - 0xc]
pop ecx
mov ecx, dword [ebp - 8]
mov byte [eax], bl
inc eax
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
test eax, eax
jne 0x41d8db
or dword [ebp - 0x10], 0xffffffff
push esi
call fcn.00411fbd
pop ecx
cmp dword [ebp - 8], ebx
je 0x41d8f0
push dword [ebp - 4]
call fcn.00411fbd
pop ecx
mov eax, dword [ebp - 0x10]
jmp 0x41d7af
push dword [ebp - 4]
call fcn.00411fbd
mov eax, dword [ebp + 8]
pop ecx
mov dword [eax], ebx
jmp 0x41d7b9
Function at 0x1004c340
Capabilities:
Encode data using xor

Disassembly:
call 0x1004c2b9
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 0x1004c2e9
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 0x1004c305
xor edx, 0
jmp 0x1004c310
xor edx, edx
jmp 0x1004c327
jmp 0x1004c333
xor eax, eax
push 0x8427d7c0
call 0x1004c340
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1004c37c
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 0x1004c355
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 0x1004c393
add eax, 0
jno 0x1004c398
add esi, 0
ret 0x10

Function at 0x1004d101
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 0x1004d123
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 0x1004d2c5
cmp edi, dword [ebp + 0x10]
jb 0x1004d2c5
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.1004cbed
inc edi
jmp 0x1004d1ac
jmp 0x1004d1b9
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004cbed
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1004cbed
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 0x1004d20d
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 0x1004d1f1
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1004d23b
add dword [eax], 0x39
jle 0x1004d217
sub al, 0xf5
mov ch, al
call fcn.1004d250
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10
Function at 0x1004ef28
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 0x1004ef3e
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 0x1004ef4f
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.1004ef90
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 0x100512fc
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 0x10051245
add ebx, 0
push ecx
call 0x1005125a
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, 0x7338d110
sub ebx, dword [0x733ac94f]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x733ac93f
call fcn.1004cd24
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1004c232
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x100513b8
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x100513b8
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 0x1005136f
mov eax, 1
lock xchg dword [0x733ac94b], eax
push 0x3dd1fc71
call 0x100512fc
push esi
add esp, 8
cmp eax, 0
jne 0x100512e5
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1005130b
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10051320
cmp ecx, edx
cmp eax, 0
je 0x10051345
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 0x1005132f
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005135e
dec eax
loope 0x10051361
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x733ac94b], 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 0x10051395
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x100513aa
jmp 0x100513b5
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x100512a3
Function at 0x1005841d
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 0x100586f3
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x733995c3
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x73390589
push 0xffffffffffffffff
call fcn.1004f61d
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 0x10058487
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1005849f
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 0x100586e7
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x100586bb
Function at 0x10067eed
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 0x10067f0f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10067f0f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10067f0f
ret
cmp word [ebx + 4], 0x14c
jne 0x10067f0f
test word [ebx + 0x16], 2
je 0x10067f0f
test word [ebx + 0x16], 0x100
je 0x10067f0f
cmp word [ebx + 0x18], 0x10b
jne 0x10067f0f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10067f0f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10067f9b
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10067f2f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ee7a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10067f0f
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 0x10067f9b
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 0x10067f0f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10067f0f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10067f0f
ret
cmp word [ebx + 4], 0x14c
jne 0x10067f0f
test word [ebx + 0x16], 2
je 0x10067f0f
test word [ebx + 0x16], 0x100
je 0x10067f0f
cmp word [ebx + 0x18], 0x10b
jne 0x10067f0f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10067f0f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x10067f9b
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10067f2f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1004ee7a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10067f0f
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 0x10068052
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100680ab
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10068052
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10068061
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 0x1046dd04
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 0x100680b2
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.1004ef28
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10068151
add edi, 4
add eax, 2
dec ecx
jne 0x10068097
call 0x100680fe
loope 0x100680f4
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006814e
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 0x1006815f
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 0x10068112
cmp eax, ecx
ja 0x10068112
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006819c
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10068192
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1004f407
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10068061
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100680ab
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10068052
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10068061
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 0x1046dd04
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 0x100680b2
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.1004ef28
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10068151
add edi, 4
add eax, 2
dec ecx
jne 0x10068097
call 0x100680fe
loope 0x100680f4
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006814e
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 0x1006815f
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 0x10068112
cmp eax, ecx
ja 0x10068112
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006819c
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x10068192
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1004f407
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]