joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45526c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x455283
add esp, 0xfffffff0
call fcn.00403aa8
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041b734
mov eax, dword [0x49a3d4]
cmp word [eax + 2], 0
jne 0x4552ab
mov eax, dword [0x49a3d4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004569ec
mov eax, dword [0x49a4e4]
cmp word [eax + 2], 0
jne 0x4552c5
mov eax, dword [0x49a4e4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00456be4
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4127a0]
call fcn.00403754
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4127a0]
call fcn.00403754
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41dc88]
call fcn.00425514
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45544c
mov eax, dword [0x49a27c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004258e4
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x457194
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49a27c]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d19c
test eax, eax
je 0x4553ba
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040923c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d1c4
test eax, eax
je 0x4553ce
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004047c8
mov eax, dword [0x49a08c]
cmp byte [eax], 0
jne 0x455402
mov eax, ebx
call fcn.00455574
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00457370
mov eax, ebx
call fcn.00457d34
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x455442
call fcn.00403b00
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4557f4
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x49bbe0]
cmp dword [eax + 0x30], 0
je 0x45589e
cmp dword [ebx + 0x94], 0
jne 0x455898
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x455784
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x455898
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x45585e
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x455898
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414dd0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45586d
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x456400
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x456435
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404648
jmp 0x456442
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045ac
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45754c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45758d
mov eax, esi
call fcn.0043dc40
test al, al
je 0x45758d
mov eax, dword [ebx + 0x84]
call fcn.0043d93c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45758d
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043d93c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x46aa68
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x46aa96
mov eax, ebx
call fcn.0046b51c
cmp dword [ebx + 0x40], 0
je 0x46aa8f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x46ab07
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x46aaf9
cmp dword [ebx + 8], 0
je 0x46aab8
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x46aaca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x46aaf9
cmp dword [ebx + 8], 0
je 0x46aaab
cmp eax, 3
je 0x46aadd
dec eax
jne 0x46aaab
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x46aaab
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x46aaab
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x46ab25
cmp dword [ebx + 0x14], 0xcc
je 0x46ab25
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0046ab30
pop ebx
ret
Function at 0x47b508
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b642
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00415a6c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x30], 2
jne 0x47b584
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
test eax, eax
jle 0x47b584
lea ecx, [ebp - 0x18]
xor edx, edx
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00408620
mov edx, dword [ebp - 0x14]
mov ebx, dword [0x49a128]
mov ebx, dword [ebx]
mov eax, 0x47b658
call ebx
dec eax
jne 0x47b584
mov ebx, 1
jmp 0x47b586
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
sub eax, ebx
jl 0x47b627
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
call fcn.00467054
test al, al
jne 0x47b61b
mov eax, dword [ebp - 4]
call fcn.0047b4fc
mov ebx, eax
lea ecx, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov esi, dword [eax]
call dword [esi + 0xc]
mov edx, dword [ebp - 0x20]
lea eax, [ebx + 0x1c]
call fcn.004045ac
xor edx, edx
push ebp
push 0x47b609
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 4]
mov al, byte [eax + 0x30]
test al, al
je 0x47b5ff
mov edx, eax
mov ecx, ebx
mov eax, dword [ebp - 4]
call fcn.0047b91c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b61b
inc dword [ebp - 0xc]
dec dword [ebp - 0x10]
jne 0x47b59e
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b649
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040457c
ret

Function at 0x485c94
Capabilities:
Capture webcam image

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov edi, edx
mov ebx, eax
mov eax, esp
push eax
push 0
push 0x419
mov eax, dword [ebx + 0x4c]
push eax
call sub.user32.dll_SendMessageA
mov eax, dword [ebx + 0x48]
mov esi, dword [eax + 0xd0]
test esi, esi
je 0x485ceb
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
call dword [edx + 0x1c]
test al, al
jne 0x485ceb
mov eax, dword [ebx + 0x48]
mov eax, dword [eax + 0xd0]
mov eax, dword [eax + 0x14]
push eax
push 4
push 5
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0xc]
mov eax, ebx
call fcn.004842c4
jmp 0x485d2e
mov edx, dword [edi + 0x10]
mov eax, dword [ebx + 0x34]
call fcn.0041fab8
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x14]
call fcn.0041f2b4
mov esi, eax
mov eax, dword [ebx + 0x48]
mov edx, dword [eax + 0x90]
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
call fcn.0041efdc
mov edx, esp
mov eax, dword [ebx + 0x34]
call fcn.0041f804
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x10]
mov edx, esi
call fcn.0041efdc
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x48907c
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov dword [esp], ecx
mov esi, edx
mov ebp, eax
mov eax, ebp
call fcn.00404818
mov edx, eax
mov eax, dword [esp]
call fcn.00404ba4
mov eax, ebp
call fcn.00404818
test al, al
jbe 0x4890e7
mov byte [esp + 4], al
mov bl, 1
mov eax, dword [esp]
call fcn.00404a70
mov edi, ebx
and edi, 0xff
mov dl, byte [ebp + edi - 1]
movzx ecx, si
shr ecx, 8
xor dl, cl
mov byte [eax + edi - 1], dl
xor eax, eax
mov al, byte [ebp + edi - 1]
add si, ax
imul ax, si, 0x6d41
add ax, 0xcda3
mov esi, eax
inc ebx
dec byte [esp + 4]
jne 0x4890ac
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x48cc7c
Capabilities:
Get graphical window text

