joyce8/EMBER2024-capa huggingface dataset:
Function at 0x686c28
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov ebx, eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax]
dec al
je 0x686c59
dec al
je 0x686c94
dec al
je 0x686cd9
dec al
je 0x686d42
jmp 0x686dcc
mov esi, dword [ebx + 0x24]
inc esi
mov edi, dword [ebx + 0x20]
sub edi, esi
jb 0x686dcc
inc edi
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx edx, byte [ecx + edx]
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x686c69
jmp 0x686dcc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x686dcc
mov esi, 1
movzx eax, byte [ebx + 0x48]
mov edx, eax
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
add dl, byte [eax + esi]
and dl, 0xff
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
mov byte [eax + esi], dl
inc esi
dec edi
jne 0x686ca4
jmp 0x686dcc
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x686dcc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov ecx, esi
dec ecx
mov edx, dword [ebx + 0x24]
cmp ecx, edx
jae 0x686d08
xor ebp, ebp
jmp 0x686d18
mov ecx, esi
sub ecx, edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx ebp, byte [edx + ecx]
add eax, ebp
sar eax, 1
jns 0x686d21
adc eax, 0
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
add al, byte [edx + esi]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x686ce9
jmp 0x686dcc
xor ebp, ebp
xor eax, eax
mov dword [esp + 4], eax
mov edi, dword [ebx + 0x20]
test edi, edi
jbe 0x686dcc
mov esi, 1
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
movzx eax, byte [eax + esi]
mov edx, esi
dec edx
cmp edx, dword [ebx + 0x24]
jb 0x686d9b
mov edx, esi
sub edx, dword [ebx + 0x24]
movzx ecx, byte [ebx + 0x48]
mov ecx, dword [ebx + ecx*4 + 0x40]
movzx ebp, byte [ecx + edx]
movzx edx, byte [ebx + 0x48]
xor dl, 1
and edx, 0x7f
mov edx, dword [ebx + edx*4 + 0x40]
mov ecx, esi
sub ecx, dword [ebx + 0x24]
movzx edx, byte [edx + ecx]
mov dword [esp + 4], edx
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
movzx edx, byte [edx + esi]
mov dword [esp], edx
movzx ecx, byte [esp + 4]
push eax
mov eax, ebp
pop edx
call fcn.00683fd4
add al, byte [esp]
and al, 0xff
movzx edx, byte [ebx + 0x48]
mov edx, dword [ebx + edx*4 + 0x40]
mov byte [edx + esi], al
inc esi
dec edi
jne 0x686d56
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x690870
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x68f520
call fcn.00607a88
xor eax, eax
push ebp
push 0x6909e2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x697648]
mov eax, dword [eax]
call fcn.00680a00
mov eax, dword [0x697648]
mov eax, dword [eax]
xor edx, edx
call fcn.00682558
mov eax, dword [0x697648]
mov eax, dword [eax]
mov edx, 0x6909fc
call fcn.00680490
push 0
push 0x23
push 0x69d5c4
push 0
call sub.shell32.dll_SHGetSpecialFolderPathW
test eax, eax
jne 0x6908e5
push 0
mov ecx, 0x690a3c
mov edx, 0x690a48
mov eax, dword [0x697648]
mov eax, dword [eax]
call fcn.00680da4
mov eax, 0x69d7cc
mov edx, 0x69d5c4
mov ecx, 0x100
call fcn.00605cdc
mov eax, 0x69d7cc
mov edx, 0x690aa4
call fcn.00605e30
push 0x690ac8
push 0xa
mov ecx, dword [0x69ab1c]
mov dl, 1
mov eax, dword [0x61863c]
call fcn.0061d7d4
mov dword [0x69d7c4], eax
xor eax, eax
push ebp
push 0x6909a9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [0x69d7cc]
mov dl, 1
mov eax, dword [0x618498]
call fcn.0061d3e4
mov dword [0x69d7c8], eax
xor eax, eax
push ebp
push 0x69098a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
mov edx, dword [0x69d7c4]
mov eax, dword [0x69d7c8]
call fcn.0061d1cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x690991
mov eax, dword [0x69d7c8]
call fcn.00604104
ret
Function at 0x4ba599
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4c2430
cmp edx, dword [eax]
je 0x4ba5bb
add eax, 8
inc ecx
cmp eax, 0x4c24c0
jl 0x4ba5ac
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4c2430]
jne 0x4ba6e9
mov eax, dword [0x4c6e14]
cmp eax, 1
je 0x4ba6c3
test eax, eax
jne 0x4ba5ec
cmp dword [0x4c235c], 1
je 0x4ba6c3
cmp edx, 0xfc
je 0x4ba6e9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4ba623
lea eax, [ebp - 0x1a4]
push 0x4bf9c0
push eax
call fcn.004baf80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004bb410
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4ba666
lea eax, [ebp - 0x1a4]
push eax
call fcn.004bb410
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4bf9bc
push edi
call fcn.004bd2e0
add esp, 0x10
lea eax, [ebp - 0xa0]
push 0x4bf9a0
push eax
call fcn.004baf80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004baf90
lea eax, [ebp - 0xa0]
push 0x4bf99c
push eax
call fcn.004baf90
push dword [esi + 0x4c2434]
lea eax, [ebp - 0xa0]
push eax
call fcn.004baf90
push 0x12010
lea eax, [ebp - 0xa0]
push 0x4bf974
push eax
call fcn.004bd254
add esp, 0x2c
pop edi
jmp 0x4ba6e9
lea eax, [ebp + 8]
lea esi, [esi + 0x4c2434]
push 0
push eax
push dword [esi]
call fcn.004bb410
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x40180f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x40181e
pop dword [ebp - 0x50]
mov eax, 0x40181e
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x2bfeb838
add dword [ebp - 0x60], 0x22538d13
mov dword [ebp - 0x5c], 0xf20de61f
sub dword [ebp - 0x5c], 0xbfda99da
mov dword [ebp - 0x58], 0xcceabc14
sub dword [ebp - 0x58], 0x809e77e6
mov dword [ebp - 0x54], 0x963e8dbd
add dword [ebp - 0x54], 0x69c17243
lea eax, [ebp - 0x60]
push eax
mov eax, 0x4d3216bf
sub eax, 0x4cf14673
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0x32b118b3
add dword [ebp - 0x60], 0x41c150a3
mov dword [ebp - 0x5c], 0x539f808c
sub dword [ebp - 0x5c], 0x12331f17
mov dword [ebp - 0x58], 0x7617e9a5
sub dword [ebp - 0x58], 0x12a87d39
mov dword [ebp - 0x54], 0x3f4fe610
sub dword [ebp - 0x54], 0x3f4fe610
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0x525066f3
sub eax, 0x520f96ab
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x37f79
push 0
call eax
mov ecx, 0x4156
mov ebx, eax
mov edi, 0xc125678c
sub edi, 0xc0e3b78c
add edi, dword [ebp - 0x50]
mov edx, 0x1fdff945
add edx, 0xba0dc1b9
add dword [ebp - 0x4c], esi
mov esi, dword [edi]
xor dword [ebp - 0x44], esi
add esi, edx
sub dword [ebp - 0xc], edi
mov dword [ebx], esi
sub dword [ebp - 8], esi
add ebx, 0x2e693dbe
add ebx, 0xd196c246
add edi, 4
loop 0x401935
add eax, 0x93aaf2a1
sub eax, 0x93a9fa76
mov ebx, eax
add eax, 0x45858628
sub eax, 0x45858623
mov ecx, 0x400000
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d
Function at 0x1061c058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1061c1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1061c07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1061c06a
add dl, dl
jne 0x1061c089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1061c0dc
xor eax, eax
add dl, dl
jne 0x1061c096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1061c17d
add dl, dl
jne 0x1061c0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1061c0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1061c0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1061c0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1061c0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1061c075
mov eax, 1
add dl, dl
jne 0x1061c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1061c0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1061c0e1
sub eax, ebx
mov ebx, 1
jne 0x1061c128
mov ecx, 1
add dl, dl
jne 0x1061c10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1061c119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1061c105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1061c075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1061c13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1061c14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1061c136
cmp eax, 0x7d00
jae 0x1061c16d
cmp eax, 0x500
jb 0x1061c168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1061c075
cmp eax, 0x7f
ja 0x1061c170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1061c075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1061c19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1061c075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x10007800
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x10007816
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x10007831
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

