joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10051af0
Capabilities:
Get common file path

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
push edi
cmp dword [ebp], 0
jne 0x10051bd2
cmp dword [ebp + 4], 0xffffffff
jne 0x10051bd2
push ebx
lea ebx, [ebp + 0x140]
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov cl, byte [ecx + ebp + 0x13f]
cmp cl, 0x5c
je 0x10051b62
cmp cl, 0x2f
je 0x10051b62
mov edi, 0x10085f04
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edx, ecx
mov edi, ebx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
cmp edi, 1
pop ebx
jne 0x10051b8e
push 1
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x10051b8e
pop edi
pop esi
mov eax, 0x2000000
pop ebp
pop ecx
ret 0xc
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0xc]
push eax
push edi
push ecx
push esi
call fcn.100505d0
add esp, 0x10
test eax, eax
jne 0x10051bb1
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebp
pop ecx
ret 0xc
push eax
call fcn.10050ba0
add esp, 4
mov dword [ebp], eax
neg eax
sbb eax, eax
pop edi
and eax, 0xfffffe00
pop esi
add eax, 0x200
pop ebp
pop ecx
ret 0xc
pop edi
pop esi
mov eax, 0x1000000
pop ebp
pop ecx
ret 0xc
Function at 0x10052220
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
sub esp, 0x208
push ebx
mov ebx, dword [esp + 0x210]
test ebx, ebx
push ebp
je 0x10052248
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x10052248
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ebp, dword [esp + 0x218]
mov cl, byte [ebp]
test cl, cl
je 0x10052322
mov eax, ebp
mov edx, ebp
cmp cl, 0x2f
je 0x10052268
cmp cl, 0x5c
jne 0x1005226a
mov eax, edx
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x1005225e
push esi
cmp eax, ebp
push edi
je 0x100522ac
sub eax, ebp
mov esi, ebp
mov ecx, eax
lea edi, [esp + 0x114]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x114], 0
lea eax, [esp + 0x114]
push eax
push ebx
call fcn.10052220
add esp, 8
test ebx, ebx
mov byte [esp + 0x10], 0
je 0x100522d8
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
pop edi
cmp eax, 0xffffffff
pop esi
jne 0x10052322
lea ecx, [esp + 8]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x10052b80
Capabilities:
Create thread

Disassembly:
sub esp, 0xc
push ebx
push esi
mov esi, dword [esp + 0x18]
xor ebx, ebx
push edi
cmp word [esi + 0x20060], bx
je 0x10052ba0
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret 8
mov eax, dword [esp + 0x20]
cmp ax, bx
mov word [esi + 0x20062], ax
je 0x10052bef
lea edi, [esi + 0x44]
mov ecx, edi
call fcn.1003f3a0
mov ax, word [esi + 0x20062]
push ebx
push eax
mov ecx, edi
mov dword [esp + 0x14], 0x41444170
mov word [esp + 0x18], 0x66
mov dword [esp + 0x1a], ebx
call fcn.1003f410
test eax, eax
jne 0x10052bfd
mov ecx, edi
call fcn.1003f3f0
mov word [esi + 0x20060], bx
pop edi
pop esi
mov eax, 0x80004005
pop ebx
add esp, 0xc
ret 8
mov cx, word [esi + 0x20062]
lea edx, [esp + 0xc]
push ecx
push 0x7f000001
push 0xa
push edx
mov ecx, edi
call fcn.1003f630
cmp eax, 0xffffffff
je 0x10052be8
cmp dword [esi + 0x2006c], ebx
jne 0x10052be8
lea eax, [esp + 0x1c]
push 0xbb8
lea ecx, [esp + 0x24]
push eax
push ecx
lea edx, [esi + 0x10060]
push 0x10000
push edx
mov ecx, edi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
call fcn.1003f490
cmp eax, ebx
jle 0x10052cbe
mov cx, word [esp + 0x1c]
cmp cx, word [esi + 0x20062]
jne 0x10052cbe
push eax
mov ecx, esi
call fcn.10053140
test eax, eax
je 0x10052cbe
mov ecx, esi
call fcn.10053010
cmp eax, ebx
je 0x10052cb0
mov dx, word [esi + 0x20062]
mov ecx, edi
push edx
push 0x7f000001
push eax
lea eax, [esi + 0x60]
push eax
call fcn.1003f630
lea ecx, [esi + 0x20070]
push ecx
push ebx
push esi
push 0x10052f50
push ebx
push ebx
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
mov dword [esi + 0x2006c], eax
mov dx, word [esi + 0x20062]
mov word [esi + 0x20060], dx
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0xc
ret 8