Disassembly:
push ebx
add esp, 0xfffffc14
mov ebx, edx
mov edx, esp
push edx
push 0x3e8
push 0xd
push eax
call sub.user32.dll_SendMessageA
mov edx, ebx
mov eax, esp
call fcn.004093ec
add esp, 0x3ec
pop ebx
ret
Function at 0x494f28
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x495060
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0x70], 1
mov eax, dword [ebp - 4]
test byte [eax + 0x1c], 0x10
jne 0x495045
lea eax, [ebp - 0x10d]
push eax
push pe_nt_image_headers32
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 8]
lea eax, [ebp - 0x10d]
call fcn.004093ec
mov dl, 1
mov eax, dword [0x47f38c]
call fcn.0047f3e4
mov edx, dword [ebp - 4]
mov dword [edx + 0x68], eax
mov dl, 1
mov eax, dword [0x41305c]
call fcn.00403754
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x6c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.0047f460
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x495042
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x40]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
mov edx, 0x495078
call fcn.0047f7ac
lea eax, [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00404864
xor eax, eax
push ebp
push 0x49503b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 0xc]
call fcn.00417940
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00495080
mov eax, dword [ebp - 0xc]
call fcn.00409038
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495042
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x68]
call fcn.00403784
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x40]
call fcn.00403784
ret
mov bl, byte [ebp - 0xd]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x495067
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040457c
ret
Function at 0x1000764d
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x78]
lea ecx, [esp + 0x20]
mov dword [0x101161c4], 0x37a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.1000883c
lea ecx, [0x1000777a]
mov edx, dword [0x101161c4]
mov esi, dword [esp + 0x78]
mov dword [esp + 0x44], esi
add edx, 0xffffdcc0
mov dword [0x101161c4], edx
mov dword [esp + 0x6c], 0x159400
mov edx, dword [0x101161b0]
mov dword [esp + 0x28], edx
mov edx, dword [0x101161b4]
mov dword [esp + 0x74], edx
mov edx, dword [0x101161b8]
mov dword [esp + 0x54], edx
mov edx, dword [0x101161bc]
mov dword [esp + 0x64], edx
mov edx, dword [0x101161c0]
mov dword [esp + 0x48], edx
mov dword [0x101161c8], 0x1a2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x10007707
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
cmp dword [eax + ecx], 0x4550
mov dword [esp + 0xc], ecx
je 0x10007723
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100076e4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], eax
mov dword [0x101161c4], 0xd16
mov ecx, dword [esp + 0xc]
mov edx, dword [eax + ecx + 0x50]
mov dword [esp + 0x30], edx
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.100086ce
mov ecx, esp
lea edx, [esp + 0x20]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x101161c4], 0x4fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret
Function at 0x10007daa
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 edi, dword [0x101161c8]
add edi, 0x1064
mov dword [0x101161c4], edi
mov dword [0x101161d0], 0
mov byte [0x101161d4], 0
mov dword [0x101161c8], 0x1215
mov dword [0x101161cc], 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 [0x101161cc]
add eax, 1
mov dword [0x101161cc], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10007e01
xor eax, eax
mov dword [0x101161c4], 0x1408
mov dword [0x101161cc], 0
mov ecx, dword [0x101161c8]
add ecx, 0xffffd9c5
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
mov edx, 0xffffdcb5
mov esi, 0x100
mov edi, dword [0x101161d0]
mov ebx, dword [ebp - 0x18]
movzx ebx, byte [ebx + eax]
add ebx, edi
mov dword [ebp - 0x28], eax
xor edi, edi
mov dword [ebp - 0x2c], edx
mov edx, edi
mov edi, dword [ebp - 0x10]
div edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add ebx, edx
mov eax, ebx
cdq
idiv esi
mov dword [0x101161d0], edx
mov esi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x28]
mov bl, byte [esi + ebx]
mov byte [0x101161d4], bl
mov dword [0x101161c8], ecx
mov bl, byte [esi + edx]
mov ecx, dword [ebp - 0x28]
mov byte [esi + ecx], bl
mov edx, dword [0x101161c4]
add edx, 0x2328
mov dword [0x101161c4], edx
mov bl, byte [0x101161d4]
mov edx, dword [0x101161d0]
mov byte [esi + edx], bl
mov dword [0x101161c8], 0x2f0
mov edx, dword [0x101161cc]
add edx, 1
mov dword [0x101161cc], edx
cmp edx, 0x100
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], edx
jl 0x10007e4f
mov dword [0x101161c8], 0x2133
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10007f20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x3c
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, 0x2c87
mov ebx, 0x1d5a
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [0x101161cc], 0
mov dword [0x101161d0], 0
mov dword [0x101161d8], 0
mov dword [0x101161c4], 0x1d5a
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
je 0x100080bb
jmp 0x10007fb8
mov eax, dword [0x101161c4]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
add eax, 0xf2d
mov dword [ebp - 0x34], eax
jmp 0x100080bb
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x30]
mov edi, 0x100
add ecx, 1
mov dword [ebp - 0x3c], eax
mov eax, ecx
mov dword [ebp - 0x40], edx
cdq
idiv edi
mov dword [0x101161cc], edx
mov ecx, dword [ebp - 0x2c]
movzx ebx, byte [ecx + edx]
mov ecx, dword [ebp - 0x40]
add ebx, ecx
mov eax, ebx
mov dword [ebp - 0x44], edx
cdq
idiv edi
mov dword [0x101161d0], edx
mov ecx, dword [ebp - 0x2c]
mov edi, dword [ebp - 0x44]
mov cl, byte [ecx + edi]
mov byte [0x101161d4], cl
add esi, 0xfffff6df
mov dword [0x101161c4], esi
mov esi, dword [ebp - 0x2c]
mov cl, byte [esi + edx]
mov byte [esi + edi], cl
mov dword [0x101161c8], 0x63b
mov cl, byte [0x101161d4]
mov edx, dword [0x101161d0]
mov byte [esi + edx], cl
mov dword [0x101161c4], 0xbac
mov edx, dword [0x101161cc]
movzx edx, byte [esi + edx]
mov ebx, dword [0x101161d0]
movzx ebx, byte [esi + ebx]
add ebx, edx
and ebx, 0xff
mov dword [0x101161d8], ebx
mov dword [0x101161c4], 0x1236
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x3c]
mov cl, byte [edx + ecx]
xor cl, byte [esi + ebx]
mov ebx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x3c]
mov byte [ebx + edx], cl
add edx, 1
mov ecx, dword [ebp - 0x10]
cmp edx, ecx
mov dword [ebp - 0x48], edx
je 0x10007fa0
mov eax, dword [0x101161cc]
mov ecx, dword [0x101161d0]
mov edx, dword [0x101161c4]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], edx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], esi
jmp 0x10007fb8
mov eax, dword [ebp - 0x34]
mov dword [0x101161c4], eax
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10008203
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
call fcn.100080cb
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x1000823f
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x101161c4], 0xfffff751
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x101161c8], 0xffffe77b
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x10008357
jmp 0x100082a7
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
jmp 0x100082b9
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jmp 0x1000828b
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
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 - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x1000830b
mov al, byte [ebp - 0x51]
cmp al, 0
setne cl
mov edx, dword [ebp - 0x50]
add edx, 1
mov ah, byte [ebp - 0x52]
and ah, cl
cmp edx, 0x20
setb cl
and ah, cl
test ah, 1
mov dword [ebp - 0x4c], edx
jne 0x100082b9
mov al, byte [ebp - 0x52]
test al, 1
jne 0x1000833e
jmp 0x10008314
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], eax
jb 0x1000828b
jmp 0x10008357
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100086ce
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edx, dword [0x101161c8]
add edx, 0xfffff0b4
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
xor eax, eax
mov ecx, dword [ebp - 0x2c]
mov dword [0x101161c8], ecx
mov dword [0x101161c4], 0x13ed
mov dword [ebp - 0x30], eax
jmp 0x10008710
xor eax, eax
add esp, 0x54
pop ebp
ret
mov eax, dword [ebp - 0x30]
mov ecx, eax
add ecx, 1
mov dl, byte [eax + 0x100db132]
mov dh, byte [eax + 0x100db103]
sub dh, dl
mov byte [ebp + eax - 0x20], dh
cmp ecx, 0xe
mov dword [ebp - 0x30], ecx
jne 0x10008710
lea eax, [ebp - 0x20]
mov dword [0x101161c8], 0x18e3
mov dword [ebp - 0x34], eax
call fcn.1000847e
mov dword [esp], eax
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
call fcn.10008579
cmp eax, 0
mov dword [ebp - 0x38], eax
je 0x10008709
mov eax, dword [ebp - 0x38]
mov ecx, dword [0x101161c4]
add ecx, 0xffffe855
mov dword [0x101161c4], ecx
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 [esp], eax
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], ecx
mov dword [ebp - 0x3c], eax
call fcn.10007ae3
mov dword [0x101161c8], 0x26a5
mov eax, dword [ebp - 0x3c]
mov word [eax], 0x5a4d
mov dword [eax + 0x3c], 0xd0
mov dword [eax + 0xd0], 0x4550
add eax, 0xffc00000
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x20], eax
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 0x48], eax
mov edx, dword [0x101161c8]
add edx, 0x236
mov dword [0x101161c4], edx
xor eax, eax
mov ecx, dword [ebp - 0x3c]
add ecx, 0x1320
mov edx, dword [ebp - 0x3c]
cmp edx, 0
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x44], eax
je 0x10008819
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add esp, 0x54
pop ebp
ret