Function at 0x10074280
Capabilities:
Access peb ldr_data
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x10182371
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x101c6444]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x101c6444]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [edi + 0x23c]
xor ebx, ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x8c], 1
call fcn.10133f1e
mov byte [esp + 0x23], al
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov eax, dword [edi + 0x1250]
mov ecx, dword [eax + 4]
lea esi, [edi + 0x124c]
push ecx
mov ecx, esi
mov dword [esp + 0x14c], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x28], ebx
call fcn.10069ac0
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov eax, dword [esi + 4]
mov dword [esi + 8], ebx
mov dword [eax], eax
mov esi, dword [esi + 4]
mov dword [esi + 8], esi
mov eax, dword [edi + 0xc]
mov esi, dword [eax]
lea ebx, [edi + 8]
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0x200]
cmp eax, ecx
mov byte [esp + 0x17], 0
jbe 0x10074366
sub eax, ecx
cmp eax, 0x7530
jae 0x10074366
mov byte [esp + 0x17], 1
test ebx, ebx
mov edx, dword [edi + 0xc]
lea eax, [edi + 8]
mov dword [esp + 0x88], edx
je 0x1007437b
cmp ebx, eax
je 0x10074380
call fcn.1015828d
cmp esi, dword [esp + 0x88]
je 0x100745bb
cmp byte [esp + 0x17], 0
je 0x100743b1
test ebx, ebx
jne 0x1007439d
call fcn.1015828d
cmp esi, dword [ebx + 4]
jne 0x100743a7
call fcn.1015828d
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 0x10]
jmp 0x100743cc
test ebx, ebx
jne 0x100743ba
call fcn.1015828d
cmp esi, dword [ebx + 4]
jne 0x100743c4
call fcn.1015828d
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
test eax, eax
mov dword [esp + 0x18], eax
je 0x1007444f
cmp esi, dword [ebx + 4]
jne 0x100743e0
call fcn.1015828d
lea eax, [esi + 0x10]
push eax
mov ecx, edi
call fcn.1006a0c0
cmp esi, dword [ebx + 4]
jne 0x100743f5
call fcn.1015828d
lea ecx, [esi + 0xc]
push ecx
lea ecx, [esp + 0x40]
call fcn.1003b120
cmp dword [esp + 0x18], 3
jne 0x100745a5
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp esi, dword [ebx + 4]
mov dword [esp + 0x18], eax
jne 0x10074421
call fcn.1015828d
add esi, 0x34
push esi
lea ecx, [edi + 0x70]
call fcn.1006a580
mov edx, dword [esp + 0x18]
add edx, 0x15f90
lea ecx, [esp + 0x50]
mov dword [eax], edx
call fcn.100653c0
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x10074366
cmp esi, dword [ebx + 4]
jne 0x10074459
call fcn.1015828d
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 0x18]
call edx
sub eax, 0
je 0x100744dd
sub eax, 1
jne 0x100745a5
cmp esi, dword [ebx + 4]
jne 0x1007447b
call fcn.1015828d
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 0x1c]
call edx
test eax, eax
jne 0x100744a4
add dword [esp + 0x34], 1
lea ecx, [esp + 0x50]
call fcn.100653c0
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x10074366
cmp esi, dword [ebx + 4]
jne 0x100744ae
call fcn.1015828d
mov esi, dword [esi + 0x74]
mov eax, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, esi
call edx
cmp eax, 1
jne 0x100745a5
add dword [esp + 0x24], eax
lea ecx, [esp + 0x50]
call fcn.100653c0
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x10074366
cmp esi, dword [ebx + 4]
jne 0x100744e7
call fcn.1015828d
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
call edx
test al, al
je 0x100744fc
add dword [esp + 0x10], 1
jmp 0x10074501
add dword [esp + 0x2c], 1
lea ecx, [esp + 0xa4]
call fcn.10034320
cmp esi, dword [ebx + 4]
mov byte [esp + 0x148], 1
jne 0x1007451f
call fcn.1015828d
mov ecx, dword [esi + 0x74]
mov eax, dword [ecx]
mov eax, dword [eax + 0xa4]
lea edx, [esp + 0xa4]
push edx
call eax
mov eax, dword [esp + 0x110]
mov ecx, dword [esp + 0x118]
add dword [esp + 0x8c], eax
add dword [esp + 0x94], ecx
cmp eax, ecx
jbe 0x10074583
cmp esi, dword [ebx + 4]
jne 0x1007455e
call fcn.1015828d
mov ecx, dword [esi + 0x40]
push ecx
lea edx, [esp + 0x60]
push edx
call fcn.100f29de
add esp, 8
cmp dword [esp + 0x74], 0x10
jb 0x10074583
mov eax, dword [esp + 0x60]
push eax
call fcn.10157f3b
add esp, 4
cmp dword [esp + 0xec], 0x10
mov byte [esp + 0x148], 0
jb 0x100745a5
mov ecx, dword [esp + 0xd8]
push ecx
call fcn.10157f3b
add esp, 4
lea ecx, [esp + 0x50]
call fcn.100653c0
mov esi, dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
jmp 0x10074366
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
movzx esi, byte [edi + 0x1d8]
lea ecx, [edx + eax]
cmp ecx, esi
jle 0x100745db
mov cl, dl
add cl, al
mov byte [edi + 0x1d8], cl
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
movzx ebx, byte [edi + 0x1d9]
lea esi, [eax + ecx]
cmp esi, ebx
jle 0x100745fb
mov bl, al
add bl, cl
mov byte [edi + 0x1d9], bl
mov bl, byte [esp + 0x10]
mov byte [edi + 0x1f0], bl
xor ebx, ebx
mov byte [edi + 0x1f1], dl
mov edx, dword [esp + 0x40]
mov byte [edi + 0x1f2], cl
mov byte [edi + 0x1f3], al
mov dword [esp + 0x10], ebx
test edx, edx
je 0x1007486f
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 2
cmp ebx, eax
jae 0x1007486f
mov ecx, dword [edi + 0xc]
mov eax, dword [ecx + 4]
cmp byte [eax + 0x81], 0
jne 0x10074667
mov esi, dword [edx + ebx*4]
lea esp, [esp]
cmp dword [eax + 0xc], esi
jae 0x1007465a
mov eax, dword [eax + 8]
jmp 0x1007465e
mov ecx, eax
mov eax, dword [eax]
cmp byte [eax + 0x81], 0
je 0x10074650
mov esi, dword [edi + 0xc]
cmp ecx, esi
lea eax, [edi + 8]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x2c], eax
je 0x10074687
mov ebx, dword [edx + ebx*4]
cmp ebx, dword [ecx + 0xc]
jb 0x10074687
lea ecx, [esp + 0x2c]
jmp 0x10074693
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x24]
mov esi, dword [ecx]
test esi, esi
mov ebx, dword [ecx + 4]
mov ecx, dword [eax + 4]
mov dword [esp + 0x88], ecx
je 0x100746aa
cmp esi, eax
je 0x100746b3
call fcn.1015828d
mov edx, dword [esp + 0x40]
cmp ebx, dword [esp + 0x88]
je 0x100747fe
lea ecx, [esp + 0xa4]
call fcn.10034320
test esi, esi
mov byte [esp + 0x148], 2
jne 0x100746dd
call fcn.1015828d
cmp ebx, dword [esi + 4]
jne 0x100746e7
call fcn.1015828d
mov ecx, dword [ebx + 0x74]
mov edx, dword [ecx]
mov edx, dword [edx + 0x2c]
lea eax, [esp + 0xa4]
push eax
call edx
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x1c]
lea esi, [edi + 0x1240]
push ecx
mov ecx, esi
call fcn.10066da0
mov eax, dword [esp + 0x18]
test eax, eax
mov edx, dword [esi + 4]
mov dword [esp + 0x38], edx
je 0x10074726
cmp eax, esi
je 0x1007472b
call fcn.1015828d
mov ebx, dword [esp + 0x1c]
cmp ebx, dword [esp + 0x38]
je 0x10074789
cmp dword [esp + 0x18], 0
jne 0x10074741
call fcn.1015828d
mov eax, dword [esp + 0x18]
cmp ebx, dword [eax + 4]
jne 0x1007474f
call fcn.1015828d
mov ecx, dword [esp + 0xbc]
add dword [ebx + 0x20], ecx
mov edx, dword [esp + 0xc0]
push 0
adc dword [ebx + 0x24], edx
call fcn.1015812a
mov esi, eax
mov eax, dword [esp + 0x1c]
add esp, 4
cmp ebx, dword [eax + 4]
jne 0x1007477d
call fcn.1015828d
sub esi, dword [esp + 0xa8]
mov dword [ebx + 0x18], esi
jmp 0x100747d8
push 0
call fcn.1015812a
mov ecx, dword [esp + 0xc0]
sub eax, dword [esp + 0xac]
mov edx, dword [esp + 0xc4]
mov ebx, dword [esp + 0xb0]
mov dword [esp + 0x70], ecx
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], edx
push ecx
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x54]
push edx
mov ecx, esi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x70], eax
call fcn.10068c80
cmp dword [esp + 0xec], 0x10
mov byte [esp + 0x148], 0
jb 0x100747fa
mov eax, dword [esp + 0xd8]
push eax
call fcn.10157f3b
add esp, 4
mov edx, dword [esp + 0x40]
test edx, edx
je 0x10074811
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 2
cmp dword [esp + 0x10], eax
jb 0x1007481a
call fcn.1015828d
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x10]
lea ecx, [edx + ebx*4]
push ecx
lea ecx, [edi + 8]
call fcn.10071f60
lea esi, [edi + 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov byte [edi + 0xe4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, dword [esp + 0x40]
test edx, edx
je 0x1007485a
mov eax, dword [esp + 0x44]
sub eax, edx
sar eax, 2
cmp ebx, eax
jb 0x10074863
call fcn.1015828d
mov edx, dword [esp + 0x40]
add ebx, 1
mov dword [esp + 0x10], ebx
jmp 0x10074621
cmp byte [esp + 0x23], 0
jne 0x10074a05
mov ecx, dword [edi + 0x240]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
cmp al, 2
je 0x100748ae
movzx ecx, byte [edi + 0x1f0]
cmp ecx, dword [edi + 0x3b4]
jae 0x100748ae
mov edx, dword [edi + 0x1f4]
push 1
push edx
push 2
push 0
mov ecx, edi
call fcn.10064f20
mov ecx, dword [edi + 0x240]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp al, 2
je 0x100749c4
lea esi, [edi + 0xcc]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov bl, byte [edi + 0xe4]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test bl, bl
je 0x100749c4
movzx eax, byte [edi + 0x1f1]
movzx ecx, byte [edi + 0x1f0]
add eax, ecx
jne 0x100749c4
mov eax, dword [edi + 0x30]
test eax, eax
je 0x1007491e
mov ecx, dword [edi + 0x34]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100749c4
cmp dword [edi + 0xf0], 0
jne 0x100749c4
cmp byte [edi + 0xf5e], 0
mov dword [esp + 0x18], 0xbb8
je 0x1007494d
cmp byte [edi + 0xf28], 0
je 0x1007494d
mov dword [esp + 0x18], 0x1d4c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ebx, [edi + 0xa8]
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [edi + 0xc0]
push ebx
mov dword [esp + 0x14], ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x18]
jb 0x100749c4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0xa8]
push esi
call ebx
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, edi
call fcn.10066700
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea esi, [edi + 0xa8]
push esi
mov dword [esp + 0x1c], eax
call ebx
mov edx, dword [esp + 0x18]
push esi
mov dword [edi + 0xc0], edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [edi + 0x240]
mov eax, dword [ecx]
mov edx, dword [eax + 0xc]
call edx
cmp al, 2
je 0x10074a01
mov eax, dword [edi + 0x30]
test eax, eax
je 0x100749f4
mov ecx, dword [edi + 0x34]
sub ecx, eax
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x100749fa
cmp dword [edi + 0x44], 0
jbe 0x10074a01
mov ecx, edi
call fcn.10072bc0
mov edx, dword [esp + 0x40]
cmp byte [edi + 0x1141], 0
je 0x10074a1c
test edx, edx
je 0x10074f27
push edx
jmp 0x10074f1f
lea esi, [edi + 0x124]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi + 0x13c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x57619f1
imul ebx
sar edx, 8
mov esi, edx
shr esi, 0x1f
add esi, edx
cmp byte [edi + 0x114b], 0
mov ebx, 0x23
mov dword [esp + 0x34], 0x10
mov dword [esp + 0x2c], 7
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x24], 0x19
mov dword [esp + 0x10], 0xe
je 0x10074ad5
lea esi, [edi + 0x124]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi + 0x13c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x68db8bad
imul ebx
sar edx, 0xd
mov esi, edx
shr esi, 0x1f
add esi, edx
mov ebx, 0xf
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x2c], 7
mov dword [esp + 0x50], 0x28
mov dword [esp + 0x24], 0x19
mov dword [esp + 0x10], 0xe
mov ecx, dword [edi + 0x394]
push 0
push ecx
call fcn.1010b39c
add esp, 8
mov ecx, eax
call fcn.1010a904
mov dword [esp + 0x18], eax
mov al, byte [edi + 0x1230]
cmp al, 3
je 0x10074c0b
mov edx, dword [esp + 0x18]
add edx, 0xffffffff
cmp edx, 0x62
ja 0x10074c0b
test al, al
jne 0x10074b5f
lea esi, [edi + 0x124]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi + 0x13c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x68db8bad
imul ebx
sar edx, 0xb
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0xcccccccd
mul dword [esp + 0x18]
shr edx, 2
cmp edx, 4
mov ebx, 4
jb 0x10074b56
mov ebx, edx
lea eax, [ebx + ebx + 0x14]
jmp 0x10074bf7
cmp al, 1
jne 0x10074bac
lea esi, [edi + 0x124]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi + 0x13c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x68db8bad
imul ebx
sar edx, 0xb
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0xcccccccd
mul dword [esp + 0x18]
shr edx, 2
cmp edx, 4
mov ebx, 4
jb 0x10074b56
mov ebx, edx
lea eax, [ebx + ebx + 0x14]
jmp 0x10074bf7
cmp al, 2
jne 0x10074c0b
lea esi, [edi + 0x124]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [edi + 0x13c]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 0x68db8bad
imul ebx
sar edx, 0xc
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, 0xcccccccd
mul dword [esp + 0x18]
shr edx, 3
cmp edx, 4
mov ebx, 4
jb 0x10074bf3
mov ebx, edx
lea eax, [ebx + ebx + 0xa]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x50], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
call fcn.10063c50
mov ecx, eax
call fcn.1005e590
test al, al
je 0x10074e35
mov eax, dword [edi + 0x1228]
sub eax, 0
je 0x10074d4c
sub eax, 2
je 0x10074c74
lea eax, [ebx - 5]
cmp eax, esi
mov ecx, eax
jg 0x10074c3e
mov ecx, esi
cmp ebx, ecx
jge 0x10074c59
mov eax, ebx
mov dword [edi + 0x3b4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x11b4], eax
jmp 0x10074e89
cmp eax, esi
jg 0x10074c5f
mov eax, esi
mov dword [edi + 0x3b4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x11b4], eax
jmp 0x10074e89
call fcn.10063c50
mov ecx, eax
call fcn.1005e5f0
test al, al
mov eax, dword [edi + 0x3b4]
mov ecx, eax
jne 0x10074cf5
cmp eax, esi
ja 0x10074c92
mov ecx, esi
mov edx, dword [edi + 0x122c]
cmp ecx, edx
jbe 0x10074ca8
cmp eax, esi
jbe 0x10074ca4
mov ecx, eax
jmp 0x10074caa
mov ecx, esi
jmp 0x10074caa
mov ecx, edx
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
jae 0x10074cc3
mov ecx, dword [esp + 0x24]
mov eax, ebx
mov dword [edi + 0x11b4], ecx
jmp 0x10074e83
cmp eax, esi
mov ecx, eax
ja 0x10074ccb
mov ecx, esi
cmp ecx, edx
jbe 0x10074ce4
cmp eax, esi
ja 0x10074ce6
mov ecx, dword [esp + 0x24]
mov eax, esi
mov dword [edi + 0x11b4], ecx
jmp 0x10074e83
mov eax, edx
mov ecx, dword [esp + 0x24]
mov dword [edi + 0x11b4], ecx
jmp 0x10074e83
cmp eax, esi
ja 0x10074cfb
mov ecx, esi
mov edx, dword [edi + 0x122c]
cmp ecx, edx
jbe 0x10074d11
cmp eax, esi
jbe 0x10074d0d
mov ecx, eax
jmp 0x10074d13
mov ecx, esi
jmp 0x10074d13
mov ecx, edx
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
jae 0x10074d26
mov edx, dword [esp + 0x10]
mov eax, ebx
jmp 0x10074e7d
cmp eax, esi
mov ecx, eax
ja 0x10074d2e
mov ecx, esi
cmp ecx, edx
jbe 0x10074d41
cmp eax, esi
ja 0x10074d43
mov edx, dword [esp + 0x10]
mov eax, esi
jmp 0x10074e7d
mov eax, edx
mov edx, dword [esp + 0x10]
jmp 0x10074e7d
call fcn.10063c50
mov ecx, eax
call fcn.1005e5f0
test al, al
mov eax, dword [edi + 0x3b4]
mov ecx, eax
jne 0x10074ddb
cmp eax, esi
ja 0x10074d6a
mov ecx, esi
mov edx, dword [edi + 0x122c]
cmp ecx, edx
jbe 0x10074d80
cmp eax, esi
jbe 0x10074d7c
mov ecx, eax
jmp 0x10074d82
mov ecx, esi
jmp 0x10074d82
mov ecx, edx
cmp ebx, ecx
jae 0x10074d9d
mov eax, ebx
mov dword [edi + 0x3b4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x11b4], eax
jmp 0x10074e89
cmp eax, esi
mov ecx, eax
ja 0x10074da5
mov ecx, esi
cmp ecx, edx
jbe 0x10074dc4
cmp eax, esi
ja 0x10074dc6
mov eax, esi
mov dword [edi + 0x3b4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x11b4], eax
jmp 0x10074e89
mov eax, edx
mov dword [edi + 0x3b4], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 0x11b4], eax
jmp 0x10074e89
cmp eax, esi
ja 0x10074de1
mov ecx, esi
mov edx, dword [edi + 0x122c]
cmp ecx, edx
jbe 0x10074df7
cmp eax, esi
jbe 0x10074df3
mov ecx, eax
jmp 0x10074df9
mov ecx, esi
jmp 0x10074df9
mov ecx, edx
mov ebx, dword [esp + 0x34]
cmp ebx, ecx
jae 0x10074e0f
mov ecx, dword [esp + 0x24]
mov eax, ebx
mov dword [edi + 0x11b4], ecx
jmp 0x10074e83
cmp eax, esi
mov ecx, eax
ja 0x10074e17
mov ecx, esi
cmp ecx, edx
jbe 0x10074ce4
cmp eax, esi
ja 0x10074ce6
mov ecx, dword [esp + 0x24]
mov eax, esi
mov dword [edi + 0x11b4], ecx
jmp 0x10074e83
mov eax, dword [edi + 0x3b4]
cmp eax, esi
mov ecx, eax
ja 0x10074e43
mov ecx, esi
mov edx, dword [edi + 0x122c]
cmp ecx, edx
jbe 0x10074e59
cmp eax, esi
jbe 0x10074e55
mov ecx, eax
jmp 0x10074e5b
mov ecx, esi
jmp 0x10074e5b
mov ecx, edx
cmp ebx, ecx
jae 0x10074e63
mov eax, ebx
jmp 0x10074e79
cmp eax, esi
mov ecx, eax
ja 0x10074e6b
mov ecx, esi
cmp ecx, edx
jbe 0x10074e77
cmp eax, esi
ja 0x10074e79
mov eax, esi
jmp 0x10074e79
mov eax, edx
mov edx, dword [esp + 0x50]
mov dword [edi + 0x11b4], edx
mov dword [edi + 0x3b4], eax
mov eax, dword [edi + 0x3b4]
cmp eax, dword [edi + 0x114c]
jbe 0x10074e9d
mov dword [edi + 0x114c], eax
mov eax, dword [esp + 0x94]
cmp dword [esp + 0x8c], eax
jbe 0x10074f16
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x60], 0x10198870
mov dword [esp + 0x64], 0x101975e4
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea esi, [edi + 0x124]
push esi
call ebx
mov edi, dword [edi + 0x13c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call esi
lea edx, [esp + 0x64]
push edx
call ebx
lea eax, [esp + 0x64]
push eax
mov dword [esp + 0x80], edi
call esi
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x60], 0x10198870
mov dword [esp + 0x64], 0x101975e4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [esp + 0x40]
test eax, eax
je 0x10074f27
push eax
call fcn.10157f3b
add esp, 4
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.101586e7
mov esp, ebp
pop ebp
ret