joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a0aa
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x480
mov eax, dword [0x100eb54]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x474]
push eax
push 0x1002840
push 0x80000001
mov dword [ebp - 0x478], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x100a1f0
push edi
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x480]
push eax
push 0
mov edi, 0x1002820
push edi
push dword [ebp - 0x474]
mov dword [ebp - 0x47c], 0x200
mov dword [ebp - 0x480], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a1e3
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
cmp esi, 0x10
pop ecx
mov dword [ebp - 0x478], eax
jb 0x100a1e3
cmp esi, 0x48
ja 0x100a1e3
mov esi, dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0
lea eax, [ebp - 0x470]
push eax
push 0x6c
push 0x2d
mov dword [ebp - 0x470], 0x6c
call esi
mov ecx, dword [ebp + 8]
lea eax, [ecx + 0x2b]
push ecx
mov dword [ebp - 0x46c], eax
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x404]
push 0x100242c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x404]
push eax
push 1
push 0
push edi
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 2
lea eax, [ebp - 0x470]
push eax
push 0x6c
push 0x2e
call esi
push 0
push 0x2e
push 0x1a
push pe_overlay
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [ebp - 0x474]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x478]
pop esi
call fcn.0100bd6d
leave
ret 4

Function at 0x100a208
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x100eb54]
push edi
mov dword [ebp - 4], eax
lea eax, [ebp - 0x58]
push eax
push 0xf003f
xor edi, edi
push edi
push 0x1002898
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100a2bf
push esi
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x54]
push eax
push edi
push edi
mov esi, 0x1002888
push esi
push dword [ebp - 0x58]
mov dword [ebp - 0x5c], 0x28
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100a2b5
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.msvcrt.dll__wtol]
cmp dword [ebp + 8], edi
pop ecx
je 0x100a27b
test al, 1
jne 0x100a2b5
or eax, 1
jmp 0x100a282
test al, 1
je 0x100a2b5
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x2c]
push 0x100242c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x2c]
add esp, 0xc
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x2c]
push eax
push 1
push edi
push esi
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x58]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
pop edi
call fcn.0100bd6d
leave
ret 4
Function at 0x4035ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x4035fc
pop dword [ebp - 0x50]
mov eax, 0xca8d1678
sub eax, 0xca4ce07c
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x88198f07
add dword [ebp - 0x60], 0xc638b644
mov dword [ebp - 0x5c], 0x50ddd3dc
sub dword [ebp - 0x5c], 0x1eaa8797
mov dword [ebp - 0x58], 0x491e12b1
sub dword [ebp - 0x58], 0xfcd1ce83
mov dword [ebp - 0x54], 0x8881f530
sub dword [ebp - 0x54], 0x8881f530
lea eax, [ebp - 0x60]
push eax
mov eax, 0x45324a6b
add eax, 0xbb0e25b1
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xf3a4b1b1
sub dword [ebp - 0x60], 0x7f32485b
mov dword [ebp - 0x5c], 0xf2b7a6b2
add dword [ebp - 0x5c], 0x4eb4bac3
mov dword [ebp - 0x58], 0xfd752757
sub dword [ebp - 0x58], 0x9a05baeb
mov dword [ebp - 0x54], 0x157f9428
add dword [ebp - 0x54], 0xea806bd8
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, 0xd799e65b
add eax, 0x28a689c5
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x37835
push 0
call eax
mov ecx, 0x474d
mov edx, eax
mov ebx, 0x66d94e12
add ebx, 0x996779ee
add ebx, dword [ebp - 0x50]
mov edi, 0x1b985947
add edi, 0x97999462
sub dword [ebp - 0x30], ecx
mov esi, dword [ebx]
add dword [ebp - 0x44], 0xf0772879
add esi, edi
mov dword [edx], esi
xor dword [ebp - 0x18], 0x3db33c89
add edx, 4
add ebx, 4
loop 0x403718
add eax, 0x11007
mov ebx, eax
add eax, 0x870525f4
add eax, 0x78fada11
mov ecx, 0x22706adf
add ecx, 0xddcf9521
add ecx, dword [ebp - 0x50]
call ebx
leave
ret

