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

Disassembly:
push 0xffffffffffffffff
push 0x431f0b
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.0040eaf0
add esp, 0x10
or ebp, 0xffffffff
test al, al
je 0x418a18
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.00417b20
mov esi, dword [esp + 0x18]
cmp esi, edi
je 0x4189e5
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4189e5
push esi
call fcn.0041ab17
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.0040eaf0
add esp, 0x10
test al, al
jne 0x418935
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.004179f0
mov esi, dword [esp + 0x28]
cmp esi, edi
mov byte [esp + 0xb4], 2
je 0x418b9d
lea ecx, [ecx]
mov eax, dword [esi + 0xc]
cmp edi, eax
mov ecx, dword [esi + 8]
ja 0x418b66
jb 0x418a78
cmp ebp, ecx
ja 0x418b66
mov edx, dword [esi]
cmp edx, 0x65657266
mov ebx, dword [esi + 4]
jne 0x418a8d
test ebx, ebx
je 0x418b29
cmp edx, 0x766f6f6d
jne 0x418a9d
test ebx, ebx
je 0x418b29
mov ebx, dword [esp + 0x44]
sub ecx, ebp
sbb eax, edi
cmp byte [esp + 0x13], 0
je 0x418ab0
test ebx, ebx
je 0x418abe
cmp eax, dword [esp + 0x58]
jb 0x418af7
ja 0x418abe
cmp ecx, dword [esp + 0x54]
jbe 0x418af7
test ebx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], ecx
mov dword [esp + 0x58], eax
je 0x418ae9
lea ecx, [ebx + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418ae9
push ebx
call fcn.0041ab17
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 0x418b0b
test ecx, ecx
je 0x418b99
cmp eax, 0x70797466
jne 0x418b1b
test ecx, ecx
jne 0x418b1b
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 0x418b37
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 0x418b53
push ebx
call fcn.0041ab17
add esp, 4
test esi, esi
je 0x418b99
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x418a60
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.0041aa68
push 0x43b6a0
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0x432380
call fcn.0041ab1c
mov dword [esp + 0x28], esi
test esi, esi
mov byte [esp + 0xb4], 1
je 0x418bc0
lea eax, [esi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418bc0
push esi
call fcn.0041ab17
add esp, 4
cmp dword [esp + 0x44], 0
jne 0x418bf4
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.0041aa1a
push 0x43b6dc
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0x432380
call fcn.0041ab1c
mov edx, dword [esp + 0xcc]
mov edi, dword [0x43e9b4]
mov ebp, dword [0x43e9b0]
xor esi, esi
add edx, 8
adc esi, esi
cmp esi, edi
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], esi
jb 0x418c2e
ja 0x418c20
cmp edx, ebp
jb 0x418c2e
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 0x418c4e
ja 0x418c48
cmp ecx, ebp
jb 0x418c4e
add ecx, 8
adc eax, 0
test ebx, ebx
mov edi, eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
jne 0x418c68
xor ecx, ecx
xor edi, edi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edi
cmp byte [esp + 0xc4], 0
je 0x418c9b
mov eax, edx
add eax, ecx
mov ecx, esi
adc ecx, edi
cmp dword [esp + 0x20], eax
jne 0x419149
cmp dword [esp + 0x24], ecx
jne 0x419149
mov esi, dword [esp + 0x44]
lea eax, [esi + 0x28]
push eax
jmp 0x4197ea
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 0x419149
jb 0x418cca
cmp dword [esp + 0x20], ecx
ja 0x419149
mov edi, dword [esp + 0x58]
mov ecx, edx
add ecx, 8
mov eax, esi
adc eax, 0
cmp edi, eax
ja 0x418cf6
jb 0x418ce4
cmp dword [esp + 0x54], ecx
jae 0x418cf6
cmp dword [esp + 0x54], edx
jne 0x419149
cmp edi, esi
jne 0x419149
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004179f0
mov esi, dword [esp + 0x14]
test esi, esi
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
je 0x418e82
test esi, esi
je 0x418d24
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 0x418d46
push esi
call fcn.0041ab17
add esp, 4
test ebx, ebx
je 0x418d54
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 0x418dff
test ecx, ecx
jne 0x418dff
cmp dword [esi + 0x14], ecx
ja 0x418d7b
cmp dword [esi + 0x10], 8
jb 0x418e53
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 0x418dc3
lea eax, [esp + 0x48]
jmp 0x418dc6
add eax, 0x24
mov ecx, dword [esi + 0x24]
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x418dd8
lea eax, [esp + 0x4c]
jmp 0x418ddb
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 0x418e14
push esi
call fcn.0041ab17
add esp, 4
jmp 0x418e14
cmp eax, 0x65657266
jne 0x418e14
test ecx, ecx
jne 0x418e14
push esi
lea ecx, [esp + 0x4c]
call fcn.00417940
push edi
call ebp
test eax, eax
jne 0x418e24
push esi
call fcn.0041ab17
add esp, 4
xor esi, esi
test ebx, ebx
je 0x418e82
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 0x418d16
push ebx
call fcn.0041ab17
add esp, 4
jmp 0x418d16
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x20], str.dynamic_assert_failure
call fcn.0041aa68
push 0x43b6a0
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x40], 0x432380
call fcn.0041ab1c
test esi, esi
mov byte [esp + 0xb4], 1
je 0x418ea1
lea edx, [esi + 0x28]
push edx
call ebp
test eax, eax
jne 0x418ea1
push esi
call fcn.0041ab17
add esp, 4
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x50]
call fcn.00417a20
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 0x418f01
cmp dword [esp + 0x2c], 0
jbe 0x418f75
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x50]
call fcn.00417a20
push eax
lea ecx, [esp + 0x18]
call fcn.00418160
mov eax, dword [esp + 0x18]
test eax, eax
je 0x418f3f
mov esi, eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x418f3f
push esi
call fcn.0041ab17
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 0x418f94
push esi
call fcn.0041ab17
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.00417ba0
mov eax, dword [esp + 0xd8]
add esp, 0x10
test eax, eax
je 0x418fe0
mov ecx, dword [esp + 0xcc]
mov edx, dword [esi]
mov edx, dword [edx]
push ecx
push eax
mov ecx, esi
call edx
jmp 0x418ff2
xor eax, eax
push eax
mov eax, dword [esp + 0xd0]
push eax
mov ecx, esi
call fcn.00407510
cmp dword [esp + 0x30], 0
ja 0x419000
cmp dword [esp + 0x2c], 0
jbe 0x419024
mov ecx, dword [esp + 0xd4]
mov edx, dword [esp + 0xd0]
push ecx
push edx
push 0x64697575
push 0x4453544d
mov eax, esi
call fcn.00417c50
add esp, 0x10
mov eax, dword [esp + 0x3c]
cmp dword [esp + 0x58], eax
jb 0x419065
ja 0x41903a
mov ecx, dword [esp + 0x38]
cmp dword [esp + 0x54], ecx
jbe 0x419065
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.00417ca0
mov edi, dword [esp + 0xc4]
add esp, 8
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x4c]
call fcn.004179c0
mov esi, dword [eax]
test esi, esi
mov dword [esp + 0x20], esi
je 0x419087
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 0x4190b6
mov dword [esp + 0x14], eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4190b6
mov ecx, dword [esp + 0x14]
push ecx
call fcn.0041ab17
add esp, 4
test esi, esi
jne 0x4190e8
push esi
lea edx, [esp + 0x6c]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x70], str.dynamic_assert_failure
call fcn.0041aa68
push 0x43b6a0
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x432380
call fcn.0041ab1c
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 0x4197e2
push esi
call fcn.0041ab17
add esp, 4
jmp 0x4197e2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x4c]
call fcn.004179f0
mov esi, dword [esp + 0x18]
test esi, esi
je 0x419243
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea esp, [esp]
test esi, esi
je 0x41917e
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 0x419194
push esi
call fcn.0041ab17
add esp, 4
test ebx, ebx
je 0x4191a2
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 0x4191b2
test ecx, ecx
je 0x4191bd
cmp eax, 0x766f6f6d
jne 0x41920a
test ecx, ecx
jne 0x41920a
mov eax, dword [esi + 0x20]
test eax, eax
jne 0x4191ca
lea eax, [esp + 0x48]
jmp 0x4191cd
add eax, 0x24
mov ecx, dword [esi + 0x24]
mov dword [eax], ecx
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4191df
lea eax, [esp + 0x4c]
jmp 0x4191e2
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 0x41920a
push esi
call fcn.0041ab17
add esp, 4
push edi
call ebp
test eax, eax
jne 0x41921a
push esi
call fcn.0041ab17
add esp, 4
test ebx, ebx
je 0x419243
lea edi, [ebx + 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push edi
mov esi, ebx
call ebp
test eax, eax
jne 0x419170
push ebx
call fcn.0041ab17
add esp, 4
jmp 0x419170
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.004179f0
mov ebx, dword [esp + 0x28]
cmp ebx, edi
mov byte [esp + 0xb4], 7
je 0x419496
cmp ebx, dword [esp + 0x44]
jne 0x419453
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x50]
call fcn.00417a20
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 0x4192ec
cmp dword [esp + 0x2c], 0
jbe 0x41938f
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x50]
call fcn.00417a20
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 0x41931c
push esi
call fcn.0041ab17
add esp, 4
xor esi, esi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x14], esi
je 0x41933a
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 0x419361
mov dword [esp + 0x18], eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x419361
mov edx, dword [esp + 0x18]
push edx
call fcn.0041ab17
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 0x419434
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x50]
call fcn.00417a20
mov ebx, dword [eax]
lea edx, [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4193c9
push esi
call fcn.0041ab17
add esp, 4
xor esi, esi
test ebx, ebx
mov dword [esp + 0x14], esi
je 0x4193e3
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 0x419404
mov ebx, eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x419404
push ebx
call fcn.0041ab17
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 0x419453
push esi
call fcn.0041ab17
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 0x419483
push esi
call fcn.0041ab17
add esp, 4
test ebx, ebx
je 0x419496
lea edx, [ebx + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x419276
xor esi, esi
cmp ebx, esi
mov byte [esp + 0xb4], 1
je 0x4194bb
lea eax, [ebx + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4194bb
push ebx
call fcn.0041ab17
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x4194f0
push esi
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x40]
mov dword [esp + 0x28], str.dynamic_assert_failure
call fcn.0041aa68
push 0x43b6a0
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], 0x432380
call fcn.0041ab1c
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 0x419521
call fcn.004076f0
mov ebp, edi
mov dword [esp + 0x30], ebp
jmp 0x41952e
mov dword [esp + 0x34], edi
call fcn.004076f0
mov ebp, dword [esp + 0x30]
cmp edi, esi
mov esi, dword [esp + 0x2c]
jbe 0x41954e
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 0x419541
xor ebx, ebx
lea eax, [esp + 0x48]
mov dword [esp + 0x8c], 0x435090
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 [0x4350a8]
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.004187d0
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], 0x4350b0
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.004179c0
mov esi, dword [eax]
cmp esi, ebx
mov dword [esp + 0x18], esi
je 0x41962e
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 0x419657
mov edi, eax
add eax, 0x28
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x419657
push edi
call fcn.0041ab17
add esp, 4
cmp esi, ebx
setne al
test al, al
jne 0x41968e
push ebx
lea edx, [esp + 0x58]
push edx
lea ecx, [esp + 0x40]
mov dword [esp + 0x5c], str.dynamic_assert_failure
call fcn.0041aa68
push 0x43b6a0
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0x40], 0x432380
call fcn.0041ab1c
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 0x4196c3
push esi
call fcn.0041ab17
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 0x4197c4
lea esp, [esp]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x68]
cmp eax, dword [ecx + 0x34]
jae 0x419821
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 0x419724
lea eax, [ebx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
test ebx, ebx
mov byte [esp + 0xb4], 0xd
je 0x41977a
xor ebp, ebp
cmp dword [edi + 0x3c], ebp
jbe 0x41977a
cmp ebp, dword [edi + 0x3c]
jae 0x419850
mov eax, dword [edi + 0x38]
lea ecx, [ebp*8]
add eax, ecx
cmp ebp, dword [edi + 0x3c]
jae 0x419888
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.00417d90
add ebp, 1
add esp, 8
mov dword [esi], eax
mov dword [esi + 4], edx
cmp ebp, dword [edi + 0x3c]
jb 0x419740
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 0x4197aa
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4197aa
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 0x4196f0
xor ebx, ebx
push ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x70], 0x434340
mov byte [esp + 0xb8], 1
mov dword [esp + 0x34], ebx
call fcn.004076f0
mov esi, dword [esp + 0x44]
lea edx, [esi + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4197fd
push esi
call fcn.0041ab17
add esp, 4
lea ecx, [esp + 0x48]
call fcn.00417ab0
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], 0x434308
call fcn.0041aa68
push 0x43b834
lea eax, [esp + 0x60]
push eax
mov dword [esp + 0x64], 0x432380
call fcn.0041ab1c
push 0
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0xa8]
mov dword [esp + 0x5c], 0x434308
call fcn.0041aa68
push 0x43b834
lea edx, [esp + 0xa4]
push edx
mov dword [esp + 0xa8], 0x432380
call fcn.0041ab1c
push 0
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x94]
mov dword [esp + 0x20], 0x434308
call fcn.0041aa68
push 0x43b834
lea ecx, [esp + 0x90]
push ecx
mov dword [esp + 0x94], 0x432380
call fcn.0041ab1c
int3