Function at 0x10145c30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
mov eax, dword [0x101dc354]
xor eax, esp
mov dword [esp + 0x90], eax
push ebx
push esi
push edi
mov ebx, ecx
xor ecx, ecx
push 9
pop eax
mov esi, ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], ecx
mov byte [esp + 0x17], cl
mov dword [esp + 0x30], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x44], ecx
cmp dword [ebx + 0x34], ecx
jne 0x10145dba
push 0x1005cb88
push 1
mov edi, 0x800f0800
push edi
push 0x4000000
mov dword [esp + 0x20], edi
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebx + 0x30]
push edi
call fcn.10127d51
test eax, eax
je 0x101466cc
cmp dword [esp + 0x30], 0
je 0x101466cc
mov ecx, dword [ebx + 0x34]
lea eax, [esp + 0x18]
push eax
push dword [ebx + 0x30]
mov dword [esp + 0x20], 0x1000
mov dword [esp + 0x38], 0x1000
call fcn.10138af5
test eax, eax
jns 0x10145d24
mov ecx, dword [ebx + 0x34]
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x10145d0e
mov ecx, 0x100082e8
push ecx
push 0x1005d1bc
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x14
mov ecx, dword [ebx + 0x34]
lea eax, [esp + 0x30]
push eax
push 0
push dword [ebx + 0x30]
call fcn.10138c88
test eax, eax
jns 0x10145d5f
mov ecx, dword [ebx + 0x34]
mov ecx, dword [ecx + 0x48]
test ecx, ecx
jne 0x10145d49
mov ecx, 0x100082e8
push ecx
push 0x1005d190
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x14
mov eax, dword [ebx + 0x30]
mov edx, dword [eax + 0x2a8]
mov esi, dword [eax + 0x34]
mov eax, dword [ebx + 0x34]
mov ecx, dword [eax + 0x48]
test ecx, ecx
jne 0x10145d7a
mov ecx, 0x100082e8
test edx, edx
mov edx, edi
setne al
movzx eax, al
push eax
push esi
push dword [esp + 0x38]
mov esi, dword [esp + 0x2c]
push dword [esp + 0x24]
push esi
call fcn.100e1fae
test eax, eax
jns 0x101466d0
push 0x1005d214
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
jmp 0x101466d0
cmp dword [0x101dea24], ecx
je 0x10145dd8
mov eax, dword [ebx]
mov esi, dword [eax + 0x10]
mov ecx, esi
call dword [0x101e07c0]
mov ecx, ebx
call esi
jmp 0x10146c99
mov ecx, dword [ebx + 0x30]
call fcn.100b3e5c
xor esi, esi
mov edi, 0x4000000
inc esi
test eax, eax
jne 0x10145df9
mov ecx, dword [ebx + 0x30]
test byte [ecx + 0x4c], 0x80
jne 0x10145e7f
mov ecx, dword [ebx + 0x30]
call fcn.100b3e5c
test eax, eax
jne 0x10145f3e
mov eax, dword [ebx + 0x30]
mov edx, 0x1005482c
push 0
mov ecx, dword [eax + 0x34]
call fcn.100b681f
test al, al
je 0x10145f3e
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x10]
and dword [esp + 0x10], 0
push eax
push dword [ebx + 0x34]
call fcn.10129c93
mov ecx, eax
mov dword [esp + 0x54], ecx
test ecx, ecx
jns 0x10145e68
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x10145e51
mov eax, 0x100082e8
push eax
push 0x100211cc
push esi
push ecx
push edi
call fcn.100ab973
mov ecx, dword [esp + 0x68]
add esp, 0x14
test ecx, ecx
jne 0x10145f3e
mov eax, dword [esp + 0x10]
cmp dword [eax + 4], 0
jne 0x10145f3e
mov ecx, dword [ebx + 0x30]
and dword [esp + 0x10], 0
lea eax, [esp + 0x10]
push eax
mov edx, 0x1005cb68
mov dword [esp + 0x58], esi
call fcn.100b2c1d
test eax, eax
jns 0x10145ea0
push 3
pop eax
jmp 0x10145ea4
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], eax
test al, 2
je 0x10145efb
push 0x1005cc00
push 0
push 0
push edi
call fcn.100ab973
add esp, 0x10
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
push eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_SetThreadPriority]
test eax, eax
jne 0x10145ef7
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
test eax, eax
jle 0x10145ee5
movzx eax, ax
or eax, 0x80070000
test eax, eax
jns 0x10145ef7
push 0x1005ae38
push esi
push eax
push edi
call fcn.100ab973
add esp, 0x10
mov eax, dword [esp + 0x10]
test al, 1
je 0x10145f3e
push 0x1005cbb0
push 0
push 0
push edi
call fcn.100ab973
add esp, 0x10
lea eax, [esp + 0x54]
push 4
push eax
push 0x16
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThread]
push eax
call dword [sym.imp.ntdll.dll_NtSetInformationThread]
or eax, 0x10000000
jge 0x10145f3e
push 0x1005cc50
push esi
push eax
push edi
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebx + 0x30]
call fcn.1012b052
test al, al
jne 0x10145f53
mov dword [ecx + 0x264], esi
mov ecx, dword [ebx + 0x30]
call fcn.1012b01b
test eax, eax
jne 0x10145f8a
mov eax, dword [ebx + 0x30]
test dword [eax + 0x4c], 0x100000
jne 0x10145f8a
lea edx, [esp + 0x44]
mov ecx, 0x1005ccb8
call fcn.100ed86c
test eax, eax
jns 0x10145f8a
push 0x100297c8
push esi
push eax
push edi
call fcn.100ab973
add esp, 0x10
mov ecx, dword [0x101dca50]
push ebx
push dword [ebx + 0x30]
call fcn.1010401a
mov ecx, dword [ebx + 0x30]
mov edx, 0x1002982c
mov dword [esp + 0x54], eax
lea eax, [esp + 0x38]
push eax
call fcn.100b063a
test eax, eax
jne 0x10145fcf
cmp dword [esp + 0x38], eax
je 0x10145fcf
push 0x10029848
mov edi, 0x800f0830
push esi
push edi
push 0x2000000
jmp 0x10145cb3
mov ecx, dword [ebx + 0x30]
call fcn.100b3e5c
test eax, eax
je 0x10146005
mov eax, dword [ebx + 0x30]
mov edx, 0x1005482c
push 0
mov ecx, dword [eax + 0x34]
call fcn.100b681f
test al, al
je 0x10146005
push 0x1005cc78
push 0
push 0
push edi
call fcn.100ab973
add esp, 0x10
jmp 0x10146044
mov ecx, dword [ebx + 0x30]
lea edx, [esp + 0x18]
call fcn.100fa876
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x1014602c
push 0x1003bbdc
push esi
push edi
push 0x2000000
jmp 0x101466b8
cmp dword [esp + 0x18], 3
jl 0x1014603f
mov edi, 0x800f082f
push 0x1005cd28
jmp 0x10145fc3
mov edi, 0x4000000
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x10146056
mov ecx, 0x100082e8
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x10146062
mov eax, 0x100082e8
push ecx
push eax
push dword [edx + 0x30]
push dword [edx + 0x34]
push 0x1005ccd0
push 0
push 0
push edi
call fcn.100ab973
mov ecx, dword [ebx + 0x30]
add esp, 0x20
mov edi, ecx
cmp dword [ecx + 0x34], 0
je 0x101460d3
cmp dword [ecx + 0x30], 0
je 0x101460d3
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x48]
mov edx, eax
test eax, eax
jne 0x1014609e
mov edx, 0x100082e8
test edx, edx
je 0x101460d3
test eax, eax
jne 0x101460ab
mov eax, 0x100082e8
push eax
push dword [ecx + 0x30]
mov esi, 0x1002f218
push dword [ecx + 0x34]
push 0x1005cd98
sub esp, 0x10
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100ea948
mov edi, dword [ebx + 0x30]
xor esi, esi
add esp, 0x20
inc esi
lea eax, [ebx + 0x114]
mov edx, 0x1003ca9c
push esi
push eax
mov ecx, edi
call fcn.100f9904
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x101460fb
push 0x1005cd70
jmp 0x10146020
push dword [ebx + 0x114]
push 0x1005ce44
push 0
push 0
push 0x4000000
call fcn.100ab973
add esp, 0x14
cmp dword [0x101dba50], 5
jbe 0x10146184
push 0x4000
push 0
mov ecx, 0x101dba50
call fcn.10111058
test al, al
je 0x10146184
mov edx, dword [ebx + 0x30]
lea ecx, [esp + 0x78]
mov edx, dword [edx + 0x30]
call fcn.10111017
and dword [esp + 0x8c], 0
lea eax, [ebx + 0x118]
and dword [esp + 0x94], 0
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], 0x10
lea eax, [esp + 0x58]
mov edx, 0x1002809e
push eax
push 4
push ecx
push ecx
mov ecx, 0x101dba50
call fcn.10111095
mov ecx, dword [ebx + 0x30]
xor edx, edx
push 0
mov dword [esp + 0x34], esi
call fcn.100fb4a5
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x40], eax
call fcn.100b3e5c
test eax, eax
jne 0x101461e6
mov eax, dword [0x101dca50]
cmp dword [eax + 0xc0], 0
jne 0x101461e6
mov eax, dword [ebx + 0x30]
test byte [eax + 0x4c], 0x80
jne 0x101461e6
push 2
pop ecx
call fcn.100e64a4
mov ecx, dword [ebx + 0x30]
mov dword [esp + 0x40], esi
call fcn.100f53be
test eax, eax
jns 0x101461e6
push 0x1005ad18
push esi
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp dword [ebx + 0x130], 0
jne 0x10146211
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x12c]
cmp eax, dword [ecx + 0x134]
jb 0x10146211
cmp dword [ecx + 0x18c], 0
je 0x10146211
xor eax, eax
inc eax
jmp 0x10146510
mov ecx, dword [ebx + 0x30]
cmp dword [ecx + 0x150], 0
je 0x10146397
push 0
push 0
push 0x30
call fcn.10126aad
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x10146240
push 0x1005ce20
jmp 0x10146020
lea eax, [ebx + 0xec]
mov ecx, ebx
push eax
call fcn.1014527c
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x10146262
push 0x1005ce8c
jmp 0x10146020
push dword [ebx + 0xf8]
mov ecx, dword [ebx + 0x30]
call fcn.10133a7e
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x10146284
push 0x1005ce68
jmp 0x10146020
xor edi, edi
cmp dword [ebx + 0x20], edi
jne 0x1014638f
mov ecx, dword [ebx + 0x30]
call fcn.100b3e5c
test eax, eax
jne 0x1014638f
cmp dword [ebx + 0x40], edi
jne 0x1014638f
mov edx, dword [ebx + 0x10c]
lea eax, [esp + 0x3c]
push eax
mov ecx, 0x12c
call fcn.1010c1e8
test eax, eax
jns 0x101462da
push 0x1005cf08
push esi
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
jmp 0x1014638f
mov ecx, dword [ebx + 0x34]
lea eax, [esp + 0x18]
push eax
push edi
push dword [ebx + 0x30]
mov dword [esp + 0x24], 0x1000
call fcn.10138c88
mov edi, eax
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], edi
mov eax, dword [eax + 0x48]
test edi, edi
jns 0x1014632a
test eax, eax
jne 0x10146310
mov eax, 0x100082e8
push eax
push 0x100587a4
push esi
push edi
push 0x2000000
call fcn.100ab973
add esp, 0x14
jmp 0x101466c0
mov edi, eax
test eax, eax
jne 0x10146335
mov edi, 0x100082e8
mov esi, dword [esp + 0x18]
mov ecx, esi
call fcn.100aba94
mov ecx, dword [esp + 0x34]
push eax
mov ecx, dword [ecx + 0x17c]
call fcn.100aba94
push eax
push edi
push 0x1005cec0
xor edi, edi
push edi
push edi
push 0x4000000
call fcn.100ab973
mov eax, dword [ebx + 0x34]
add esp, 0x1c
mov ecx, dword [esp + 0x3c]
xor edx, edx
cmp esi, dword [eax + 0x17c]
lea eax, [esp + 0x48]
push eax
setge dl
call fcn.1011dd7f
xor esi, esi
inc esi
test eax, eax
js 0x1014638f
mov dword [esp + 0x1c], esi
mov eax, dword [ebx + 0x12c]
jmp 0x101463ce
and dword [esp + 0x18], 0
lea eax, [esp + 0x18]
push eax
push 0x1005cf90
call fcn.100fa79e
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x101463bf
push 0x1005cf40
jmp 0x10146020
xor eax, eax
cmp dword [esp + 0x18], eax
setne al
mov dword [ebx + 0x12c], eax
test eax, eax
je 0x101464c4
mov eax, dword [ebx + 0x30]
cmp dword [eax + 0x150], 0
jne 0x10146401
mov ecx, ebx
call fcn.1014a432
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x1014647e
push 0x1005cfd0
jmp 0x10146020
lea edi, [ebx + 0xec]
push 0
mov ecx, edi
call fcn.100e0ab3
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
je 0x10146421
mov eax, dword [ebx + 0x30]
mov dword [eax + 0x160], esi
mov eax, dword [ebx + 0xf8]
mov ecx, edi
dec eax
push eax
call fcn.100e0ab3
mov eax, dword [eax]
cmp dword [eax + 0x58], 0
je 0x10146441
mov eax, dword [ebx + 0x30]
mov dword [eax + 0x164], esi
mov ecx, ebx
call fcn.1014a76e
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x1014645c
push 0x1005cfac
jmp 0x10146020
mov ecx, dword [ebx + 0x30]
mov edx, 0x1005cf90
push esi
call fcn.100fe5ac
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x1014647e
push 0x1005d01c
jmp 0x10146020
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.1014e36c
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x10146504
push 0x1005cff0
push esi
push edi
push 0x2000000
call fcn.100ab973
mov esi, dword [esp + 0x38]
mov dword [esp + 0x30], esi
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x34], eax
jmp 0x101466bd
lea eax, [esp + 0x2c]
mov ecx, ebx
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x30]
push eax
push 0
call fcn.1014da85
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x10146504
push 0x1005c738
push esi
push edi
mov ecx, edi
call fcn.10114eaa
push eax
call fcn.100ab973
mov eax, dword [esp + 0x38]
mov dword [esp + 0x30], eax
jmp 0x101464b7
mov eax, dword [esp + 0x28]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
cmp dword [ebx + 0x28], 0
mov dword [esp + 0x24], eax
je 0x10146585
push 1
push 0xf
mov ecx, ebx
call fcn.1014fc57
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x1014653c
push 0x1005d090
push 1
push edi
jmp 0x101466b3
mov ecx, ebx
call fcn.1014b141
mov ecx, dword [ebx + 0x30]
call fcn.100e68e3
push 0x1005d040
xor esi, esi
inc esi
push esi
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov ecx, esi
call fcn.100e64a4
push 0x1005d0c4
push 0
push 0
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov dword [esp + 0x24], esi
jmp 0x101465b1
cmp dword [esp + 0x50], 1
jne 0x101465ae
cmp eax, 1
jne 0x101465ae
cmp dword [ebx + 0x12c], 0
jne 0x101465ae
push eax
push 0x10
mov ecx, ebx
call fcn.1014fc57
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
js 0x1014652f
xor esi, esi
inc esi
mov ecx, ebx
call fcn.101508e0
test eax, eax
jns 0x101465d0
push 0x1005d0b0
push esi
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebx + 0x30]
test byte [ecx + 0x31c], 0x20
je 0x10146608
mov eax, dword [ebx + 0x34]
mov edx, dword [eax + 0x48]
test edx, edx
jne 0x101465eb
mov edx, 0x100082e8
call fcn.1013f913
test eax, eax
jns 0x10146608
push 0x1005d114
push esi
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebx + 0x30]
xor eax, eax
cmp dword [ecx + 0x18c], eax
je 0x10146660
cmp dword [ebx + 0x128], eax
jne 0x10146660
cmp dword [esp + 0x50], eax
jne 0x10146644
cmp dword [ebx + 0x40], eax
jne 0x10146644
mov ecx, ebx
call fcn.1014701b
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x10146660
push 0x1005d0e8
push esi
jmp 0x10146536
call fcn.1012f029
mov edi, eax
mov dword [esp + 0x10], edi
test edi, edi
jns 0x1014665a
push 0x1005d164
jmp 0x1014663e
mov dword [esp + 0x50], esi
jmp 0x10146664
mov esi, dword [esp + 0x50]
cmp dword [esp + 0x24], 0
jne 0x10146696
mov eax, dword [esp + 0x20]
mov ecx, ebx
push eax
push esi
push edi
lea eax, [ebx + 0x6c]
push eax
call fcn.10147bbd
mov edi, eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x10], edi
test edi, edi
jns 0x10146696
push 0x1005c784
jmp 0x10146534
and dword [esp + 0x34], 0
lea eax, [esp + 0x34]
push eax
mov ecx, ebx
call fcn.1014d066
test eax, eax
jns 0x101466c0
push 0x1005d144
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
test edi, edi
js 0x10145cbf
xor esi, esi
jmp 0x101466d0
mov esi, dword [esp + 0x20]
xor ecx, ecx
cmp dword [ebx + 0x68], ecx
je 0x1014672c
mov eax, dword [ebx + 0x34]
cmp dword [eax + 0x1dc], ecx
jne 0x101466ea
cmp dword [eax + 0x1e0], ecx
je 0x1014672c
mov ecx, dword [ebx + 0x30]
call fcn.100b3e5c
test eax, eax
jne 0x1014672c
cmp dword [esp + 0x50], eax
je 0x1014672c
mov eax, dword [ebx + 0x34]
mov ecx, dword [ebx + 0x30]
push dword [eax + 0x1e0]
mov edx, dword [eax + 0x1dc]
call fcn.100f7604
test eax, eax
jns 0x1014672c
push 0x1005d1e8
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp dword [esp + 0x40], 0
je 0x1014675f
push 3
pop ecx
call fcn.100e64a4
mov ecx, dword [ebx + 0x30]
xor edx, edx
inc edx
call fcn.100f5496
test eax, eax
jns 0x1014675f
push 0x1005b278
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10146771
add eax, 0xfffffffc
push eax
call fcn.100b84f9
pop ecx
cmp dword [esp + 0x24], 0
jne 0x101467ce
cmp byte [esp + 0x17], 0
jne 0x101467b9
push esi
push dword [esp + 0x54]
lea eax, [ebx + 0x6c]
mov ecx, ebx
push edi
push eax
call fcn.10147bbd
mov esi, eax
test esi, esi
jns 0x101467ab
push 0x1005c784
push 1
push esi
push 0x4000000
call fcn.100ab973
add esp, 0x10
test edi, edi
js 0x101467b9
test esi, esi
jns 0x101467b9
mov edi, esi
mov dword [esp + 0x10], edi
mov ecx, dword [ebx + 0x30]
mov edx, 0x1002b610
call fcn.100fe758
mov ecx, dword [ebx + 0x30]
call fcn.100f7df0
xor esi, esi
cmp dword [esp + 0x50], esi
jne 0x101467fc
cmp dword [ebx + 0x40], esi
jne 0x101467fc
mov ecx, dword [ebx + 0x30]
call fcn.100e2de0
test eax, eax
jns 0x101467fc
push 0x1002ed9c
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp dword [esp + 0x1c], 0
je 0x10146827
cmp edi, 0x800f0820
je 0x10146817
cmp edi, 0x800f0821
je 0x10146817
mov ecx, esi
jmp 0x1014681a
xor ecx, ecx
inc ecx
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.1011de98
test edi, edi
js 0x101468fd
cmp dword [esp + 0x50], 0
je 0x101468fd
cmp dword [ebx + 0xf8], 1
jbe 0x10146876
mov eax, dword [ebx + 0x30]
cmp dword [eax + 0x150], esi
je 0x10146876
mov ecx, ebx
call fcn.1014a76e
mov esi, eax
test esi, esi
jns 0x10146876
push 0x1005cfac
push 1
push esi
push 0x4000000
call fcn.100ab973
mov edi, esi
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
js 0x101468f2
cmp dword [ebx + 0x28], 0
je 0x101468ba
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x34], eax
test eax, eax
je 0x1014689e
mov eax, dword [eax]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101e07c0]
mov ecx, dword [esp + 0x34]
call esi
push dword [esp + 0x50]
mov ecx, dword [ebx + 0x30]
push edi
push 0x65
call fcn.10126aad
mov esi, eax
test esi, esi
jns 0x101468ee
mov eax, 0x1005d270
jmp 0x101468d7
push dword [esp + 0x50]
mov ecx, dword [ebx + 0x30]
push edi
push 0x80
call fcn.10126aad
mov esi, eax
test esi, esi
jns 0x101468ee
mov eax, 0x1005d248
push eax
push 1
push esi
push 0x4000000
call fcn.100ab973
mov edi, esi
add esp, 0x10
mov dword [esp + 0x10], edi
test edi, edi
jns 0x1014695f
mov eax, dword [ebx + 0x30]
mov dword [eax + 0x138], edi
jmp 0x10146957
mov eax, dword [ebx + 0x30]
mov dword [eax + 0x138], edi
cmp dword [ebx + 0x134], esi
je 0x10146957
cmp dword [ebx + 0x12c], esi
je 0x1014692f
cmp dword [ebx + 0x128], esi
je 0x1014692f
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x12c]
cmp eax, dword [ecx + 0x134]
jb 0x10146957
mov ecx, dword [ebx + 0x30]
push esi
push edi
push 0xd0
call fcn.10126aad
test eax, eax
jns 0x10146957
push 0x10020d84
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
test edi, edi
js 0x10146a1c
cmp dword [ebx + 0x2c], 0
jne 0x10146a1c
mov ecx, dword [ebx + 0x30]
lea eax, [esp + 0x1c]
and dword [esp + 0x1c], 0
mov edx, 0x1002b888
push eax
call fcn.100b2c1d
cmp eax, 0x80070002
jne 0x10146990
and dword [esp + 0x1c], 0
xor eax, eax
jmp 0x10146998
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov esi, 0x4000000
test eax, eax
jns 0x101469b2
push 0x1005d2cc
push 1
push eax
push esi
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebx + 0x30]
mov edx, dword [ecx + 0x48]
mov eax, edx
and eax, 0x400
jne 0x101469c7
cmp dword [esp + 0x1c], eax
je 0x10146a1c
cmp dword [esp + 0x50], 0
jne 0x10146a02
cmp dword [ebx + 0x128], 0
jne 0x10146a02
test eax, eax
je 0x101469ec
mov eax, edx
and eax, 0x2000
or eax, 0x4000
shr eax, 0xc
jmp 0x101469ef
push 3
pop eax
push eax
mov ecx, ebx
call fcn.10146e1c
test eax, eax
jns 0x10146a1c
push 0x1005d374
jmp 0x10146a10
call fcn.100fc447
test eax, eax
jns 0x10146a1c
push 0x1005d294
push 1
push eax
push esi
call fcn.100ab973
add esp, 0x10
mov eax, dword [ebx + 0x30]
test edi, edi
jns 0x10146a36
push edi
push 0
lea ecx, [eax + 0x200]
call fcn.101550ea
jmp 0x10146b67
mov esi, dword [eax + 0x34]
test esi, esi
je 0x10146a84
mov edx, dword [eax + 0x30]
test edx, edx
je 0x10146a84
mov eax, dword [ebx + 0x34]
mov eax, dword [eax + 0x48]
mov ecx, eax
test eax, eax
jne 0x10146a55
mov ecx, 0x100082e8
test ecx, ecx
je 0x10146a84
test eax, eax
jne 0x10146a62
mov eax, 0x100082e8
push eax
push edx
push esi
push 0x1005d2f0
sub esp, 0x10
mov esi, 0x1002f028
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100ea948
mov edi, dword [esp + 0x30]
add esp, 0x20
cmp dword [ebx + 0x128], 0
je 0x10146b67
mov ecx, dword [ebx + 0x30]
mov eax, dword [ecx + 0x12c]
cmp eax, dword [ecx + 0x134]
jb 0x10146af2
push ecx
mov ecx, dword [0x101dca50]
call fcn.10103090
test eax, eax
je 0x10146ab9
push 0x1005d410
jmp 0x10146b1f
push 0x1005d3b0
push 0
push 0
push 0x4000000
call fcn.100ab973
mov ecx, dword [ebx + 0x30]
add esp, 0x10
mov eax, 0xf0803
add ecx, 0x200
mov dword [ebx + 0x138], eax
push eax
push 0
call fcn.101550ea
call fcn.100e6463
jmp 0x10146b4c
push dword [esp + 0x50]
push edi
push 0x80
call fcn.10126aad
test eax, eax
jns 0x10146b1a
push 0x1005d248
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
push 0x1005d4a8
push 0
push 0
push 0x4000000
call fcn.100ab973
mov ecx, dword [ebx + 0x30]
add esp, 0x10
mov esi, 0xf0833
add ecx, 0x200
push esi
push 0
call fcn.101550ea
mov dword [ebx + 0x138], esi
push 0x1005d478
sub esp, 0x10
mov esi, 0x1002f140
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100ea948
add esp, 0x14
mov edi, dword [ebx + 0xc]
test edi, edi
je 0x10146b7f
mov eax, dword [edi]
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101e07c0]
mov ecx, edi
call esi
mov esi, dword [esp + 0x10]
test esi, esi
jns 0x10146ba8
push esi
mov ecx, ebx
call fcn.10150b08
test eax, eax
jns 0x10146ba8
push 0x1005d550
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
mov ecx, dword [ebx + 0x30]
add ecx, 0x200
call fcn.1015551d
cmp dword [esp + 0x54], 0
mov edi, dword [0x101dca50]
je 0x10146bdb
lea ecx, [edi + 0xc8]
call fcn.100b6264
and dword [edi + 0x118], 0
mov edi, dword [0x101dca50]
mov ecx, dword [ebx + 0x30]
cmp dword [ecx + 0x280], 0
je 0x10146bf1
and dword [edi + 0xd0], 0
mov ecx, dword [ebx + 0x30]
call fcn.1012b05d
test eax, eax
je 0x10146c08
push dword [ebx + 0x30]
mov ecx, dword [0x101dca50]
call fcn.1010499a
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x30]
mov ecx, dword [eax + 0x60]
test ecx, ecx
jne 0x10146c1a
mov ecx, 0x100082e8
mov eax, dword [eax + 0x48]
test eax, eax
jne 0x10146c26
mov eax, 0x100082e8
push ecx
push eax
push dword [edx + 0x30]
push 0x1005d508
push 1
push esi
push 0x4000000
call fcn.100ab973
mov eax, dword [esp + 0x6c]
add esp, 0x1c
mov dword [ebx + 0x13c], esi
mov dword [ebx + 0x140], eax
mov ebx, dword [esp + 0x44]
test ebx, ebx
je 0x10146c84
mov ecx, ebx
call fcn.100ed776
test eax, eax
jns 0x10146c78
push 0x1002b634
push 1
push eax
push 0x4000000
call fcn.100ab973
add esp, 0x10
cmp ebx, 0xffffffff
je 0x10146c84
push ebx
call dword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
cmp dword [0x101de614], 0
je 0x10146c99
push 0
push 0x1005d5b8
call fcn.100ec994
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100b88c0
mov esp, ebp
pop ebp
ret