joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021a26
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060c80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10021a63
push 1
push 0x69da
call fcn.10021ba5
pop ecx
pop ecx
jmp 0x10021b94
lea eax, [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax]
test eax, eax
je 0x10021b8a
mov dword [ebp - 0x24], 0x585c
mov dword [ebp - 0x30], str.mhgwqhajt_kxya_vyrgk_ntiws_rvgxxhohf_jrazbnmr_gxgzhhi_ony_ugquqphfg
cmp dword [ebp - 0x24], 0x5a65
jle 0x10021b3d
and dword [ebp - 0x14], 0
jmp 0x10021a9f
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x5c65
jge 0x10021b37
and dword [ebp - 0x18], 0
jmp 0x10021ab9
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x56a4
jge 0x10021b32
and dword [ebp - 0x1c], 0
jmp 0x10021acf
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xf7d
jge 0x10021b30
and dword [ebp - 0x20], 0
jmp 0x10021ae5
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x11e2
jge 0x10021b2e
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x18]
and eax, dword [ebp - 0x1c]
xor eax, dword [ebp - 0x20]
cdq
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
push dword [ebp - 0x34]
push dword [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.10004d43
pop ecx
pop ecx
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
call fcn.10002db1
push eax
call fcn.10047823
pop ecx
lea ecx, [ebp - 0x50]
call fcn.10002da7
jmp 0x10021ade
jmp 0x10021ac8
jmp 0x10021ab2
jmp 0x10021a98
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
push 0
push 0x1dd1
push 0
call dword [sym.imp.GDI32.dll_GetObjectW]
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0x57d1
jge 0x10021b62
push dword [ebp - 0x30]
call fcn.10047823
pop ecx
jmp 0x10021b7e
or dword [ebp - 4], 0xffffffff
jmp 0x10021b88
jmp 0x10021b94
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100237bb
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10060cf0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100238f2
mov dword [ebp - 0x24], 0xff2
mov dword [ebp - 0x28], str.isgr_ukznjrket_bqsfpjh_pzkjr_ynnb_arz_hkxuy
cmp dword [ebp - 0x24], 0x1260
jle 0x10023874
and dword [ebp - 0x18], 0
jmp 0x1002380d
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x80a
jge 0x1002386a
and dword [ebp - 0x1c], 0
jmp 0x10023823
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x1c2
jge 0x10023868
and dword [ebp - 0x20], 0
jmp 0x10023839
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x14a0
jge 0x10023866
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
sar eax, cl
cdq
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
mov ecx, 0x1007fc58
call fcn.10002dd1
jmp 0x10023832
jmp 0x1002381c
jmp 0x10023806
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
lea eax, [ebp + 0xc]
mov dword [ebp - 0x2c], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0xe2d
jge 0x10023894
mov edx, dword [ebp - 0x28]
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x100238b0
or dword [ebp - 4], 0xffffffff
jmp 0x100238ba
mov eax, dword [ebp - 0x2c]
movzx eax, byte [eax]
test eax, eax
je 0x100238d5
push 0xb19
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x100238f0
mov byte [ebp - 0x11], 0
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100238f0
push 0xb19
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1002390e
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
push 0
push dword [ebp - 0x30]
push dword [ebp - 0x34]
call fcn.10021df0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100396f5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100614c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push esi
push edi
push ecx
mov edx, 0x415b
lea ecx, [esp + 0x40]
call fcn.1003bca9
pop ecx
xor edi, edi
lea ecx, [esp + 0x6c]
push eax
mov dword [esp + 0x98], edi
call fcn.1003a696
xor esi, esi
mov byte [esp + 0x94], 2
push edi
inc esi
lea ecx, [esp + 0x40]
push esi
call fcn.10011e0e
lea eax, [esp + 0x6c]
push eax
push ecx
call fcn.100392bb
pop ecx
mov edx, 0x4073
lea ecx, [esp + 0x28]
call fcn.1003bca9
mov edx, 0x4074
mov byte [esp + 0x98], 3
lea ecx, [esp + 0x40]
call fcn.1003bca9
pop ecx
mov edx, eax
mov byte [esp + 0x94], 4
lea ecx, [esp + 0x18]
call fcn.100376e1
push edi
push esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x9c], 6
call fcn.10011e0e
push ecx
mov edx, 0x4075
lea ecx, [esp + 0x58]
call fcn.1003bca9
pop ecx
mov edx, eax
mov byte [esp + 0x94], 7
lea ecx, [esp + 0xc]
call fcn.100376e1
push edi
push esi
lea ecx, [esp + 0x5c]
mov byte [esp + 0x9c], 9
call fcn.10011e0e
push esi
lea eax, [esp + 0x28]
push eax
push 0x7048
push 0x60d2
push ecx
push 0x4e53
lea eax, [esp + 0x30]
push eax
push 0x7260
push ecx
lea eax, [esp + 0x30]
push eax
call fcn.1003962f
add esp, 0x28
lea ecx, [esp + 0xc]
call fcn.10039fa9
lea ecx, [esp + 0x18]
call fcn.10039fa9
push edi
push esi
lea ecx, [esp + 0x2c]
call fcn.10011e0e
or dword [esp + 0x94], 0xffffffff
lea ecx, [esp + 0x6c]
call fcn.1003bbb7
mov ecx, dword [esp + 0x8c]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1003c881
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
test dl, dl
je 0x1003c8cf
cmp byte [ebp + 0x10], 0
je 0x1003c8b6
mov eax, dword [ebp + 0xc]
lea esi, [ebp - 1]
mov ecx, dword [ebp + 0x20]
push esi
mov byte [ebp - 1], 0
mov edx, dword [eax]
mov eax, dword [ecx]
push edx
push eax
mov dword [ecx + 4], eax
lea eax, [ebp - 8]
push eax
call fcn.1003f0bd
jmp 0x1003c93d
mov eax, dword [ebp + 8]
cmp byte [eax], 0
je 0x1003c93d
push 0xb19
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x1003c93d
cmp byte [ebp + 0x1c], 0
je 0x1003c91a
cmp byte [ecx], 0
je 0x1003c93d
push 0x6f54
push 0x5e26
push 0x5f6b
push 0x6061
push 0x672c
push 0x48cd
push 0xdfe
push 0
push 0x1811
push 0x795c
mov edx, 0x67bf
mov cl, 1
call fcn.1003c209
add esp, 0x28
jmp 0x1003c93d
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x1003c93d
mov esi, dword [ebp + 0x18]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xf1912530
inc dword [edx]
cmp dword [edx], 2
jl 0x1003c92b
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x1003c942
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x10061610
call fcn.1005fa90
sub esp, 0x14
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edi
je 0x1003ca0f
mov dword [ebp - 0x14], 0x5e6
cmp dword [ebp - 0x14], 0x77c
jle 0x1003c9ae
xor esi, esi
xor edi, edi
xor ebx, ebx
mov eax, ebx
mov ecx, 0x1007fc58
xor eax, edi
or eax, esi
cdq
push edx
push eax
call fcn.10002dd1
inc ebx
cmp ebx, 0x7c3
jl 0x1003c97d
inc edi
cmp edi, 0x7161
jl 0x1003c97b
inc esi
cmp esi, 0x7610
jl 0x1003c979
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov eax, dword [ebp + 0x14]
cmp ecx, dword [eax]
je 0x1003c9d4
sub esp, 0x18
push edx
push ecx
push ecx
push 0x3dce
push ecx
push ecx
push 8
xor dl, dl
pop ecx
call fcn.1003c448
add esp, 0x30
and dword [ebp - 4], 0
cmp dword [ebp - 0x14], 0x265
jge 0x1003c9f0
mov edx, str.tck_yixeoo_dqdwcmlyq_zbpif_khdhqcvi_enwwszznu_amepr_bzmq_qokdqpb_iona_vwcmrtowg_bpnn_yvprujud_nimguaqph
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x1003caa4
mov dword [ebp - 0x14], 0x7265
cmp dword [ebp - 0x14], 0x75fe
jle 0x1003ca49
xor esi, esi
xor ebx, ebx
mov eax, esi
mov ecx, 0x1007fc58
cdq
idiv ebx
mov eax, edx
cdq
push edx
push eax
call fcn.10002dd1
inc ebx
cmp ebx, 0x3dac
jl 0x1003ca23
inc esi
cmp esi, 0x75f
jl 0x1003ca21
mov dword [ebp - 4], 2
cmp dword [ebp - 0x14], 0x722d
jge 0x1003ca87
mov edx, str.zdozylbgj_cfc_fwsla_xtyjqt_gfwuhiel_bawg_bblcbzd
mov ecx, 0x1007fc58
call fcn.10004788
jmp 0x1003ca87
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
jmp 0x1003ca9f
mov ecx, dword [edx]
mov eax, dword [edi]
mov dword [eax + ecx*4], 0x5bb08661
inc dword [edx]
cmp dword [edx], 4
jl 0x1003ca92
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100407bb
Capabilities:
Identify system language via api