Function at 0x4045aa
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4068f8
call fcn.0040545b
cmp dword [0x40a010], 0
mov esi, dword [ebp + 8]
jne 0x4045c9
mov al, 1
jmp 0x404692
test esi, esi
je 0x404690
xor ebx, ebx
cmp word [esi], bx
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x404690
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x404690
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.004035ed
pop ecx
pop ecx
mov esi, dword [0x40a010]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x404684
lea eax, [ebp - 0x28]
push eax
call fcn.004035ed
pop ecx
test al, al
jne 0x404684
cmp dword [ebp - 0x18], esi
jbe 0x404684
cmp dword [0x40a014], 8
lea eax, [ebp - 0x28]
mov ecx, section..data
cmovae ecx, dword [section..data]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x404684
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x404684
push 0x407628
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edx, edx
movzx ebx, bl
inc edx
test eax, eax
pop ecx
pop ecx
cmovne ebx, edx
lea ecx, [ebp - 0x28]
call fcn.00401780
mov al, bl
jmp 0x404692
xor al, al
call fcn.00405416
ret
Function at 0x401ac0
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]

Function at 0x401b20
Capabilities:
Allocate or change rwx memory

Disassembly:
push edi
push esi
push ebx
mov ebx, eax
sub esp, 0x30
mov esi, dword [0x40539c]
test esi, esi
jle 0x401c20
mov eax, dword [0x4053a0]
xor ecx, ecx
add eax, 0xc
mov edx, dword [eax]
cmp edx, ebx
ja 0x401b50
mov edi, dword [eax + 4]
add edx, dword [edi + 8]
cmp ebx, edx
jb 0x401bcf
add ecx, 1
add eax, 0x14
cmp ecx, esi
jne 0x401b40
mov dword [esp], ebx
call dbg.__mingw_GetSectionForAddress
mov edi, eax
test eax, eax
je 0x401c47
mov eax, dword [0x4053a0]
lea ebx, [esi + esi*4]
shl ebx, 2
add eax, ebx
mov dword [eax + 0x10], edi
mov dword [eax], 0
call dbg._GetPEImageBase
mov edx, dword [0x4053a0]
add eax, dword [edi + 0xc]
mov dword [edx + ebx + 0xc], eax
lea edx, [esp + 0x14]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
sub esp, 0xc
test eax, eax
je 0x401c27
mov eax, dword [esp + 0x28]
lea edx, [eax - 0x40]
and edx, 0xffffffbf
je 0x401bc8
sub eax, 4
and eax, 0xfffffffb
jne 0x401bd6
add dword [0x40539c], 1
add esp, 0x30
pop ebx
pop esi
pop edi
ret
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
add ebx, dword [0x4053a0]
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x40
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
sub esp, 0x10
test eax, eax
jne 0x401bc8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], str.__VirtualProtect_failed_with_code_0x_x
mov dword [esp + 4], eax
call dbg.__report_error
xor esi, esi
jmp 0x401b5a
mov eax, dword [0x4053a0]
mov eax, dword [eax + ebx + 0xc]
mov dword [esp + 8], eax
mov eax, dword [edi + 8]
mov dword [esp], str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov dword [esp + 4], eax
call dbg.__report_error
mov dword [esp + 4], ebx
mov dword [esp], str.Address__p_has_no_image_section
call dbg.__report_error
lea esi, [esi]
nop
Function at 0x402100
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x1c
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [0x4053b0]
sub esp, 4
test ebx, ebx
je 0x402155
mov ebp, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
lea esi, [esi]
mov eax, dword [ebx]
mov dword [esp], eax
call ebp
sub esp, 4
mov esi, eax
call edi
test eax, eax
jne 0x40214e
test esi, esi
je 0x40214e
mov eax, dword [ebx + 4]
mov dword [esp], esi
call eax
mov ebx, dword [ebx + 8]
test ebx, ebx
jne 0x402130
mov dword [esp], 0x4053b8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esp, 4
add esp, 0x1c
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x401ea2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410284]
jne 0x401eac
repz ret
jmp fcn.00403e53

