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

Disassembly:
push 0xffffffffffffffff
push 0x487bcb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x9c
push ebx
mov ebx, dword [esp + 0xb0]
mov eax, dword [ebx]
mov edx, dword [eax + 0x18]
push ebp
push esi
push edi
xor edi, edi
push edi
mov dword [esp + 0x6c], ecx
push edi
mov ecx, ebx
call edx
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
mov dword [esp + 0xc4], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
call fcn.004507c0
add esp, 0x10
or ebp, 0xffffffff
test al, al
je 0x45aa08
mov ecx, dword [esp + 0x24]
mov edx, dword [ebx]
xor eax, eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], eax
mov eax, dword [edx + 0x14]
mov dword [esp + 0x70], ecx
mov ecx, ebx
call eax
mov ecx, dword [esp + 0x60]
mov esi, eax
mov eax, dword [esp + 0x5c]
sub esi, eax
sbb edx, ecx
add eax, dword [esp + 0x2c]
mov dword [esp + 0x78], edx
adc ecx, dword [esp + 0x30]
lea edx, [esp + 0x18]
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x6c]
push ecx
push edx
lea ecx, [esp + 0x50]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebp
mov dword [esp + 0x84], eax
call fcn.00459b10
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x45a9d5
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45a9d5
push esi
call fcn.0046d274
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx]
mov edx, dword [edx + 8]
push eax
push ecx
mov ecx, ebx
call edx
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x28]
push edx
push ebx
call fcn.004507c0
add esp, 0x10
test al, al
jne 0x45a925
mov dword [esp + 0x44], edi
lea eax, [esp + 0x28]
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
xor ebp, ebp
mov byte [esp + 0x17], 0
call fcn.004599e0
mov esi, dword [esp + 0x28]
cmp esi, edi
mov byte [esp + 0xb4], 2
je 0x45ab8d
lea ecx, [ecx]
mov eax, dword [esi + 0xc]
cmp edi, eax
mov ecx, dword [esi + 8]
ja 0x45ab56
jb 0x45aa68
cmp ebp, ecx
ja 0x45ab56
mov edx, dword [esi]
cmp edx, 0x65657266
mov ebx, dword [esi + 4]
jne 0x45aa7d
test ebx, ebx
je 0x45ab19
cmp edx, 0x766f6f6d
jne 0x45aa8d
test ebx, ebx
je 0x45ab19
mov ebx, dword [esp + 0x44]
sub ecx, ebp
sbb eax, edi
cmp byte [esp + 0x13], 0
je 0x45aaa0
test ebx, ebx
je 0x45aaae
cmp eax, dword [esp + 0x58]
jb 0x45aae7
ja 0x45aaae
cmp ecx, dword [esp + 0x54]
jbe 0x45aae7
test ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
je 0x45aad9
lea ecx, [ebx + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45aad9
push ebx
call fcn.0046d274
add esp, 4
lea edx, [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x44], esi
mov eax, dword [esi]
cmp eax, 0x7461646d
mov ecx, dword [esi + 4]
jne 0x45aafb
test ecx, ecx
je 0x45ab89
cmp eax, 0x70797466
jne 0x45ab0b
test ecx, ecx
jne 0x45ab0b
mov byte [esp + 0x13], 1
mov ebp, dword [esi + 0x10]
add ebp, dword [esi + 8]
mov edi, dword [esi + 0x14]
adc edi, dword [esi + 0xc]
jmp 0x45ab27
mov eax, dword [esi + 0x10]
add dword [esp + 0x20], eax
mov ecx, dword [esi + 0x14]
adc dword [esp + 0x24], ecx
mov ebx, esi
mov esi, dword [esi + 0x24]
lea edx, [ebx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45ab43
push ebx
call fcn.0046d274
add esp, 4
test esi, esi
je 0x45ab89
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45aa50
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], esi
mov dword [esp + 0x20], str.dynamic_assert_failure
call fcn.0046d1c5
push 0x4bc440
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0x4a6b74
call fcn.0046d279
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0xb4], 1
je 0x45abb0
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45abb0
push esi
call fcn.0046d274
add esp, 4
cmp dword [esp + 0x44], 0
jne 0x45abe4
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x3c]
mov dword [esp + 0x1c], str.could_not_figure_moov_insertion_point__giving_up
call fcn.0046d177
push 0x4bcc28
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0x4a6b74
call fcn.0046d279
mov edx, dword [esp + 0xcc]
mov edi, dword [0x4c9434]
mov ebp, dword [0x4c9430]
xor esi, esi
add edx, 8
adc esi, esi
cmp esi, edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
jb 0x45ac1e
ja 0x45ac10
cmp edx, ebp
jb 0x45ac1e
add edx, 8
adc esi, 0
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
mov ebx, dword [esp + 0xd4]
xor eax, eax
mov ecx, ebx
add ecx, 0xc
adc eax, eax
cmp eax, edi
jb 0x45ac3e
ja 0x45ac38
cmp ecx, ebp
jb 0x45ac3e
add ecx, 8
adc eax, 0
test ebx, ebx
mov edi, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
jne 0x45ac58
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
cmp byte [esp + 0xc4], 0
je 0x45ac8b
mov eax, edx
add eax, ecx
mov ecx, esi
adc ecx, edi
cmp dword [esp + 0x20], eax
jne 0x45b139
cmp dword [esp + 0x24], ecx
jne 0x45b139
mov esi, dword [esp + 0x44]
lea eax, [esi + 0x28]
push eax
jmp 0x45b7da
add edx, ecx
adc esi, edi
mov ecx, edx
add ecx, 0x10000
mov eax, esi
adc eax, 0
cmp dword [esp + 0x24], eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x3c], esi
ja 0x45b139
jb 0x45acba
cmp dword [esp + 0x20], ecx
ja 0x45b139
mov edi, dword [esp + 0x58]
mov ecx, edx
add ecx, 8
mov eax, esi
adc eax, 0
cmp edi, eax
ja 0x45ace6
jb 0x45acd4
cmp dword [esp + 0x54], ecx
jae 0x45ace6
cmp dword [esp + 0x54], edx
jne 0x45b139
cmp edi, esi
jne 0x45b139
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004599e0
mov esi, dword [esp + 0x14]
test esi, esi
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x45ae72
test esi, esi
je 0x45ad14
lea edx, [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [esi + 0x24]
lea edi, [esi + 0x28]
push edi
mov byte [esp + 0xb8], 4
mov dword [esp + 0x24], ebx
call ebp
test eax, eax
jne 0x45ad36
push esi
call fcn.0046d274
add esp, 4
test ebx, ebx
je 0x45ad44
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi]
cmp eax, 0x766f6f6d
mov ecx, dword [esi + 4]
jne 0x45adef
test ecx, ecx
jne 0x45adef
cmp dword [esi + 0x14], ecx
ja 0x45ad6b
cmp dword [esi + 0x10], 8
jb 0x45ae43
mov ecx, dword [esp + 0xbc]
mov edx, dword [ecx]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0xc]
mov edx, dword [edx + 0x18]
add eax, 4
adc ecx, 0
push ecx
mov ecx, dword [esp + 0xc0]
push eax
call edx
mov ecx, dword [esp + 0xbc]
mov eax, dword [ecx + 4]
mov edx, dword [eax]
add ecx, 4
push 4
push str.free
call edx
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x45adb3
lea eax, [esp + 0x48]
jmp 0x45adb6
add eax, 0x24
mov ecx, dword [esi + 0x24]
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x45adc8
lea eax, [esp + 0x4c]
jmp 0x45adcb
add eax, 0x20
mov edx, dword [esi + 0x20]
mov dword [eax], edx
xor eax, eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
sub dword [esp + 0x50], 1
push edi
call ebp
test eax, eax
jne 0x45ae04
push esi
call fcn.0046d274
add esp, 4
jmp 0x45ae04
cmp eax, 0x65657266
jne 0x45ae04
test ecx, ecx
jne 0x45ae04
push esi
lea ecx, [esp + 0x4c]
call fcn.00459930
push edi
call ebp
test eax, eax
jne 0x45ae14
push esi
call fcn.0046d274
add esp, 4
xor esi, esi
test ebx, ebx
je 0x45ae72
lea edi, [ebx + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, ebx
push edi
mov dword [esp + 0x18], esi
call ebp
test eax, eax
jne 0x45ad06
push ebx
call fcn.0046d274
add esp, 4
jmp 0x45ad06
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], str.dynamic_assert_failure
call fcn.0046d1c5
push 0x4bc440
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x4a6b74
call fcn.0046d279
test esi, esi
mov byte [esp + 0xb4], 1
je 0x45ae91
lea edx, [esi + 0x28]
push edx
call ebp
test eax, eax
jne 0x45ae91
push esi
call fcn.0046d274
add esp, 4
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.00459a10
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x30]
mov dword [esi], 0x766f6f6d
mov dword [esi + 4], 0
mov dword [esi + 8], ebp
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], edx
mov dword [esi + 0x14], eax
or eax, 0xffffffff
test edi, edi
mov dword [esi + 0x18], eax
mov byte [esp + 0xb4], 5
mov dword [esi + 0x1c], eax
ja 0x45aef1
cmp dword [esp + 0x2c], 0
jbe 0x45af65
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
call fcn.00459a10
push eax
lea ecx, [esp + 0x18]
call fcn.0045a150
mov eax, dword [esp + 0x18]
test eax, eax
je 0x45af2f
mov esi, eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45af2f
push esi
call fcn.0046d274
add esp, 4
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x2c]
mov dword [esi], 0x4453544d
mov dword [esi + 4], 0x64697575
add eax, ebp
mov dword [esi + 8], eax
adc ecx, ebx
mov dword [esi + 0xc], ecx
mov dword [esi + 0x10], edx
or eax, 0xffffffff
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
lea eax, [esi + 0x28]
push eax
mov byte [esp + 0xb8], 1
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45af84
push esi
call fcn.0046d274
add esp, 4
mov edi, dword [esp + 0xbc]
mov edx, dword [edi]
mov eax, dword [edx + 0x18]
push ebx
push ebp
mov ecx, edi
call eax
mov ecx, dword [esp + 0xcc]
xor eax, eax
push eax
push ecx
push eax
lea esi, [edi + 4]
push 0x766f6f6d
call fcn.00459b90
mov eax, dword [esp + 0xd8]
add esp, 0x10
test eax, eax
je 0x45afd0
mov ecx, dword [esp + 0xcc]
mov edx, dword [esi]
mov edx, dword [edx]
push ecx
push eax
mov ecx, esi
call edx
jmp 0x45afe2
xor eax, eax
push eax
mov eax, dword [esp + 0xd0]
push eax
mov ecx, esi
call fcn.004490d0
cmp dword [esp + 0x30], 0
ja 0x45aff0
cmp dword [esp + 0x2c], 0
jbe 0x45b014
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push ecx
push edx
push 0x64697575
push 0x4453544d
mov eax, esi
call fcn.00459c40
add esp, 0x10
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x58], eax
jb 0x45b055
ja 0x45b02a
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x54], ecx
jbe 0x45b055
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
sbb ecx, dword [esp + 0x60]
sub eax, dword [esp + 0x2c]
mov edi, esi
sbb ecx, dword [esp + 0x30]
push ecx
push eax
call fcn.00459c90
mov edi, dword [esp + 0xc4]
add esp, 8
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
call fcn.004599b0
mov esi, dword [eax]
test esi, esi
mov dword [esp + 0x20], esi
je 0x45b077
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x18]
test eax, eax
mov byte [esp + 0xb4], 6
je 0x45b0a6
mov dword [esp + 0x14], eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b0a6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0046d274
add esp, 4
test esi, esi
jne 0x45b0d8
push esi
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], str.dynamic_assert_failure
call fcn.0046d1c5
push 0x4bc440
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x4a6b74
call fcn.0046d279
mov eax, dword [esi + 0x10]
add eax, dword [esi + 8]
mov ecx, dword [esi + 0x14]
adc ecx, dword [esi + 0xc]
mov edx, dword [edi]
mov edx, dword [edx + 0x20]
push ecx
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 0x10]
add ecx, dword [esi + 8]
mov edx, dword [esi + 0x14]
adc edx, dword [esi + 0xc]
mov eax, dword [esp + 0x68]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x5c]
mov dword [eax + 0x1c], edx
mov edx, dword [esp + 0x60]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov dword [eax + 8], ebp
mov dword [eax + 0xc], ebx
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b7d2
push esi
call fcn.0046d274
add esp, 4
jmp 0x45b7d2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004599e0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x45b233
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea esp, [esp]
test esi, esi
je 0x45b16e
lea edx, [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ebx, dword [esi + 0x24]
lea edi, [esi + 0x28]
push edi
call ebp
test eax, eax
jne 0x45b184
push esi
call fcn.0046d274
add esp, 4
test ebx, ebx
je 0x45b192
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esi]
cmp eax, 0x65657266
mov ecx, dword [esi + 4]
jne 0x45b1a2
test ecx, ecx
je 0x45b1ad
cmp eax, 0x766f6f6d
jne 0x45b1fa
test ecx, ecx
jne 0x45b1fa
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x45b1ba
lea eax, [esp + 0x48]
jmp 0x45b1bd
add eax, 0x24
mov ecx, dword [esi + 0x24]
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x45b1cf
lea eax, [esp + 0x4c]
jmp 0x45b1d2
add eax, 0x20
mov edx, dword [esi + 0x20]
mov dword [eax], edx
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
sub dword [esp + 0x50], 1
push edi
call ebp
test eax, eax
jne 0x45b1fa
push esi
call fcn.0046d274
add esp, 4
push edi
call ebp
test eax, eax
jne 0x45b20a
push esi
call fcn.0046d274
add esp, 4
test ebx, ebx
je 0x45b233
lea edi, [ebx + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
mov esi, ebx
call ebp
test eax, eax
jne 0x45b160
push ebx
call fcn.0046d274
add esp, 4
jmp 0x45b160
lea eax, [esp + 0x28]
xor edi, edi
push eax
lea ecx, [esp + 0x4c]
xor ebp, ebp
mov byte [esp + 0x17], 0
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
call fcn.004599e0
mov ebx, dword [esp + 0x28]
cmp ebx, edi
mov byte [esp + 0xb4], 7
je 0x45b486
cmp ebx, dword [esp + 0x44]
jne 0x45b443
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.00459a10
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x60]
mov dword [esi], 0x766f6f6d
mov dword [esi + 4], 0
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x5c]
mov dword [esi + 0x18], edi
mov dword [esp + 0x38], edi
mov dword [esi + 0x1c], ebp
add edi, eax
mov dword [esp + 0x3c], ebp
adc ebp, ecx
cmp dword [esp + 0x30], 0
mov dword [esi + 0x10], eax
mov byte [esp + 0xb4], 8
mov dword [esi + 0x14], ecx
mov byte [esp + 0x13], 1
ja 0x45b2dc
cmp dword [esp + 0x2c], 0
jbe 0x45b37f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x50]
call fcn.00459a10
mov edx, dword [eax]
lea eax, [esi + 0x28]
push eax
mov dword [esp + 0x1c], edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b30c
push esi
call fcn.0046d274
add esp, 4
xor esi, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
je 0x45b32a
mov esi, dword [esp + 0x18]
lea ecx, [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x54]
test eax, eax
je 0x45b351
mov dword [esp + 0x18], eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b351
mov edx, dword [esp + 0x18]
push edx
call fcn.0046d274
add esp, 4
mov ecx, dword [esp + 0x30]
mov dword [esi], 0x4453544d
mov dword [esi + 4], 0x64697575
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebp
add edi, eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
adc ebp, ecx
cmp byte [esp + 0xc4], 0
jne 0x45b424
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call fcn.00459a10
mov ebx, dword [eax]
lea edx, [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b3b9
push esi
call fcn.0046d274
add esp, 4
xor esi, esi
test ebx, ebx
mov dword [esp + 0x14], esi
je 0x45b3d3
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, ebx
mov dword [esp + 0x14], esi
mov eax, dword [esp + 0x20]
test eax, eax
je 0x45b3f4
mov ebx, eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b3f4
push ebx
call fcn.0046d274
add esp, 4
mov ebx, dword [esp + 0x28]
mov dword [esi], 0x65657266
xor ecx, ecx
mov dword [esi + 4], ecx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], ebp
add edi, 0x200
mov dword [esi + 0x10], 0x200
mov dword [esi + 0x14], ecx
adc ebp, ecx
lea ecx, [esi + 0x28]
push ecx
mov byte [esp + 0xb8], 7
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b443
push esi
call fcn.0046d274
add esp, 4
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], ebp
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 0x14]
mov esi, ebx
mov ebx, dword [ebx + 0x24]
lea ecx, [esi + 0x28]
add edi, edx
push ecx
adc ebp, eax
mov dword [esp + 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b473
push esi
call fcn.0046d274
add esp, 4
test ebx, ebx
je 0x45b486
lea edx, [ebx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x45b266
xor esi, esi
cmp ebx, esi
mov byte [esp + 0xb4], 1
je 0x45b4ab
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b4ab
push ebx
call fcn.0046d274
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x45b4e0
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], str.dynamic_assert_failure
call fcn.0046d1c5
push 0x4bc440
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0x4a6b74
call fcn.0046d279
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov edi, dword [esp + 0xcc]
cmp edi, esi
mov byte [esp + 0xb4], 9
push edi
lea ecx, [esp + 0x30]
jbe 0x45b511
call fcn.004076b0
mov ebp, edi
mov dword [esp + 0x30], ebp
jmp 0x45b51e
mov dword [esp + 0x34], edi
call fcn.004076b0
mov ebp, dword [esp + 0x30]
cmp edi, esi
mov esi, dword [esp + 0x2c]
jbe 0x45b53e
mov ecx, dword [esp + 0xc8]
mov eax, esi
sub ecx, esi
mov dl, byte [ecx + eax]
mov byte [eax], dl
add eax, 1
sub edi, 1
jne 0x45b531
xor ebx, ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x8c], 0x4a79fc
mov dword [esp + 0x90], esi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
push ebx
push ebx
lea ecx, [esp + 0x94]
mov byte [esp + 0xbc], 0xa
call dword [0x4a7a14]
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 0x1c]
lea ecx, [esp + 0x8c]
call eax
push edx
push eax
lea ecx, [esp + 0x94]
call fcn.0045a7c0
mov ecx, dword [esp + 0xd0]
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0xbc]
lea eax, [esp + 0x48]
mov dword [esp + 0x6c], 0x4a7a1c
mov dword [esp + 0x70], esi
mov dword [esp + 0x78], ebp
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0xc0]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0xb8], 0xb
call edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
call fcn.004599b0
mov esi, dword [eax]
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x45b61e
lea ecx, [esi + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov eax, dword [esp + 0x20]
cmp eax, ebx
mov byte [esp + 0xb4], 0xc
je 0x45b647
mov edi, eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b647
push edi
call fcn.0046d274
add esp, 4
cmp esi, ebx
setne al
test al, al
jne 0x45b67e
push ebx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], str.dynamic_assert_failure
call fcn.0046d1c5
push 0x4bc440
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x4a6b74
call fcn.0046d279
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 0x10]
mov edx, dword [esi + 0x1c]
adc edx, dword [esi + 0x14]
mov edi, dword [esp + 0x68]
lea eax, [esi + 0x28]
push eax
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], edx
mov byte [esp + 0xb8], 0xb
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b6b3
push esi
call fcn.0046d274
add esp, 4
cmp dword [edi + 0x34], ebx
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x5c]
mov dword [edi + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [edi + 0xc], edx
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], ecx
mov dword [esp + 0x14], ebx
jbe 0x45b7b4
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp eax, dword [ecx + 0x34]
jae 0x45b811
mov edx, dword [ecx + 0x30]
mov ebx, dword [edx + eax*8]
test ebx, ebx
mov edi, dword [edx + eax*8 + 4]
lea eax, [edx + eax*8]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
je 0x45b714
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test ebx, ebx
mov byte [esp + 0xb4], 0xd
je 0x45b76a
xor ebp, ebp
cmp dword [edi + 0x3c], ebp
jbe 0x45b76a
cmp ebp, dword [edi + 0x3c]
jae 0x45b840
mov eax, dword [edi + 0x38]
lea ecx, [ebp*8]
add eax, ecx
cmp ebp, dword [edi + 0x3c]
jae 0x45b878
mov esi, dword [edi + 0x38]
mov edx, dword [eax]
add esi, ecx
mov ecx, dword [eax + 4]
push ecx
push edx
lea ecx, [esp + 0x50]
call fcn.00459d80
add ebp, 1
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edx
cmp ebp, dword [edi + 0x3c]
jb 0x45b730
xor eax, eax
mov esi, ebx
cmp esi, eax
mov byte [esp + 0xb4], 0xb
mov dword [esp + 0x3c], eax
mov dword [esp + 0x38], eax
je 0x45b79a
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b79a
mov edx, dword [esi]
mov eax, dword [edx]
push 1
mov ecx, esi
call eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
add eax, 1
cmp eax, dword [ecx + 0x34]
mov dword [esp + 0x14], eax
jb 0x45b6e0
xor ebx, ebx
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0x4a6b98
mov byte [esp + 0xb8], 1
mov dword [esp + 0x34], ebx
call fcn.004076b0
mov esi, dword [esp + 0x44]
lea edx, [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45b7ed
push esi
call fcn.0046d274
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00459aa0
mov ecx, dword [esp + 0xac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa8
ret 0x1c
push 0
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x28], str.array_access_out_of_range
call fcn.0046d1c5
push 0x4bcdac
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], 0x4a6b74
call fcn.0046d279
push 0
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x5c], str.array_access_out_of_range
call fcn.0046d1c5
push 0x4bcdac
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0xa8], 0x4a6b74
call fcn.0046d279
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x20], str.array_access_out_of_range
call fcn.0046d1c5
push 0x4bcdac
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], 0x4a6b74
call fcn.0046d279
int3