Disassembly:
mov eax, 0x1006181d
call fcn.1005fa90
sub esp, 0x10
mov byte [ebp - 0x14], cl
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
test cl, cl
je 0x10040870
mov dword [ebp - 0x18], 0x3d3d
cmp dword [ebp - 0x18], 0x3df2
jle 0x10040815
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
xor esi, esi
xor edi, edi
mov ebx, 0x496c
mov eax, edi
mov ecx, 0x1007fc58
cdq
push edx
push eax
call fcn.10002dd1
add edi, esi
dec ebx
jne 0x100407f8
inc esi
cmp esi, 0x59e8
jl 0x100407f1
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x3be2
jge 0x10040831
mov edx, str.dznbfpr_rcwbbizc_dwgrrh
mov ecx, 0x1007fc58
call fcn.10004788
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 2
jge 0x10040882
mov esi, dword [ebp + 0x14]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xf9c28ade
inc dword [edx]
cmp dword [edx], 2
jl 0x10040842
jmp 0x10040882
cmp byte [edx], 0
je 0x10040882
push 0
push 0x833
call dword [sym.imp.USER32.dll_TranslateMDISysAccel]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100415a3
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
push ebx
push esi
xor esi, esi
mov dword [ecx + 4], edx
push edi
inc esi
lea edi, [ecx + 8]
mov ebx, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, esi
inc esi
mov dword [edi], edx
lea edi, [edi + 4]
cmp esi, ebx
jl 0x100415ba
pop edi
pop esi
mov dword [ecx], ebx
pop ebx
pop ebp
ret 8