Function at 0x402fc9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
pushal
call 0x402fd8
pop dword [ebp - 0x20]
mov eax, 0xc2c22993
sub eax, 0xc281f9bb
sub dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc955bc9a
add dword [ebp - 0x30], 0x84fc88b1
mov dword [ebp - 0x2c], 0x7b349dfe
add dword [ebp - 0x2c], 0xb6feae47
mov dword [ebp - 0x28], 0xa0408831
sub dword [ebp - 0x28], 0x53f44403
mov dword [ebp - 0x24], 0xfd1d6a66
add dword [ebp - 0x24], 0x2e2959a
lea eax, [ebp - 0x30]
push eax
mov eax, 0x5a719c85
sub eax, 0x5a30cc31
add eax, dword [ebp - 0x20]
call dword [eax]
mov dword [ebp - 0x30], 0x92e7f54f
sub dword [ebp - 0x30], 0x1e758bf9
mov dword [ebp - 0x2c], 0xeb2447ef
sub dword [ebp - 0x2c], 0xa9b7e67a
mov dword [ebp - 0x28], 0xab7fac1
add dword [ebp - 0x28], 0x58b771ab
mov dword [ebp - 0x24], 0x1d7afcc6
add dword [ebp - 0x24], 0xe285033a
lea ebx, [ebp - 0x30]
push ebx
push eax
mov eax, 0x53f1a326
add eax, 0xac4f2d26
add eax, dword [ebp - 0x20]
call dword [eax]
push 0x40
push 0x1000
push 0x38617
push 0
call eax
mov ecx, 0x4371
mov edx, eax
mov edi, 0x41b000
add edi, dword [ebp - 0x20]
mov esi, 0x278524f4
xor dword [ebp - 0x14], 0x30ac34d
mov ebx, dword [edi]
xor ebx, esi
sub dword [ebp - 0x10], edx
mov dword [edx], ebx
sub dword [ebp - 8], 0xb0f98a9c
add edx, 4
add edi, 4
loop 0x4030e8
add eax, 0x10097
xor ebx, ebx
add ebx, eax
add eax, 0x8d12f1dd
sub eax, 0x8d12f1d8
mov ecx, 0x400000
add ecx, dword [ebp - 0x20]
call ebx
leave
ret
Function at 0x10007428
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x28]
lea ecx, [esp + 0x38]
mov dword [0x1028ae50], 0x1e02
mov dword [esp], eax
mov dword [esp + 0x24], ecx
call fcn.10008763
mov dword [esp + 0x20], eax
lea eax, [0x10007575]
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], ecx
mov dword [0x1028ae50], 0x3f2
mov dword [esp + 0x74], 0x140c00
mov ecx, dword [0x1028ae3c]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x1028ae40]
mov dword [esp + 0x44], ecx
mov ecx, dword [0x1028ae44]
mov dword [esp + 0x60], ecx
mov ecx, dword [0x1028ae48]
mov dword [esp + 0x58], ecx
mov ecx, dword [0x1028ae4c]
mov dword [esp + 0x78], ecx
mov dword [0x1028ae54], 0xffffe050
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp word [eax], 0x5a4d
mov dword [esp + 0x18], eax
jne 0x100074d9
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0x14], ecx
je 0x100074ff
mov eax, dword [esp + 0x18]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x10], eax
mov dword [0x1028ae50], 0x18db
mov eax, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
jmp 0x100074b6
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], eax
mov dword [0x1028ae54], 0x983
mov dword [0x1028ae50], 0x297
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0xc], edx
lea eax, [esp + 0x38]
mov dword [esp], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 4], eax
call fcn.100085f3
mov dword [0x1028ae54], 0x8f1
mov ecx, esp
lea edx, [esp + 0x38]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1028ae54]
add ecx, 0xffffde88
mov dword [0x1028ae50], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10007c46
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x1028ae5c], 0
mov byte [0x1028ae60], 0
mov edi, dword [0x1028ae54]
add edi, 0xfffff865
mov dword [0x1028ae54], edi
mov dword [0x1028ae58], 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 dword [0x1028ae54], 0xca1
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1028ae58]
add eax, 1
mov dword [0x1028ae58], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007c93
xor eax, eax
mov ecx, dword [0x1028ae54]
mov edx, ecx
add edx, 0x155b
mov dword [0x1028ae50], edx
mov dword [0x1028ae58], 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, 0xfffffb22
mov dword [0x1028ae54], eax
mov eax, dword [0x1028ae5c]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + ecx]
add edi, eax
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x28], edx
mov edx, ebx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov eax, edi
cdq
mov edi, dword [ebp - 0x28]
idiv edi
mov dword [0x1028ae5c], edx
mov esi, dword [ebp - 0x18]
mov bl, byte [esi + ecx]
mov byte [0x1028ae60], bl
mov dword [0x1028ae54], 0xc06
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x1028ae60]
mov ecx, dword [0x1028ae5c]
mov byte [esi + ecx], bl
mov ecx, dword [0x1028ae50]
add ecx, 0x2167
mov dword [0x1028ae50], ecx
mov ecx, dword [0x1028ae58]
add ecx, 1
mov dword [0x1028ae58], ecx
mov edx, dword [0x1028ae54]
cmp ecx, 0x100
mov esi, edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x20], ecx
jl 0x10007ce9
mov eax, dword [ebp - 0x2c]
add eax, 0x459
mov dword [0x1028ae54], eax
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007dbf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [0x1028ae54], 0x1e81
mov dword [0x1028ae58], 0
mov dword [0x1028ae5c], 0
mov dword [0x1028ae64], 0
mov dword [0x1028ae50], 0x26dd
cmp eax, 0
sete bl
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov byte [ebp - 0x1d], bl
xor eax, eax
mov cl, byte [ebp - 0x1d]
test cl, 1
mov edx, eax
mov esi, eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
jne 0x10007f43
jmp 0x10007e51
mov eax, dword [0x1028ae58]
mov ecx, dword [0x1028ae5c]
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x28]
mov esi, 0x100
add ecx, 1
mov dword [ebp - 0x34], eax
mov eax, ecx
mov dword [ebp - 0x38], edx
cdq
idiv esi
mov dword [0x1028ae58], edx
mov dword [0x1028ae50], 0x4eb
mov ecx, dword [ebp - 0x1c]
movzx edi, byte [ecx + edx]
mov ebx, dword [ebp - 0x38]
add edi, ebx
mov eax, edi
mov dword [ebp - 0x3c], edx
cdq
idiv esi
mov dword [0x1028ae5c], edx
mov dword [0x1028ae54], 0xa9a
mov esi, dword [ebp - 0x3c]
mov cl, byte [ecx + esi]
mov byte [0x1028ae60], cl
mov dword [0x1028ae50], 0xffffe7ca
mov edi, dword [ebp - 0x1c]
mov cl, byte [edi + edx]
mov byte [edi + esi], cl
mov edx, dword [0x1028ae54]
add edx, 0xffffe4a8
mov dword [0x1028ae50], edx
mov cl, byte [0x1028ae60]
mov edx, dword [0x1028ae5c]
mov byte [edi + edx], cl
mov dword [0x1028ae54], 0x1f7a
mov edx, dword [0x1028ae58]
movzx edx, byte [edi + edx]
mov ebx, dword [0x1028ae5c]
movzx ebx, byte [edi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x1028ae64], ebx
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x34]
mov cl, byte [edx + ecx]
xor cl, byte [edi + ebx]
mov ebx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x34]
mov byte [ebx + edx], cl
mov dword [0x1028ae50], 0x1826
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x30], edx
jne 0x10007e3a
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100080b1
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov eax, dword [ebp + 8]
mov dword [0x1028ae50], 0x12db
mov dword [ebp - 0x10], eax
call fcn.10007f4b
xor ecx, ecx
mov edx, eax
mov dword [0x1028ae54], 0x983
mov esi, dword [eax + 0x3c]
mov dword [0x1028ae50], 0x297
mov esi, dword [eax + esi + 0x78]
mov dword [0x1028ae54], 0x1bf3
mov edi, edx
add edi, dword [eax + esi + 0x20]
mov dword [0x1028ae50], 0xfffffbb5
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 0x10008212
jmp 0x100081a3
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x2c]
xor edx, edx
mov esi, dword [ebp - 0x14]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x3c], edx
jmp 0x100081ba
xor eax, eax
mov ecx, dword [ebp - 0x34]
add ecx, 2
mov edx, dword [ebp - 0x30]
add edx, 1
mov esi, dword [ebp - 0x18]
cmp edx, esi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x24], eax
jb 0x10008128
jmp 0x10008212
mov al, byte [ebp - 0x3d]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x44]
add edx, 1
mov ah, byte [ebp - 0x45]
and ah, cl
mov byte [ebp - 0x46], ah
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
cmp eax, 0x20
setb cl
mov dl, byte [ebp - 0x46]
and dl, cl
test dl, 1
mov dword [ebp - 0x3c], eax
jne 0x100081ba
jmp 0x100081e3
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x20]
add ecx, dword [ecx + edx + 0x24]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], eax
jmp 0x10008128
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 - 0x44], eax
mov byte [ebp - 0x3d], bh
mov byte [ebp - 0x45], cl
jne 0x1000816d
mov al, byte [ebp - 0x45]
test al, 1
jne 0x100081ef
jmp 0x10008144
mov eax, dword [ebp - 0x34]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
add edx, dword [edx + esi + 0x1c]
mov dword [0x1028ae50], 0xd83
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x24], edi
mov eax, dword [ebp - 0x24]
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100085f3
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
xor edx, edx
mov dword [0x1028ae54], 0x1a92
mov dword [0x1028ae50], 0x2534
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], edx
jmp 0x10008629
xor eax, eax
add esp, 0x54
pop esi
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov cl, byte [eax + 0x102777ac]
mov dl, byte [eax + 0x1027777d]
sub dl, cl
mov byte [ebp + eax - 0x24], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x30], eax
jne 0x10008629
lea eax, [ebp - 0x24]
mov dword [0x1028ae50], 0x18b3
mov dword [ebp - 0x34], eax
call fcn.1000834a
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10008458
mov ecx, dword [0x1028ae54]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
add eax, 0x65b
mov dword [0x1028ae54], eax
mov eax, dword [ebp - 0x38]
cmp eax, 0
je 0x10008621
mov eax, dword [ebp - 0x38]
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 dword [0x1028ae50], 0x1b3e
mov dword [esp], eax
mov ecx, dword [ebp - 0x28]
mov dword [esp + 4], ecx
mov dword [ebp - 0x40], eax
call fcn.10007927
xor eax, eax
mov ecx, dword [ebp - 0x40]
mov word [ecx], 0x5a4d
mov dword [ecx + 0x3c], 0xd0
mov dword [0x1028ae50], 0x105c
mov dword [ecx + 0xd0], 0x4550
add ecx, 0xffc00000
mov edx, dword [ebp - 0x2c]
mov dword [edx + 0x4c], ecx
mov ecx, dword [ebp - 0x40]
mov dword [edx + 0x30], ecx
mov dword [0x1028ae54], 0x1a71
add ecx, 0x1809
mov esi, dword [ebp - 0x40]
cmp esi, 0
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], eax
je 0x10008735
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add esp, 0x54
pop esi
pop ebp
ret