Function at 0x100539e0
Capabilities:
Terminate thread

Disassembly:
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0x240]
cmp eax, ebx
je 0x100539f8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x238]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, ebx
je 0x10053a3a
push ebx
push ebx
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostThreadMessageA]
mov eax, dword [esi + 0x234]
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [esi + 0x234]
push ecx
call edi
mov dword [esi + 0x234], ebx
mov dword [esi + 0x238], ebx
mov eax, dword [esi + 0x230]
cmp eax, ebx
je 0x10053a6d
push 0x1f4
push eax
call ebp
test eax, eax
je 0x10053a5e
mov edx, dword [esi + 0x230]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x230]
push eax
call edi
mov dword [esi + 0x230], ebx
mov eax, dword [esi + 0x23c]
pop ebp
cmp eax, ebx
je 0x10053a81
push eax
call edi
mov dword [esi + 0x23c], ebx
mov eax, dword [esi + 0x240]
cmp eax, ebx
je 0x10053a94
push eax
call edi
mov dword [esi + 0x240], ebx
pop edi
pop esi
pop ebx
ret
Function at 0x10053b00
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0xffffffffffffffff
push 0x10073c98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, dword [esp + 0x1c]
push edi
mov eax, dword [esi + 0x234]
test eax, eax
jne 0x10053b4a
lea eax, [esi + 0x238]
push eax
push 0
push esi
push 0x10054ac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 0x234], eax
je 0x10053bae
mov ecx, dword [esi + 0x23c]
or ebp, 0xffffffff
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x518]
lea edi, [esi + 0x518]
mov edx, dword [esp + 0x24]
test eax, eax
mov dword [esi + 0x248], edx
jne 0x10053c50
mov dword [esp + 0x20], 0
lea eax, [esp + 0x20]
mov dword [esp + 0x18], 0
push eax
push 0x10088090
call sym.mps.dll_CreateSTComponent
test eax, eax
jge 0x10053bc4
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
test eax, eax
je 0x10053bae
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 8
mov eax, dword [esp + 0x20]
push edi
push 0x100883d0
push eax
mov edx, dword [eax]
call dword [edx]
test eax, eax
jl 0x10053b9c
test esi, esi
je 0x10053be0
lea ecx, [esi + 8]
jmp 0x10053be2
xor ecx, ecx
mov eax, dword [edi]
push ecx
push 0x5031
push eax
mov edx, dword [eax]
call dword [edx + 0x28]
mov eax, dword [edi]
push 0x14ed
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jge 0x10053c3e
mov eax, dword [edi]
push 0x14ee
push eax
mov edx, dword [eax]
call dword [edx + 0xc]
test eax, eax
jge 0x10053c3e
mov eax, dword [edi]
push 0x14ef
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
jge 0x10053c3e
mov eax, dword [edi]
test eax, eax
je 0x10053b9c
mov dword [edi], 0
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x10053b9c
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], ebp
test eax, eax
je 0x10053c50
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esi + 0x230]
test eax, eax
je 0x10053cb8
mov eax, dword [esi + 0x240]
test eax, eax
je 0x10053c6b
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [esi + 0x230]
push 0x1f4
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x10053c90
mov ecx, dword [esi + 0x230]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [esi + 0x230]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x240]
mov dword [esi + 0x230], 0
test eax, eax
je 0x10053cb8
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
lea eax, [esp + 0xc]
push eax
push 0
push esi
push 0x10054b80
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x230], eax
pop edi
mov ecx, dword [esp + 0xc]
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 8
Function at 0x10054970
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x138
lea eax, [esp]
push ebp
push esi
push edi
mov edi, ecx
push eax
call dword [sym.imp.MSVCRT.dll_time]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_localtime]
mov edx, dword [eax + 0xc]
mov ecx, dword [eax + 0x10]
add esp, 8
mov ebp, dword [sym.imp.MSVCRT.dll_sprintf]
inc ecx
push edx
mov edx, dword [eax + 0x14]
add edx, 0x76c
push ecx
push edx
lea eax, [esp + 0x1c]
push str._04d_02d_02d
push eax
call ebp
mov eax, dword [edi + 0x280]
add esp, 0x14
or esi, 0xffffffff
test eax, eax
jne 0x100549ce
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [esp + 0xe0]
push 0x64
push ecx
push 0x1009bcc4
push str.time
push str.root
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x10054a2d
lea edx, [esp + 0xdc]
lea eax, [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x10054a2d
mov eax, dword [edi + 0x280]
test eax, eax
jne 0x10054a18
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
push 0xffffffffffffffff
push str.showed
push str.root
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
inc esi
cmp esi, 0xffffffff
jle 0x10054aaa
cmp esi, dword [esp + 0x148]
jge 0x10054aaa
mov eax, dword [edi + 0x280]
test eax, eax
jne 0x10054a4b
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea ecx, [esp + 0x14]
push eax
push ecx
push str.time
push str.root
call ebx
push esi
lea edx, [esp + 0x80]
push 0x10087108
push edx
call ebp
mov eax, dword [edi + 0x280]
add esp, 0xc
test eax, eax
jne 0x10054a86
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea eax, [esp + 0x80]
push eax
push str.showed
push str.root
call ebx
pop ebx
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x138
ret 4
pop edi
pop esi
or eax, 0xffffffff
pop ebp
add esp, 0x138
ret 4
Function at 0x1005a3c0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x10074344
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [esp + 2]
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
mov byte [esi + 4], al
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov cl, byte [esp + 0xe]
mov dword [esp + 0x20], edi
mov byte [esi + 0x34], cl
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dl, byte [esp + 0xe]
mov byte [esi + 0x64], dl
mov dword [esi + 0x68], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], edi
mov dword [esi + 0x90], edi
mov al, byte [esp + 0xe]
mov byte [esi + 0x94], al
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0xa8], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
mov dword [esi + 0xc0], edi
mov cl, byte [esp + 0xe]
mov byte [esi + 0xc4], cl
mov dword [esi + 0xc8], edi
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd4], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov dword [esi + 0xec], edi
mov dword [esi + 0xf0], edi
lea ecx, [esi + 0xf4]
mov byte [esp + 0x20], 4
call fcn.10061180
lea ecx, [esi + 0x124]
mov byte [esp + 0x20], 5
call fcn.10060c20
lea ebx, [esi + 0x170]
lea edx, [esp + 0xe]
push edx
mov byte [esp + 0x24], 6
lea ecx, [ebx + 0x20]
mov dword [esp + 0x18], ebx
call fcn.1005e030
lea eax, [esp + 0xf]
lea ecx, [ebx + 0x50]
push eax
mov byte [esp + 0x24], 7
call fcn.1005e030
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
push 0xffffff
mov dword [esi], edi
mov dword [esi + 0x154], edi
mov dword [esi + 0x158], edi
mov dword [esi + 0x15c], edi
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ebx, dword [sym.imp.USER32.dll_LoadCursorA]
push 0x7f00
push edi
mov dword [esi + 0x160], eax
call ebx
push 0x7f89
push edi
mov dword [esi + 0x164], eax
call ebx
mov ecx, dword [esp + 0x18]
mov dword [esi + 0x168], eax
mov dword [esi + 0x16c], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x1005afb0
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x100743db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
cmp dword [esi], 1
jne 0x1005afdd
call fcn.1005a9f0
mov ecx, dword [esp + 0x148]
xor eax, eax
cmp ecx, eax
mov dword [esp + 0xc], eax
jbe 0x1005b141
mov ecx, dword [esp + 0x144]
push ebx
push ebp
lea ebp, [ecx + 4]
jmp 0x1005b002
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov byte [esp + 0x34], 0
mov ecx, dword [esi + 0x1bc]
lea ebx, [esi + 0x190]
cmp ecx, eax
mov dword [esp + 0x140], eax
je 0x1005b05f
mov edi, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x18]
cmp edi, ecx
je 0x1005b05f
lea eax, [edi + 0x10c]
cmp eax, ecx
mov dword [ebx + 0x1c], eax
jne 0x1005b059
test edi, edi
je 0x1005b050
mov ecx, 0x43
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov ecx, ebx
call fcn.1005ee20
jmp 0x1005b085
test edi, edi
je 0x1005b085
jmp 0x1005b076
mov ecx, ebx
call fcn.1005ee20
mov edi, dword [ebx + 0x1c]
test edi, edi
lea edx, [edi + 0x10c]
mov dword [ebx + 0x1c], edx
je 0x1005b085
mov ecx, 0x43
lea esi, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov edx, dword [ebx + 0x2c]
lea eax, [esi + 0x194]
inc edx
mov dword [ebx + 0x2c], edx
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x18]
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x14]
push eax
mov dword [esp + 0x28], edx
call fcn.10060720
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebp]
push ecx
mov edx, dword [ebx]
push edx
call dword [sym.imp.MSVCRT.dll_realloc]
mov dword [ebx], eax
mov ecx, dword [ebp]
mov esi, dword [ebp - 4]
mov edi, eax
mov eax, ecx
add esp, 8
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [ebx + 8]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp]
lea edi, [ebp + 4]
mov dword [ebx + 4], ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
add ebp, 0x10c
mov eax, ecx
mov esi, edi
mov edi, edx
mov dword [esp + 0x140], 0xffffffff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, dword [esp + 0x14]
and ecx, 3
inc eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x150]
mov esi, dword [esp + 0x10]
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x1005b000
pop ebp
xor eax, eax
pop ebx
lea ecx, [esp + 0x20]
lea edx, [esi + 0x170]
push ecx
push eax
push edx
push 0x10061db0
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, dword [esp + 0x140]
push esi
push 0xffffffffffffffeb
push edi
mov dword [esi + 0x16c], eax
mov dword [esi + 0x15c], edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xa
push edi
lea ecx, [esi + 0x124]
call fcn.10060d70
mov ecx, dword [esp + 0x130]
mov dword [esi], 1
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x134
ret 0xc
Function at 0x1005ccd0
Capabilities:
Initialize iwebbrowser2

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100744c0
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebp
push esi
mov esi, dword [esp + 0x5c]
xor ebp, ebp
cmp esi, ebp
push edi
jne 0x1005cd0b
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov dword [esp + 0x60], ebp
lea eax, [esp + 0x60]
mov dword [esp + 0x58], ebp
push eax
push 0x1009a538
push 0x17
push ebp
push 0x1009a528
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebp
jge 0x1005cd5f
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x1005ce77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
mov eax, dword [esp + 0x60]
push 0xffffffffffffffff
push eax
mov edx, dword [eax]
call dword [edx + 0xa4]
cmp eax, ebp
jge 0x1005cda2
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x1005ce77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
push ebx
push 0xffffffffffffffff
push esi
call fcn.1005cec0
mov edi, eax
add esp, 8
mov dword [esp + 0x10], edi
push 0x1009bcc4
lea ecx, [esp + 0x48]
mov byte [esp + 0x60], 1
mov word [esp + 0x48], bp
call fcn.100291c0
push 0x1009bcc4
lea ecx, [esp + 0x38]
mov byte [esp + 0x60], 2
mov word [esp + 0x38], bp
call fcn.100291c0
mov ebx, 3
push 0x1009bcc4
lea ecx, [esp + 0x28]
mov byte [esp + 0x60], bl
mov word [esp + 0x28], bp
call fcn.100291c0
mov word [esp + 0x14], bx
mov dword [esp + 0x1c], 0xe
lea ecx, [esp + 0x44]
mov eax, dword [esp + 0x64]
push ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 5
push ecx
lea ecx, [esp + 0x20]
push ecx
push edi
push eax
call dword [edx + 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea edx, [esp + 0x14]
push edx
mov ebx, eax
call esi
lea eax, [esp + 0x24]
push eax
call esi
lea ecx, [esp + 0x34]
push ecx
call esi
lea edx, [esp + 0x44]
push edx
call esi
cmp ebx, ebp
pop ebx
push edi
jge 0x1005ce8d
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x1005ce77
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop edi
pop esi
xor al, al
pop ebp
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x58], 0xffffffff
cmp eax, ebp
je 0x1005cea9
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x50]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x10062ac0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x14], 0xca
jne 0x10062af0
push esi
call fcn.10065f60
mov al, byte [esi + 0x40]
add esp, 4
test al, al
je 0x10062ae9
mov dword [esi + 0x14], 0xcf
mov al, 1
pop esi
ret
mov dword [esi + 0x14], 0xcb
mov eax, dword [esi + 0x14]
cmp eax, 0xcb
jne 0x10062b73
mov eax, dword [esi + 0x190]
mov cl, byte [eax + 0x10]
test cl, cl
je 0x10062b5f
mov eax, dword [esi + 8]
test eax, eax
je 0x10062b14
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x190]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10062b5b
cmp eax, 2
je 0x10062b5f
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10062b07
cmp eax, 3
je 0x10062b3a
cmp eax, 1
jne 0x10062b07
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10062b07
mov edx, dword [esi + 0x11c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10062b07
xor al, al
pop esi
ret
mov eax, dword [esi + 0x7c]
push esi
mov dword [esi + 0x84], eax
call fcn.10062ba0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10062b93
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x14
mov edx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
push esi
call fcn.10062ba0
add esp, 4
pop esi
ret

Function at 0x10063be0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [esp + 0xc]
cmp ecx, 0xc
jb 0x10063c9a
mov eax, dword [esp + 8]
cmp byte [eax], 0x41
jne 0x10063c9a
cmp byte [eax + 1], 0x64
jne 0x10063c9a
cmp byte [eax + 2], 0x6f
jne 0x10063c9a
cmp byte [eax + 3], 0x62
jne 0x10063c9a
cmp byte [eax + 4], 0x65
jne 0x10063c9a
push ebx
xor ecx, ecx
mov cl, byte [eax + 7]
push ebp
push esi
push edi
mov edi, ecx
xor edx, edx
mov dl, byte [eax + 8]
xor ecx, ecx
mov cl, byte [eax + 9]
mov esi, dword [esp + 0x14]
shl edi, 8
add edi, edx
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov dl, byte [eax + 0xa]
mov cl, byte [eax + 0xb]
shl ebp, 8
add ebp, edx
xor edx, edx
mov dl, byte [eax + 5]
xor ebx, ebx
mov bl, byte [eax + 6]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi]
mov dword [ecx + 0x1c], edi
shl edx, 8
add ecx, 0x18
add edx, ebx
mov ebx, dword [esp + 0x1c]
push 1
mov dword [ecx], edx
mov dword [ecx + 8], ebp
mov dword [ecx + 0xc], ebx
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x4c
mov ecx, dword [esi]
call dword [ecx + 4]
add esp, 8
mov byte [esi + 0x108], 1
mov byte [esi + 0x109], bl
pop edi
pop esi
pop ebp
pop ebx
ret
mov eax, dword [esp + 4]
push 1
push eax
mov edx, dword [eax]
mov dword [edx + 0x14], 0x4e
mov edx, dword [esp + 0x18]
add ecx, edx
mov edx, dword [eax]
mov dword [edx + 0x18], ecx
mov ecx, dword [eax]
call dword [ecx + 4]
add esp, 8
ret