Function at 0x100415dc
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov edx, 0x101444e4
push edi
mov esi, edx
mov edi, 0x7fffffff
mov ecx, dword [esi + 0x9c4]
xor ecx, dword [esi + 0x9c0]
and ecx, edi
xor ecx, dword [esi + 0x9c0]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0xff4]
xor eax, ecx
mov dword [esi], eax
add esi, 4
cmp esi, 0x10144870
jl 0x100415ea
mov esi, 0x9908b0df
mov ecx, dword [edx + 0xd50]
xor ecx, dword [edx + 0xd4c]
and ecx, edi
xor ecx, dword [edx + 0xd4c]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, esi
xor eax, ecx
xor eax, dword [edx]
mov dword [edx + 0x38c], eax
add edx, 4
cmp edx, 0x10144b14
jl 0x1004162a
mov ecx, dword [0x10145860]
xor ecx, dword [0x101444e4]
and ecx, edi
xor ecx, dword [0x10145860]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
pop edi
sbb eax, eax
and dword [0x101444e0], 0
and eax, esi
shr ecx, 1
xor eax, ecx
xor eax, dword [0x10144b14]
mov dword [0x10144ea0], eax
pop esi
ret
Function at 0x508b30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc6000]
push edi
jmp 0x508b4a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x508b51
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508b40
mov eax, 1
add ebx, ebx
jne 0x508b63
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x508b74
jne 0x508b93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508b93
dec eax
add ebx, ebx
jne 0x508b80
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x508b58
add ebx, ebx
jne 0x508b8f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x508be5
xor ecx, ecx
sub eax, 3
jb 0x508bab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x508c1a
sar eax, 1
mov ebp, eax
jmp 0x508bb6
add ebx, ebx
jne 0x508bb6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508b84
inc ecx
add ebx, ebx
jne 0x508bc4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x508b84
add ebx, ebx
jne 0x508bd1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x508bc6
jne 0x508be2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x508bc6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x508c04
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x508bf6
jmp 0x508b46
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x508c04
add edi, ecx
jmp 0x508b46
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x508c22
cmp byte [edi], 0x11
jne 0x508c22
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x508c27
lea edi, [esi + 0x104000]
mov eax, dword [edi]
or eax, eax
je 0x508c9f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x160d30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x160e84]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x508c54
mov ecx, edi
jns 0x508c83
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x160e88]
or eax, eax
je 0x508c99
mov dword [ebx], eax
add ebx, 4
jmp 0x508c71
call dword [esi + 0x160e98]
mov ebp, dword [esi + 0x160e8c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x508cd3
sub esp, 0xffffff80
jmp 0x416310
Function at 0x10160473
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x101f6de4], 0
mov byte [0x101f6de8], 0
mov dword [0x101f6ddc], 0xdd8
mov dword [0x101f6dd8], 0x1867
mov dword [0x101f6de0], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x101f6de0]
add eax, 1
mov dword [0x101f6de0], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x101604c2
xor eax, eax
mov ecx, 0x1c52
mov dword [0x101f6dd8], 0x1c52
mov dword [0x101f6de0], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0x100
add eax, 0xfffff22e
mov dword [0x101f6dec], 0
mov dword [ebp - 0x28], eax
mov eax, ecx
xor esi, esi
mov dword [ebp - 0x2c], edx
mov edx, esi
mov esi, dword [ebp - 0x10]
div esi
mov edi, dword [0x101f6de4]
mov ebx, dword [ebp - 0x18]
movzx esi, byte [ebx + ecx]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x101f6dec], esi
mov edx, dword [ebp - 0x28]
mov dword [0x101f6dd8], edx
mov eax, esi
cdq
mov esi, dword [ebp - 0x2c]
idiv esi
mov dword [0x101f6de4], edx
mov bl, byte [ebx + ecx]
mov byte [0x101f6de8], bl
mov dword [0x101f6dd8], 0x1300
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x101f6de8]
mov ecx, dword [0x101f6de4]
mov byte [esi + ecx], bl
mov ecx, dword [0x101f6ddc]
mov edx, ecx
add edx, 0xfffff3f9
mov dword [0x101f6dd8], edx
mov esi, dword [0x101f6de0]
add esi, 1
mov dword [0x101f6de0], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], edx
jl 0x10160509
mov eax, dword [ebp - 0x30]
add eax, 0xffffef7b
mov dword [0x101f6dd8], eax
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10160e38
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x101f6ddc], 0xbaf
mov dword [0x101f6dd8], 0x77a
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
jmp 0x10160ea8
lea eax, [ebp - 0x20]
mov dword [0x101f6ddc], 0x8c2
mov dword [0x101f6dd8], 0x2310
mov dword [ebp - 0x30], eax
call fcn.1016097d
mov dword [esp], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
call fcn.10160201
xor ecx, ecx
cmp eax, 0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], ecx
je 0x10160f83
jmp 0x10160ed4
mov eax, dword [ebp - 0x2c]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x101eb7a0]
mov dh, byte [eax + 0x101eb771]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x2c], ecx
je 0x10160e65
jmp 0x10160ea8
mov eax, dword [ebp - 0x34]
mov ecx, esp
mov dword [ecx + 0xc], 0x40
mov dword [ecx + 8], 0x1000
mov dword [ecx + 4], 0x6000
mov dword [ecx], 0
call eax
sub esp, 0x10
mov ecx, dword [0x101f6dd8]
add ecx, 0xffffee8b
mov dword [0x101f6dd8], ecx
mov dword [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10160828
xor eax, eax
mov ecx, dword [ebp - 0x3c]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x101f6ddc], 0x322
mov dword [ecx + 0xd0], 0x4550
mov dword [0x101f6dd8], 0xfb1
add ecx, 0xffc00000
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edx + 0x24], ecx
cmp ecx, 0
mov dword [ebp - 0x38], eax
je 0x10160f83
mov eax, dword [0x101f6ddc]
mov ecx, dword [ebp - 0x3c]
add ecx, 0x231e
add eax, 0xfffff237
mov dword [0x101f6dd8], eax
mov dword [ebp - 0x38], ecx
mov eax, dword [ebp - 0x38]
add esp, 0x4c
pop ebp
ret
Function at 0x10161017
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.10161461
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov esi, dword [eax + esi + 0x78]
mov dword [0x101f6dd8], 0xda3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x101f6ddc], 0xffffecc6
mov eax, dword [eax + esi + 0x18]
cmp eax, 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x24], ecx
je 0x10161154
jmp 0x101610b4
xor eax, eax
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov edx, dword [ebp - 0x2c]
add edx, 2
mov esi, dword [ebp - 0x18]
cmp ecx, esi
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x24], eax
jae 0x10161154
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x34]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x101610c8
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
jmp 0x10161098
mov eax, dword [ebp - 0x3c]
mov ecx, eax
mov edx, dword [ebp - 0x38]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], bh
mov byte [ebp - 0x42], cl
je 0x10161119
mov eax, dword [ebp - 0x40]
add eax, 1
mov cl, byte [ebp - 0x41]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x42]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x3c], eax
jne 0x101610c8
mov al, byte [ebp - 0x42]
test al, 1
jne 0x10161125
jmp 0x10161070
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov ecx, dword [edx + ecx*4]
mov dword [0x101f6dd8], 0x47ea
mov edx, dword [ebp - 0x1c]
add edx, ecx
mov dword [0x101f6ddc], 0x114b
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1016115f
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x101f6ddc]
add eax, 0xfffffd5c
mov dword [0x101f6ddc], eax
mov dword [ebp - 4], 0
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
xor ecx, ecx
mov dword [0x101f6dd8], 0x2650
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x10]
mov edx, dword [edx + 0x3c]
mov dword [0x101f6ddc], 0x129
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
cmp word [ecx + eax*2], 0
mov edx, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
je 0x10161227
jmp 0x10161210
mov eax, 0x199d
mov dword [0x101f6dd8], 0x388
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x18], 0x6f
mov dword [ebp - 0x20], eax
je 0x10161251
jmp 0x101612cd
mov eax, 0xfffff9e7
mov dword [0x101f6dd8], 0xffffe3d2
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x14], 0x64
mov dword [ebp - 0x20], eax
je 0x1016126a
jmp 0x101612cd
mov eax, dword [ebp - 0x14]
add eax, 1
cmp eax, 0x104
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
jl 0x101611ac
mov eax, dword [ebp - 0x18]
mov ecx, 0x35f0
mov dword [0x101f6dd8], 0x1fdb
mov edx, dword [ebp - 0xc]
cmp word [edx + eax*2 - 0x1a], 0x6c
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], ecx
je 0x101611c4
jmp 0x101612cd
mov eax, 0x199d
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x16], 0x61
mov dword [ebp - 0x20], eax
je 0x101611ea
jmp 0x101612cd
mov eax, 0x29da
mov dword [0x101f6dd8], 0x13c5
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x12], 0x64
mov dword [ebp - 0x20], eax
jne 0x101612cd
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0x10], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101612cd
mov eax, 0x29da
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
cmp word [ecx + edx*2 - 0xe], 0x6c
mov dword [ebp - 0x20], eax
jne 0x101612cd
mov eax, 1
mov dword [0x101f6ddc], 0xfa2
mov dword [ebp - 0x24], eax
jmp 0x101612da
mov eax, dword [ebp - 0x20]
xor ecx, ecx
mov dword [0x101f6dd8], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp - 0x24]
add esp, 0x24
pop ebp
ret