Function at 0x10023110
Capabilities:
Link many functions at runtime

Disassembly:
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x74]
mov eax, dword [edi + 0xa0]
push 1
push 0x3f7
push ecx
xor ebx, ebx
mov ecx, esp
mov dword [ecx], eax
cmp eax, ebx
je 0x1002313b
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
call fcn.10026f40
mov esi, dword [edi + 0xa0]
add esp, 0xc
cmp esi, ebx
je 0x100231ac
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x108]
lea eax, [esp + 0x20]
push eax
push 1
push 0x3f9
push esi
mov dword [esp + 0x30], ebx
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ebp, dword [esp + 0x20]
push esi
call eax
push ecx
mov eax, esp
mov dword [esp + 0x20], ebx
mov dword [eax], ebp
cmp ebp, ebx
je 0x10023192
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
lea esi, [esp + 0x20]
call fcn.1000a080
cmp eax, ebx
jge 0x100231b0
cmp eax, 0x80004002
je 0x100231b0
push eax
call fcn.100830f0
xor ebp, ebp
jmp 0x1002317c
cmp ebp, ebx
je 0x100231bd
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
cmp dword [esp + 0x1c], ebx
je 0x100238e0
mov edx, dword [edi + 0x30]
lea esi, [edi + 0x12c]
push esi
push edx
call dword [sym.imp.USER32.DLL_GetWindowRect]
mov eax, dword [0x100c7a30]
cmp eax, ebx
jne 0x10023213
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, ebx
jne 0x100231f7
mov eax, 0x1f4
jmp 0x1002321a
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a30], eax
cmp eax, ebx
jne 0x10023213
mov eax, 0x1f4
jmp 0x1002321a
push 0x1f4
call eax
mov ecx, dword [esi]
add ecx, eax
mov dword [edi + 0x134], ecx
mov eax, dword [esi + 4]
mov edx, dword [esi + 0xc]
mov ecx, dword [esi]
push 1
sub edx, eax
push edx
mov edx, dword [esi + 8]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x30]
push ecx
push eax
call dword [sym.imp.USER32.DLL_MoveWindow]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
call fcn.10026570
mov ebp, dword [esp + 0x1c]
test eax, eax
je 0x10023318
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x40]
lea edx, [esp + 0x60]
push edx
push ebp
call eax
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.USER32.DLL_CopyRect]
mov eax, dword [0x100c7a30]
cmp eax, ebx
jne 0x100232bd
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, ebx
jne 0x100232a1
mov esi, 3
jmp 0x100232c3
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a30], eax
cmp eax, ebx
jne 0x100232bd
mov esi, 3
jmp 0x100232cc
push 3
call eax
mov esi, eax
mov eax, dword [0x100c7a30]
cmp eax, ebx
jne 0x100232f8
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, ebx
jne 0x100232df
xor eax, eax
jmp 0x100232fb
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a30], eax
cmp eax, ebx
jne 0x100232f8
xor eax, eax
jmp 0x100232fb
push ebx
call eax
push esi
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.USER32.DLL_OffsetRect]
mov ecx, dword [ebp]
mov eax, dword [ecx + 0x44]
push 1
lea edx, [esp + 0x34]
push edx
push ebp
call eax
mov eax, dword [edi + 0xd4]
cmp dword [eax - 0xc], ebx
jl 0x10023333
mov dword [esp + 0x10], eax
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
jmp 0x10023347
mov ecx, dword [0x100bc66c]
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x14], ecx
call fcn.100035a0
lea esi, [esp + 0x10]
call fcn.10028f40
test eax, eax
jne 0x1002336a
mov edx, dword [edi + 0xd4]
push edx
push 0x100a97e8
mov ecx, esi
call fcn.10001df0
add esp, 8
mov eax, dword [edi + 0xa0]
mov esi, dword [edi + 0xbc]
push 0x3f9
push ecx
mov ecx, esp
mov dword [ecx], eax
cmp eax, ebx
je 0x1002338c
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, esi
call fcn.100256d0
mov eax, dword [ebp]
mov edx, dword [eax + 0x40]
add esp, 8
lea ecx, [esp + 0x60]
push ecx
push ebp
call edx
mov esi, dword [sym.imp.USER32.DLL_CopyRect]
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
push ecx
call esi
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x44]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x48]
add ecx, 0x3e8
mov dword [eax + 8], edx
mov dword [eax + 0xc], ecx
lea eax, [esp + 0x20]
push eax
push ecx
mov eax, esp
mov dword [esp + 0x54], ecx
mov dword [eax], ebp
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
call fcn.100261f0
mov eax, dword [ebp]
mov edx, dword [eax + 0x40]
add esp, 0x18
lea ecx, [esp + 0x60]
push ecx
push ebp
call edx
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x34]
push ecx
call esi
mov edx, dword [esp + 0x30]
mov esi, dword [edi + 0xa0]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x60], edx
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
cmp esi, ebx
je 0x1002349e
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push esi
call ecx
mov edx, dword [esi]
mov ecx, dword [edx + 0x108]
lea eax, [esp + 0x20]
push eax
push 1
push 0x3f7
push esi
mov dword [esp + 0x30], ebx
call ecx
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ebp, dword [esp + 0x20]
push esi
call eax
push ecx
mov eax, esp
mov dword [esp + 0x1c], ebx
mov dword [eax], ebp
cmp ebp, ebx
je 0x10023484
mov ecx, dword [ebp]
mov edx, dword [ecx + 4]
push ebp
call edx
lea esi, [esp + 0x1c]
call fcn.1000a140
cmp eax, ebx
jge 0x100234a2
cmp eax, 0x80004002
je 0x100234a2
push eax
call fcn.100830f0
xor ebp, ebp
jmp 0x1002346e
cmp ebp, ebx
je 0x100234af
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov esi, dword [edi + 0xa0]
cmp esi, ebx
je 0x10023518
mov edx, dword [esi]
mov eax, dword [edx + 4]
push esi
call eax
mov ecx, dword [esi]
mov eax, dword [ecx + 0x108]
lea edx, [esp + 0x20]
push edx
push 1
push 0x3fa
push esi
mov dword [esp + 0x30], ebx
call eax
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
mov ebp, dword [esp + 0x20]
push esi
call edx
push ecx
mov eax, esp
mov dword [esp + 0x18], ebx
mov dword [eax], ebp
cmp ebp, ebx
je 0x100234fe
mov eax, dword [ebp]
mov ecx, dword [eax + 4]
push ebp
call ecx
lea esi, [esp + 0x18]
call fcn.1001a1d0
cmp eax, ebx
jge 0x1002351c
cmp eax, 0x80004002
je 0x1002351c
push eax
call fcn.100830f0
xor ebp, ebp
jmp 0x100234e8
cmp ebp, ebx
je 0x10023529
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
cmp dword [esp + 0x14], ebx
je 0x100237ca
cmp dword [esp + 0x18], ebx
je 0x100237ca
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x40]
push ecx
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.USER32.DLL_CopyRect]
mov eax, dword [edi + 0x14c]
sub eax, dword [edi + 0x148]
xor esi, esi
sar eax, 3
mov dword [esp + 0x20], esi
test eax, eax
jbe 0x100237ca
jmp 0x10023580
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, edi
mov dword [esp + 0x2c], ebx
call fcn.10023f30
mov ebp, dword [esp + 0x24]
cmp ebp, ebx
je 0x100237ae
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x4c], eax
mov eax, dword [0x100c7a30]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
cmp eax, ebx
jne 0x100235fc
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, ebx
jne 0x100235e0
mov ebx, 0x11
jmp 0x10023602
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a30], eax
cmp eax, ebx
jne 0x100235fc
mov ebx, 0x11
jmp 0x10023607
push 0x11
call eax
mov ebx, eax
mov eax, dword [0x100c7a30]
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov dword [esp + 0x24], ecx
test eax, eax
jne 0x10023649
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
test eax, eax
jne 0x1002362d
mov eax, 8
jmp 0x1002364d
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a30], eax
test eax, eax
jne 0x10023649
mov eax, 8
jmp 0x1002364d
push 8
call eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x5c]
sub edx, dword [esp + 0x54]
add eax, ecx
imul eax, esi
add eax, ebx
add eax, dword [esp + 0x3c]
push 1
add edx, eax
mov dword [esp + 0x50], edx
lea ecx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov eax, dword [ebp]
mov edx, dword [eax + 0x44]
push ecx
push ebp
call edx
mov eax, dword [ebp]
mov ecx, dword [eax + 0x5c]
push 0
push 0x10000000
push ebp
call ecx
mov edx, dword [ebp]
mov ecx, dword [edx + 0x28]
lea eax, [esi + 0x2710]
push eax
push ebp
call ecx
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push ebp
push eax
mov eax, dword [edx + 0xf4]
call eax
mov ecx, dword [edi + 0x14c]
sub ecx, dword [edi + 0x148]
sar ecx, 3
cmp esi, ecx
jb 0x100236c6
call fcn.100848cc
mov edx, dword [edi + 0x148]
lea eax, [edx + esi*8]
mov esi, dword [eax]
mov eax, dword [eax + 4]
cmp dword [eax - 0xc], 0
mov dword [esp + 0x28], esi
jl 0x100236ec
mov edi, eax
lea eax, [edi - 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedIncrement]
jmp 0x10023708
mov ecx, dword [0x100bc66c]
push eax
lea eax, [esp + 0x30]
mov dword [esp + 0x30], ecx
call fcn.100035a0
mov edi, dword [esp + 0x2c]
mov esi, dword [esp + 0x28]
push ecx
mov ebx, esp
call fcn.10005c40
mov ecx, ebp
call fcn.10027460
mov edx, dword [ebp]
mov eax, dword [edx + 0xfc]
push esi
push ebp
call eax
test esi, esi
je 0x1002373c
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x74]
add ecx, 0x2710
mov dword [edx + 0x154], ecx
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
mov esi, dword [esp + 0x74]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x4c]
push 1
add ecx, 0x2710
mov dword [esp + 0x6c], edx
push ecx
lea edx, [esi + 0x4c]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x20]
push edx
call fcn.10028320
lea eax, [edi - 0xc]
cmp eax, 0x100bc65c
je 0x1002379b
lea esi, [edi - 0xc]
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x1002379b
push esi
call fcn.1008441c
add esp, 4
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x20]
xor ebx, ebx
mov eax, dword [edi + 0x14c]
sub eax, dword [edi + 0x148]
inc esi
sar eax, 3
mov dword [esp + 0x20], esi
cmp esi, eax
jb 0x10023580
mov ecx, dword [edi + 0x30]
lea esi, [edi + 0x12c]
push esi
push ecx
call dword [sym.imp.USER32.DLL_GetWindowRect]
mov eax, dword [0x100c7a30]
cmp eax, ebx
jne 0x10023822
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, ebx
jne 0x100237fa
mov eax, 0x1f4
jmp 0x10023829
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov ecx, eax
mov dword [0x100c7a30], ecx
cmp ecx, ebx
jne 0x10023819
mov eax, 0x1f4
jmp 0x1002382f
push 0x1f4
call ecx
jmp 0x10023829
push 0x1f4
call eax
mov ecx, dword [0x100c7a30]
mov edx, dword [esi]
add edx, eax
mov dword [edi + 0x134], edx
cmp ecx, ebx
jne 0x10023875
push 0x100a6b44
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
cmp eax, ebx
jne 0x10023853
mov eax, 0x4d
jmp 0x10023879
push 0x100a9e44
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov dword [0x100c7a30], eax
cmp eax, ebx
jne 0x1002386f
mov eax, 0x4d
jmp 0x10023879
push 0x4d
call eax
jmp 0x10023879
push 0x4d
call ecx
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [edi + 0x138], eax
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10023895
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x100238a5
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x10]
lea eax, [esi - 0xc]
cmp eax, 0x100bc65c
je 0x100238ca
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jg 0x100238ca
push esi
call fcn.1008441c
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
mov dword [esp + 4], eax
mov edx, dword [ecx + 8]
jmp edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret 4