Function at 0x100f5d20
Capabilities:
Get common file path
Resolve function by parsing pe exports
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101264da
mov eax, dword fs:[0]
push eax
sub esp, 0x134
mov eax, dword [0x1016e750]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [0x10173e88]
mov ecx, dword [0x10175444]
mov dword [ebp - 0xc0], eax
add ecx, 0xfffffff0
mov eax, dword [0x10173658]
mov dword [ebp - 0xd8], eax
call fcn.10024750
mov dword [ebp - 0xb0], eax
lea ebx, [eax + 0x10]
mov dword [ebp - 0x13c], ebx
push ecx
mov eax, 0x5c
mov dword [ebp - 4], 0
lea ecx, [ebx - 0x10]
movzx edi, ax
mov esi, esp
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0xe8]
mov edx, edi
mov dword [esi], eax
call fcn.100452e0
add esp, 4
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
mov edi, eax
lea eax, [ebp - 0xa8]
push str.MyExeName_s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 2
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 1
or esi, 0xffffffff
mov edx, dword [ebp - 0xa8]
mov eax, esi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x100f5e0a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xd8]
mov edx, dword [ebp - 0xc0]
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov ecx, edi
mov dword [ebp - 0xdc], eax
add eax, 0x78
mov dword [ebp - 0xb4], eax
call fcn.100f5af0
test eax, eax
jne 0x100f5ecb
lea eax, [ebp - 0xa8]
push str._InitImaginaryProcess:_ImaginaryExec_GetStubEntryPoint_failed_
push eax
call fcn.10044f30
add esp, 8
mov byte [ebp - 4], 3
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f5e80
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f5ea3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x100f5ec1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, 9
jmp 0x100f6007
add eax, 0x800
mov dword [ebp - 0xa8], eax
lea eax, [ebp - 0xf8]
push eax
push 4
push 0x80
push dword [ebp - 0xb4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
push 0x7c
lea eax, [ebp - 0x9c]
mov dword [ebp - 0xa0], 0
push 0
push eax
call fcn.101078f0
add esp, 0xc
lea eax, [ebp - 0xa0]
push 0
push 0x80
push eax
push dword [ebp - 0xa8]
push edi
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
push 0
push 0x80
lea eax, [ebp - 0xa0]
push eax
push dword [ebp - 0xb4]
push edi
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100f5f96
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0xa8]
push str._InitImaginaryProcess:_cannot_restore_original_DataDirectory__LE_d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 4
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 1
mov ecx, esi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f5f96
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xf8]
push eax
push dword [ebp - 0xf8]
push 0x80
push dword [ebp - 0xb4]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov eax, dword [ebp - 0xdc]
mov eax, dword [eax + 0x80]
test eax, eax
jne 0x100f6023
mov byte [ebp - 4], al
mov ecx, esi
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f5fe7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov dword [ebp - 4], 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x100f6005
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10103392
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp - 0xd8]
add edi, eax
mov dword [ebp - 0xb4], edi
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100f604d
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 4], 5
mov ecx, 1
mov eax, dword [ebx - 8]
sub ecx, dword [ebx - 4]
sub eax, 0x514
or eax, ecx
jge 0x100f608b
push 0x514
lea ecx, [ebp - 0xdc]
call fcn.100249c0
mov ebx, dword [ebp - 0xdc]
push ebx
push 0x514
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebx - 8]
push ebx
call fcn.1010374b
add esp, 8
test eax, eax
js 0x100f74b0
cmp eax, dword [ebx - 8]
jg 0x100f74b0
mov dword [ebx - 0xc], eax
xor ecx, ecx
mov word [ebx + eax*2], cx
push dword [ebp - 0xe8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
lea esp, [esp]
cmp dword [edi + 0x10], 0
movdqu xmm0, xmmword [edi]
movdqu xmmword [ebp - 0x138], xmm0
jne 0x100f79b3
cmp dword [ebp - 0x138], 0
jne 0x100f79b3
mov edi, dword [ebp - 0xb4]
lea eax, [ebp - 0xa8]
push edi
push str.ImageImportDescriptor_p
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 7
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6141
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
movdqu xmm0, xmmword [edi]
mov ecx, dword [edi + 0x10]
mov dword [ebp - 0xd4], ecx
movdqu xmmword [ebp - 0x138], xmm0
test ecx, ecx
jne 0x100f7646
cmp dword [ebp - 0x138], ecx
jne 0x100f7646
mov eax, dword [0x101753a8]
sub eax, dword [0x101753a4]
sar eax, 5
push eax
lea eax, [ebp - 0xa8]
push str._d_DllMains_to_re_enable__call._Calling_by_DLL_tree_order:
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x12
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f61c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10022690
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x100f61dc
push 0x80004005
call fcn.100223c0
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0xe4], edi
push 0
mov byte [ebp - 4], 0x13
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov eax, dword [0x101746cc]
mov esi, dword [0x101753a4]
mov ecx, dword [eax + 0x1c]
sub ecx, 0x10
mov dword [ebp - 0xc8], ecx
cmp esi, dword [0x101753a8]
je 0x100f62e1
or ebx, 0xffffffff
lea edi, [ebx + 0x5d]
push dword [esi + 4]
push dword [esi]
push ecx
mov ecx, dword [esi + 0x1c]
sub ecx, 0x10
mov dword [ebp - 0xa8], esp
call fcn.10024750
mov ecx, esp
movzx edx, di
add eax, 0x10
mov dword [ecx], eax
lea ecx, [ebp - 0xb4]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x14
push dword [eax]
lea eax, [ebp - 0xc0]
push str._s:_OrgEntryPoint_x__NewEntryPoint_x
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x15
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x14
mov ecx, ebx
mov edx, dword [ebp - 0xc0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f629d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
mov ecx, ebx
mov edx, dword [ebp - 0xb4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f62c0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0x20
cmp esi, dword [0x101753a8]
jne 0x100f6221
mov edi, dword [ebp - 0xe4]
mov ebx, dword [ebp - 0xdc]
mov ecx, dword [ebp - 0xc8]
or esi, 0xffffffff
mov eax, dword [0x101746cc]
add eax, 0xc
cmp ecx, eax
je 0x100f74ba
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, 0x514
or eax, ecx
mov dword [ebp - 0xc4], 0
jge 0x100f6328
push 0x514
lea ecx, [ebp - 0xe4]
call fcn.100249c0
mov edi, dword [ebp - 0xe4]
mov eax, dword [ebp - 0xc8]
push 0x514
push edi
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [edi - 8]
push edi
call fcn.1010374b
add esp, 8
test eax, eax
js 0x100f74b0
cmp eax, dword [edi - 8]
jg 0x100f74b0
xor ecx, ecx
mov dword [edi - 0xc], eax
mov word [edi + eax*2], cx
lea esi, [edi - 0x10]
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0xb4], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f638e
cmp ecx, dword [esi]
jne 0x100f638e
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f63d7
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0xc0], edx
test edx, edx
jne 0x100f63a8
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.10103d20
mov esi, dword [ebp - 0xc0]
add esp, 0x10
mov ecx, dword [ebp - 0xb4]
lea eax, [esi + 0x10]
mov dword [ecx], eax
lea ecx, [ebp - 0xa8]
call fcn.1003cd10
add esp, 4
mov byte [ebp - 4], 0x16
mov esi, dword [0x101753a4]
cmp esi, dword [0x101753a8]
je 0x100f6436
mov eax, dword [ebp - 0xa8]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x100f6043
push eax
push dword [esi + 0x1c]
call fcn.10103523
add esp, 8
test eax, eax
je 0x100f6566
add esi, 0x20
cmp esi, dword [0x101753a8]
jne 0x100f6402
mov edx, dword [ebp - 0xc4]
lea ecx, [ebp - 0x110]
call fcn.10049880
mov byte [ebp - 4], 0x17
push dword [eax]
mov eax, dword [ebp - 0xc8]
push edi
push dword [eax + 0x18]
lea eax, [ebp - 0x11c]
push str._p:__s:_NeutralizedDllMain_s
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x18
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x17
or esi, 0xffffffff
mov edx, dword [ebp - 0x11c]
mov ecx, esi
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f64a1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov ecx, esi
mov edx, dword [ebp - 0x110]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f64c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xc4], 0
je 0x100f6ed2
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0x124], 0
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xa4], edx
mov ecx, dword [eax + 8]
mov eax, dword [eax]
add ecx, edx
add eax, edx
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xe0]
mov eax, dword [eax + 4]
add eax, edx
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0xc4]
push eax
push 4
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x100f657c
lea eax, [ebp - 0x10c]
push str.VirtualProtect_OK
push eax
call fcn.10044f30
add esp, 8
mov byte [ebp - 4], 0x19
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x10c]
jmp 0x100f65b1
mov edx, 1
mov dword [ebp - 0xe0], esi
mov dword [ebp - 0xc4], edx
jmp 0x100f643c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x118]
push str.Failed_setting_page_protection_on_EntryPointAddrPtr__LE_d
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x1a
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x118]
add edx, 0xfffffff0
mov ecx, esi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f65ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc0]
mov eax, dword [ebp - 0xe0]
mov edx, dword [ebp - 0xb4]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0xc8]
mov dword [eax + 0x1c], edx
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push edi
lea eax, [ebp - 0x108]
push str.Restore_original_EntryPoint_for__s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x1b
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x16
mov ecx, esi
mov edx, dword [ebp - 0x108]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6647
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x1b], eax
mov word [ebp - 0x17], ax
mov byte [ebp - 0x15], al
lea eax, [ebp - 0xc4]
push eax
push 4
push 8
push dword [ebp - 0xcc]
mov byte [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100f6799
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, dword [edi - 0x10]
lea esi, [edi - 0x10]
mov dword [ebp - 0xbc], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f66b5
cmp ecx, dword [esi]
jne 0x100f66b5
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f66fe
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0xd0], edx
test edx, edx
jne 0x100f66cf
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.10103d20
mov ecx, dword [ebp - 0xd0]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx], eax
mov eax, 0x5c
movzx edx, ax
lea ecx, [ebp - 0x100]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x1c
push dword [eax]
lea eax, [ebp - 0x114]
push dword [ebp - 0xcc]
push str._VirtualProtect_Pre:_p:_s__failed__LE_d
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x1d
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x1c
or ecx, 0xffffffff
mov edx, dword [ebp - 0x114]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6773
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
or ecx, 0xffffffff
mov edx, dword [ebp - 0x100]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f679c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100f679c
lea esi, [edi - 0x10]
lea eax, [ebp - 0x104]
push eax
push 8
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
test eax, eax
jne 0x100f68d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0xd0], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f67f5
cmp ecx, dword [esi]
jne 0x100f67f5
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f683e
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0xbc], edx
test edx, edx
jne 0x100f680f
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.10103d20
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0xd0]
mov dword [ecx], eax
mov eax, 0x5c
movzx edx, ax
lea ecx, [ebp - 0x120]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x1e
push dword [eax]
lea eax, [ebp - 0xfc]
push dword [ebp - 0xcc]
push str._ReadProcMem__p:_s__failed__LE_d
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x1f
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x1e
or ecx, 0xffffffff
mov edx, dword [ebp - 0xfc]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f68b3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
or ecx, 0xffffffff
mov edx, dword [ebp - 0x120]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f68d7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0xe0]
lea eax, [ebp - 0x1c]
mov eax, dword [eax]
lea ecx, [edx + 0x14]
cmp eax, dword [ecx]
jne 0x100f6fe7
lea eax, [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp eax, dword [ecx + 4]
jne 0x100f6fe7
lea eax, [ebp - 0x124]
push eax
push 8
lea eax, [edx + 0xc]
push eax
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jne 0x100f6a37
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0xd0], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f6955
cmp ecx, dword [esi]
jne 0x100f6955
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f699e
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0xbc], edx
test edx, edx
jne 0x100f696f
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.10103d20
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0xd0]
mov dword [ecx], eax
mov eax, 0x5c
movzx edx, ax
lea ecx, [ebp - 0xec]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x2d
push dword [eax]
lea eax, [ebp - 0xf4]
push dword [ebp - 0xcc]
push str._WriteProcMem__p:_s__failed__LE_d
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x2e
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x2d
or ecx, 0xffffffff
mov edx, dword [ebp - 0xf4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6a13
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
or ecx, 0xffffffff
mov edx, dword [ebp - 0xec]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6a37
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
push 8
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100f6b6d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0xd0], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f6a8b
cmp ecx, dword [esi]
jne 0x100f6a8b
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f6ad4
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0xbc], edx
test edx, edx
jne 0x100f6aa5
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.10103d20
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0xd0]
mov dword [ecx], eax
mov eax, 0x5c
movzx edx, ax
lea ecx, [ebp - 0xd4]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x2f
push dword [eax]
lea eax, [ebp - 0xf0]
push dword [ebp - 0xcc]
push str._VirtualProtect_Post:_p:_s__failed__LE_d
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x30
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x2f
or ecx, 0xffffffff
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6b49
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
or ecx, 0xffffffff
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6b6d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 8
push dword [ebp - 0xcc]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov byte [ebp - 4], 0x31
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0xd0], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f6bb0
cmp ecx, dword [esi]
jne 0x100f6bb0
mov ecx, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f6bf9
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edx, eax
mov dword [ebp - 0xbc], edx
test edx, edx
jne 0x100f6bca
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edx + 0x10]
push eax
call fcn.10103d20
mov ecx, dword [ebp - 0xbc]
add esp, 0x10
lea eax, [ecx + 0x10]
mov ecx, dword [ebp - 0xd0]
mov dword [ecx], eax
mov eax, 0x5c
movzx edx, ax
lea ecx, [ebp - 0xac]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x32
push dword [eax]
lea eax, [ebp - 0xb8]
push dword [ebp - 0xb4]
push str.calling_DllMain__p__s_
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x33
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x32
or ecx, 0xffffffff
mov edx, dword [ebp - 0xb8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6c6e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
or ecx, 0xffffffff
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6c92
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0xc8]
push 0
push 1
push dword [eax + 0x18]
call dword [ebp - 0xb4]
test al, al
jne 0x100f6ec8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
lea eax, [ebp - 0xac]
push str.__s_DllMain_return_FALSE__LE_d
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x34
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x31
or ebx, 0xffffffff
mov edx, dword [ebp - 0xac]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6cff
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
push 0
push str.Fatal
cmp eax, 0xcb
jne 0x100f6dee
push ecx
mov ecx, esi
mov dword [ebp - 0xac], esp
lea edi, [eax - 0x6f]
call fcn.10024750
mov ecx, esp
add eax, 0x10
mov edx, edi
mov dword [ecx], eax
lea ecx, [ebp - 0xd4]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x35
push dword [eax]
lea eax, [ebp - 0xb8]
push str.Framework_missing___s_
push eax
call fcn.10044f30
add esp, 0xc
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0xb8]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6d84
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100f6da5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esi
mov edi, 0x5c
mov ebx, esp
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0xa4]
mov edx, edi
mov dword [ebx], eax
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x36
push dword [eax]
lea eax, [ebp - 0xac]
push str.Framework_missing___s_
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x37
mov ecx, dword [eax]
call fcn.100f8500
call edi
push eax
push ecx
mov ecx, esi
mov dword [ebp - 0xac], esp
mov edi, 0x5c
call fcn.10024750
mov ecx, esp
add eax, 0x10
mov edx, edi
mov dword [ecx], eax
lea ecx, [ebp - 0xd4]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x38
push dword [eax]
lea eax, [ebp - 0xb8]
push str.Failed_initializing_library:__s___d_
push eax
call fcn.10044f30
add esp, 0x10
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0xb8]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f6e5e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x31
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100f6e7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, esi
mov edi, 0x5c
mov ebx, esp
call fcn.10024750
add eax, 0x10
lea ecx, [ebp - 0xa4]
mov edx, edi
mov dword [ebx], eax
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x39
push dword [eax]
lea eax, [ebp - 0xac]
push str.Failed_initializing_library:__s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x3a
mov ecx, dword [eax]
call fcn.100f8500
mov dword [ebp - 4], 0x16
or esi, 0xffffffff
mov eax, dword [ebp - 0xc8]
mov ecx, esi
mov eax, dword [eax + 0x10]
mov byte [ebp - 4], 0x13
sub eax, 0x10
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
mov dword [ebp - 0xc8], eax
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
mov ecx, dword [ebp - 0xc8]
jg 0x100f62e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc8]
jmp 0x100f62e4
push ecx
mov ecx, dword [esi]
mov ebx, 0x5c
mov dword [ebp - 0xac], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f7016
cmp ecx, dword [esi]
jne 0x100f7016
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f7053
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x100f702a
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
mov ecx, dword [ebp - 0xac]
lea eax, [edi + 0x10]
mov edx, ebx
mov dword [ecx], eax
lea ecx, [ebp - 0xd4]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x20
push dword [eax]
lea eax, [ebp - 0xb8]
push dword [ebp - 0xa4]
push str._Bummer__Windows_relocation_has_modified_DllMains_first_opcodes____p:_s_
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x21
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x20
or ebx, 0xffffffff
mov edx, dword [ebp - 0xb8]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f70c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov ecx, ebx
mov edx, dword [ebp - 0xd4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f70e7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xcc]
lea eax, [ebp - 0xa4]
push dword [ebp - 0xb4]
push str.OrgEntryPoint_p__NewEntryPoint_p
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x22
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x16
mov ecx, ebx
mov edi, dword [ebp - 0xa4]
add edi, 0xfffffff0
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f713a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xe0]
lea ecx, [ebp - 0xac]
push 0
push 8
lea edx, [edi + 0x14]
call fcn.10049980
mov byte [ebp - 4], 0x23
push dword [eax]
lea eax, [ebp - 0xa4]
push str.MyOpcodes__s
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x24
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x23
mov ecx, ebx
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f719f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov ecx, ebx
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f71c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 8
lea edx, [edi + 0xc]
lea ecx, [ebp - 0xac]
call fcn.10049980
mov byte [ebp - 4], 0x25
push dword [eax]
lea eax, [ebp - 0xa4]
push str.SavedOpcodes_s
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x26
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x25
mov ecx, ebx
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f7221
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov ecx, ebx
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f7244
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 8
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0xac]
call fcn.10049980
mov byte [ebp - 4], 0x27
push dword [eax]
lea eax, [ebp - 0xa4]
push str.CurOpcodes_s
push eax
call fcn.10044f30
add esp, 0x14
mov byte [ebp - 4], 0x28
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x27
mov ecx, ebx
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f72a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov ecx, ebx
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f72c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xc0]
lea eax, [ebp - 0xa4]
push str.EntryPointAddrPtr_p
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x29
mov ecx, str.LoadStaticDlls:StaticDllInterdependency
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 0x16
mov ecx, ebx
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f7313
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push str.Fatal
push ecx
mov ecx, dword [esi]
mov dword [ebp - 0xa4], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
lea edx, [esi + 0xc]
mov ecx, eax
jl 0x100f7344
cmp ecx, dword [esi]
jne 0x100f7344
mov edi, esi
mov eax, 1
lock xadd dword [edx], eax
jmp 0x100f7381
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x100f7358
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
mov ecx, dword [ebp - 0xa4]
lea eax, [edi + 0x10]
mov edi, 0x5c
movzx edx, di
mov dword [ecx], eax
lea ecx, [ebp - 0xb8]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x2a
push dword [eax]
lea eax, [ebp - 0xac]
push str.Race_condition_problem._Cannot_load_library:__s__DllMain_
push eax
call fcn.10044f30
add esp, 0xc
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0xac]
mov ecx, ebx
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f73e5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xb8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x100f7406
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
mov ecx, dword [esi]
mov bx, di
mov dword [ebp - 0xa4], esp
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi + 0xc], 0
mov ecx, eax
lea eax, [esi + 0xc]
jl 0x100f7433
cmp ecx, dword [esi]
jne 0x100f7433
mov edi, esi
mov ecx, 1
lock xadd dword [eax], ecx
jmp 0x100f7470
mov eax, dword [ecx]
push 2
push dword [esi + 4]
call dword [eax]
mov edi, eax
test edi, edi
jne 0x100f7447
call fcn.10024740
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov ecx, dword [esi + 4]
lea eax, [ecx*2 + 2]
push eax
lea eax, [esi + 0x10]
push eax
lea eax, [ecx*2 + 2]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.10103d20
add esp, 0x10
mov ecx, dword [ebp - 0xa4]
lea eax, [edi + 0x10]
mov edx, ebx
mov dword [ecx], eax
lea ecx, [ebp - 0xb0]
call fcn.10045200
add esp, 4
mov byte [ebp - 4], 0x2b
push dword [eax]
lea eax, [ebp - 0xac]
push str.Race_condition_problem._Cannot_load_library:__s
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x2c
mov ecx, dword [eax]
call fcn.100f8500
push 0x80070057
call fcn.100223c0
push ebx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
xor eax, eax
jne 0x100f75bf
push dword [ebp - 0xd8]
lea eax, [ebp - 0xa8]
push str.IAT_after_LoadStaticDlls___p_:
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0x3f
mov ecx, str.DllMain
mov edx, dword [ebp - 0xa8]
call fcn.10043b30
mov byte [ebp - 4], 0x13
mov ecx, esi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f751a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push str.________________________________________________
lea ecx, [ebp - 0xa8]
call fcn.10023fc0
mov byte [ebp - 4], 0x40
mov ecx, str.DllMain
mov edx, dword [ebp - 0xa8]
call fcn.10043b30
mov byte [ebp - 4], 0x13
mov ecx, esi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f7561
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xd8]
call fcn.1004d9b0
mov eax, dword [ebp - 0xd8]
push eax
push eax
lea eax, [ebp - 0xa8]
push str.AppImageBase_0x_p__hs
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x41
mov ecx, str.DllMain
mov edx, dword [ebp - 0xa8]
call fcn.10043b30
mov byte [ebp - 4], 0x13
mov ecx, esi
mov edx, dword [ebp - 0xa8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f75bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0xfffffff0
mov byte [ebp - 4], 5
mov ecx, esi
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f75dc
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add ebx, 0xfffffff0
mov byte [ebp - 4], 1
mov ecx, esi
lea eax, [ebx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f75f9
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, esi
mov edx, dword [ebp - 0xe8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f761c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [ebp - 0xb0]
lea eax, [edi + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x100f6005
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
jmp 0x100f6005
mov edi, dword [ebp - 0x12c]
mov edx, dword [ebp - 0xd8]
add edi, edx
mov eax, dword [ebp - 0x138]
add ecx, edx
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xec], ecx
test eax, eax
je 0x100f7676
add eax, edx
mov dword [ebp - 0xa8], eax
jmp 0x100f767e
mov eax, ecx
mov dword [ebp - 0xa8], ecx
test eax, eax
je 0x100f76e7
cmp dword [eax], 0
jne 0x100f76e7
push edi
lea eax, [ebp - 0xa4]
push str._Special_case:_DLL_imported__but_no_functions_imported_from_it._Skipping_it_to_mimic_Windows_behavior:__hs
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 8
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f790d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0xb4]
add edi, 0x14
mov dword [ebp - 0xb4], edi
jmp 0x100f6141
push edi
lea eax, [ebp - 0xac]
mov byte [ebp - 4], 9
push str.About_to_LoadLibrary__hs_
push eax
call fcn.10044f30
add esp, 0xc
mov byte [ebp - 4], 0xa
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 9
mov ecx, esi
mov edx, dword [ebp - 0xac]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f7733
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
mov dword [0x10174efc], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
push edi
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xb8]
push str.LoadLibrary__hs__.8p
push eax
mov dword [0x10174efc], 0
mov dword [ebp - 4], 5
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0xe
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0xb8]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f77a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0xc0], 0
jne 0x100f7898
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
push eax
push edi
lea eax, [ebp - 0xb0]
push str._LoadLibrary__hs__failed._LE_d
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0xf
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f7802
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
cmp eax, 0x7e
jne 0x100f782f
push str.mscoree.dll
push edi
call fcn.101059b1
add esp, 8
test eax, eax
jne 0x100f782f
push eax
push str.Fatal
push str..NET_framework_missing
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x100f7875
call ebx
push eax
push edi
lea eax, [ebp - 0xb0]
push str.Failed_loading__hs__error__d_
push eax
call fcn.10044f30
add esp, 0x10
push 0
push str.Fatal
push dword [eax]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0xb0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], esi
dec esi
test esi, esi
jg 0x100f7875
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call ebx
push eax
push edi
lea eax, [ebp - 0xb0]
push str.LoadLibrary_failed:__hs_with_error__d
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x10
mov ecx, dword [eax]
call fcn.100f8500
push dword [ebp - 0x138]
lea eax, [ebp - 0xf0]
push dword [ebp - 0xd4]
push str.IAT_IDD.FirstThunk__p__INT_IDD.OriginalFirstThunk__p
push eax
call fcn.10044f30
add esp, 0x10
mov byte [ebp - 4], 0x11
mov ecx, str.LoadStaticDlls
mov edx, dword [eax]
call fcn.10043b30
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0xf0]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f78eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xd8]
mov edx, edi
push dword [ebp - 0xec]
push dword [ebp - 0xc0]
call fcn.100f5bd0
add esp, 0xc
mov edi, dword [ebp - 0xb4]
add edi, 0x14
mov dword [ebp - 0xb4], edi
jmp 0x100f6141
mov eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0xa4]
add eax, dword [ebp - 0xd8]
push eax
call fcn.100264e0
push eax
mov ecx, 0x10175430
mov byte [ebp - 4], 6
call fcn.10039ca0
mov byte [ebp - 4], 5
mov ecx, esi
mov edx, dword [ebp - 0xa4]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x100f79fd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add edi, 0x14
jmp 0x100f60d0