Function at 0x1000d4a3
Capabilities:
Encode data using xor

Disassembly:
call 0x1000d41c
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 0x1000d44c
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 0x1000d468
xor edx, 0
jmp 0x1000d473
xor edx, edx
jmp 0x1000d48a
jmp 0x1000d496
xor eax, eax
push 0x8427d7c0
call 0x1000d4a3
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x1000d4df
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 0x1000d4b8
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 0x1000d4f6
add eax, 0
jno 0x1000d4fb
add esi, 0
ret 0x10
Function at 0x1000e264
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 0x1000e286
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 0x1000e428
cmp edi, dword [ebp + 0x10]
jb 0x1000e428
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.1000dd50
inc edi
jmp 0x1000e30f
jmp 0x1000e31c
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000dd50
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.1000dd50
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 0x1000e370
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 0x1000e354
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1000e39e
add dword [eax], 0x39
jle 0x1000e37a
sub al, 0xf5
mov ch, al
call fcn.1000e3b3
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x1001008b
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 0x100100a1
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 0x100100b2
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.100100f3
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 0x1001245f
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 0x100123a8
add ebx, 0
push ecx
call 0x100123bd
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, 0x6bf263ec
sub ebx, dword [0x6bf45c2b]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6bf45c1b
call fcn.1000de87
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.1000d395
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x1001251b
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x1001251b
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 0x100124d2
mov eax, 1
lock xchg dword [0x6bf45c27], eax
push 0x3dd1fc71
call 0x1001245f
push esi
add esp, 8
cmp eax, 0
jne 0x10012448
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x1001246e
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10012483
cmp ecx, edx
cmp eax, 0
je 0x100124a8
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 0x10012492
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.100124c1
dec eax
loope 0x100124c4
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6bf45c27], 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 0x100124f8
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1001250d
jmp 0x10012518
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10012406
Function at 0x10019580
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 0x10019856
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6bf3289f
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6bf29865
push 0xffffffffffffffff
call fcn.10010780
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 0x100195ea
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.10019602
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 0x1001984a
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1001981e
Function at 0x10029050
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 0x10029072
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10029072
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10029072
ret
cmp word [ebx + 4], 0x14c
jne 0x10029072
test word [ebx + 0x16], 2
je 0x10029072
test word [ebx + 0x16], 0x100
je 0x10029072
cmp word [ebx + 0x18], 0x10b
jne 0x10029072
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10029072
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100290fe
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10029092
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ffdd
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10029072
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 0x100290fe
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 0x10029072
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x10029072
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x10029072
ret
cmp word [ebx + 4], 0x14c
jne 0x10029072
test word [ebx + 0x16], 2
je 0x10029072
test word [ebx + 0x16], 0x100
je 0x10029072
cmp word [ebx + 0x18], 0x10b
jne 0x10029072
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x10029072
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x100290fe
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x10029092
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.1000ffdd
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x10029072
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 0x100291b5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002920e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100291b5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100291c4
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 0x1042ee67
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 0x10029215
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.1001008b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100292b4
add edi, 4
add eax, 2
dec ecx
jne 0x100291fa
call 0x10029261
loope 0x10029257
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100292b1
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 0x100292c2
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 0x10029275
cmp eax, ecx
ja 0x10029275
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100292ff
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100292f5
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001056a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x100291c4
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1002920e
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x100291b5
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x100291c4
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 0x1042ee67
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 0x10029215
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.1001008b
cmp eax, dword [ebp + 0xc]
pop eax
je 0x100292b4
add edi, 4
add eax, 2
dec ecx
jne 0x100291fa
call 0x10029261
loope 0x10029257
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x100292b1
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 0x100292c2
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 0x10029275
cmp eax, ecx
ja 0x10029275
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100292ff
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100292f5
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.1001056a
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]