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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x448f90
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x457118]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
xor esi, esi
push eax
mov dword [esp + 0x30], esi
call fcn.00406cf0
add esp, 4
lea ecx, [esp + 0x30]
push ecx
push ecx
mov edx, esp
mov dword [esp + 0x48], esp
push edx
mov ecx, str.Version
mov dword [esp + 0x3c], esi
call fcn.00401720
push ecx
mov dword [esp + 0x74], esi
mov eax, esp
mov dword [esp + 0x48], esp
push eax
mov ecx, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
call fcn.00401720
or edi, 0xffffffff
push SysReAllocString
mov dword [esp + 0x78], edi
call fcn.0041f840
add esp, 0x10
cmp eax, esi
lea ebx, [esi + 1]
je 0x408801
cmp dword [esp + 0x30], ebx
jae 0x40883b
push ebx
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push ecx
mov ecx, str.Version
call fcn.00401720
push ecx
mov dword [esp + 0x74], ebx
mov edx, esp
mov dword [esp + 0x48], esp
push edx
mov ecx, str.SoftwareMicrosoftInternet_ExplorerSearchScopes
call fcn.00401720
push SysReAllocString
mov dword [esp + 0x78], edi
call fcn.0041f9c0
add esp, 0x10
mov eax, dword [0x458a2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x458a2c
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
push ecx
mov dword [esp + 0x6c], 2
mov eax, esp
mov dword [esp + 0x44], esp
push eax
mov ecx, str.Version
lea edi, [esp + 0x2c]
call fcn.00401720
push ecx
mov ecx, esp
mov byte [esp + 0x70], 3
mov dword [esp + 0x44], esp
push ecx
mov ecx, str.SoftwareMicrosoftInternet_Explorer
call fcn.00401720
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, edi
mov byte [esp + 0x74], 2
call fcn.0041f440
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx - 0xc]
add esp, 0xc
cmp eax, esi
jne 0x4088af
mov dword [esp + 0x28], 6
jmp 0x4088c8
jge 0x4088bb
push 0x80070057
call fcn.00401000
movzx eax, word [ecx]
movzx eax, ax
sub eax, 0x30
mov dword [esp + 0x28], eax
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
lea edx, [esp + 0x4c]
push edx
mov byte [esp + 0x6c], 4
call fcn.0040a510
mov edi, dword [esp + 0x50]
cmp edi, dword [esp + 0x54]
jbe 0x4088f2
call fcn.0042e792
lea ebx, [esp + 0x4c]
mov esi, dword [esp + 0x54]
cmp dword [esp + 0x50], esi
jbe 0x408905
call fcn.0042e792
test ebx, ebx
je 0x408911
lea eax, [esp + 0x4c]
cmp ebx, eax
je 0x408916
call fcn.0042e792
cmp edi, esi
je 0x4089aa
test ebx, ebx
jne 0x408927
call fcn.0042e792
cmp edi, dword [ebx + 8]
jb 0x408931
call fcn.0042e792
cmp dword [edi + 0x10], 0
jne 0x408998
cmp edi, dword [ebx + 8]
jb 0x408941
call fcn.0042e792
lea ecx, [edi + 8]
push ecx
call fcn.0040aa30
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x20], 0
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x58]
mov byte [esp + 0x20], 0
mov eax, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [edi + 0x14]
push eax
mov eax, edi
mov esi, edi
call fcn.0040c550
mov ecx, dword [esp + 0x54]
mov edi, dword [esp + 0x68]
add esp, 0x14
push ecx
lea eax, [edi - 0x14]
call fcn.0040c120
add esp, 4
sub dword [esp + 0x54], 0x14
mov edi, esi
jmp 0x4088f6
cmp edi, dword [ebx + 8]
jb 0x4089a2
call fcn.0042e792
add edi, 0x14
jmp 0x4088f6
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x14], esi
call fcn.00402b40
test eax, eax
jbe 0x40913d
mov edi, dword [ebp + 8]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4089d6
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x4089db
call fcn.0042e792
mov edx, dword [edi + 4]
mov eax, esi
shl eax, 4
cmp dword [eax + edx], 0
mov dword [esp + 0x20], eax
je 0x408b26
mov eax, dword [0x458a2c]
mov edx, dword [eax + 0xc]
mov ecx, 0x458a2c
call edx
lea ebx, [eax + 0x10]
mov dword [esp + 0x1c], ebx
push 0x82
mov byte [esp + 0x6c], 5
call fcn.00401120
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x408a32
lea eax, [esp + 0x1c]
push eax
mov eax, 0x82
call fcn.004019a0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x408a45
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x408a4a
call fcn.0042e792
mov eax, dword [edi + 4]
add eax, dword [esp + 0x20]
push 0x44
mov eax, dword [eax + 0xc]
push ebx
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x408b05
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x408a8c
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x408a91
call fcn.0042e792
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
lea edi, [esi + esi*2]
add edi, edi
add edi, edi
mov dword [edi + ecx], 1
mov eax, dword [eax + 4]
test eax, eax
je 0x408ac8
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x408acd
call fcn.0042e792
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax + 4]
lea eax, [ebx - 0x10]
mov dword [edi + ecx + 4], 1
mov byte [esp + 0x68], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409120
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409124
lea eax, [ebx - 0x10]
mov byte [esp + 0x68], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408b26
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x408b49
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x408b4e
call fcn.0042e792
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
lea eax, [esi + esi*2]
add eax, eax
add eax, eax
mov dword [eax + edx], 0
mov edi, dword [esp + 0x50]
cmp edi, dword [esp + 0x54]
mov dword [esp + 0x18], eax
jbe 0x408b75
call fcn.0042e792
lea eax, [esp + 0x4c]
mov dword [esp + 0x44], eax
mov ebx, edi
mov edi, dword [esp + 0x54]
cmp dword [esp + 0x50], edi
mov dword [esp + 0x48], ebx
jbe 0x408b92
call fcn.0042e792
mov eax, dword [esp + 0x44]
test eax, eax
je 0x408ba2
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x408ba7
call fcn.0042e792
cmp ebx, edi
je 0x408c4c
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x408bc5
mov eax, dword [edx + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x408bcd
call fcn.0042e792
mov edx, dword [ebp + 8]
mov edi, dword [edx + 4]
add edi, dword [esp + 0x20]
cmp dword [esp + 0x44], 0
jne 0x408be0
call fcn.0042e792
mov edx, dword [esp + 0x44]
cmp ebx, dword [edx + 8]
jb 0x408bee
call fcn.0042e792
mov ecx, dword [edi + 4]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x409187
mov eax, dword [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408c28
test dx, dx
je 0x408c24
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408c28
add eax, 4
add ecx, 4
test dx, dx
jne 0x408c02
xor eax, eax
jmp 0x408c2d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x408c4c
mov eax, dword [esp + 0x44]
cmp ebx, dword [eax + 8]
jb 0x408c44
call fcn.0042e792
add ebx, 0x14
jmp 0x408b7f
mov edi, dword [esp + 0x54]
cmp dword [esp + 0x50], edi
jbe 0x408c5b
call fcn.0042e792
mov eax, dword [esp + 0x44]
test eax, eax
je 0x408c6b
lea ecx, [esp + 0x4c]
cmp eax, ecx
je 0x408c70
call fcn.0042e792
cmp ebx, edi
je 0x408ec6
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 4]
test ecx, ecx
je 0x408c8e
mov eax, dword [edx + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x408c96
call fcn.0042e792
mov edx, dword [ebp + 8]
mov edi, dword [edx + 4]
add edi, dword [esp + 0x20]
cmp dword [esp + 0x44], 0
jne 0x408ca9
call fcn.0042e792
mov edx, dword [esp + 0x44]
cmp ebx, dword [edx + 8]
jb 0x408cb7
call fcn.0042e792
mov edi, dword [edi + 8]
xor eax, eax
test edi, edi
setne al
test eax, eax
je 0x409187
mov eax, dword [ebx + 4]
mov ecx, edi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x408cf6
test dx, dx
je 0x408cf2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x408cf6
add eax, 4
add ecx, 4
test dx, dx
jne 0x408cd0
xor eax, eax
jmp 0x408cfb
sbb eax, eax
sbb eax, 0xffffffff
mov edi, dword [esp + 0x44]
test eax, eax
sete al
test al, al
je 0x408e6e
cmp ebx, dword [edi + 8]
jb 0x408d16
call fcn.0042e792
xor eax, eax
cmp esi, dword [ebp + 0xc]
sete al
cmp eax, dword [ebx + 0xc]
jne 0x408e6e
cmp ebx, dword [edi + 8]
jb 0x408d31
call fcn.0042e792
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 4]
test eax, eax
je 0x408d54
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x408d59
call fcn.0042e792
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx + 4]
mov eax, dword [esp + 0x18]
mov ebx, dword [esp + 0x48]
mov ecx, dword [ebx]
mov edi, dword [eax + edx + 8]
lea esi, [eax + edx + 8]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x408dc3
cmp dword [edi + 0xc], 0
jl 0x408db4
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x408db4
call fcn.00401a70
mov dword [esp + 0x20], eax
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x408da9
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x20]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x408dc3
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, esi
call fcn.00401ae0
mov ebx, dword [esp + 0x48]
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
test eax, eax
je 0x408dea
mov ecx, edx
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x408def
call fcn.0042e792
cmp dword [esp + 0x28], 8
mov edx, dword [ebp + 0x10]
mov eax, dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax + 4], 2
jb 0x408e24
mov edx, dword [esp + 0x44]
cmp ebx, dword [edx + 8]
jb 0x408e16
call fcn.0042e792
mov eax, dword [esp + 0x14]
push eax
lea ecx, [ebx + 8]
push ecx
call fcn.0040aae0
mov byte [esp + 0x34], 0
mov edx, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x44]
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
lea eax, [ebx + 0x14]
push ecx
push eax
mov eax, ebx
call fcn.0040c550
mov edi, dword [esp + 0x68]
mov edx, dword [esp + 0x54]
add esp, 0x14
lea eax, [edi - 0x14]
push edx
call fcn.0040c120
add esp, 4
sub dword [esp + 0x54], 0x14
jmp 0x409120
cmp ebx, dword [edi + 8]
jb 0x408e78
call fcn.0042e792
lea eax, [ebx + 8]
push eax
call fcn.0040b1c0
mov byte [esp + 0x3c], 0
mov ecx, dword [esp + 0x3c]
push ecx
mov byte [esp + 0x44], 0
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x5c]
push ecx
lea eax, [ebx + 0x14]
push edx
push eax
mov eax, ebx
call fcn.0040c550
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x54]
add esp, 0x14
lea eax, [edi - 0x14]
push ecx
call fcn.0040c120
add esp, 4
sub dword [esp + 0x54], 0x14
mov edx, dword [0x458a2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x458a2c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov ebx, dword [ebp + 8]
mov byte [esp + 0x68], 6
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x408ef8
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x408efd
call fcn.0042e792
mov edi, dword [ebx + 4]
test edi, edi
je 0x408f10
mov eax, dword [ebx + 8]
sub eax, edi
sar eax, 4
cmp esi, eax
jb 0x408f15
call fcn.0042e792
mov eax, dword [ebx + 4]
mov ecx, dword [esp + 0x20]
add eax, ecx
lea ecx, [ecx + edi + 8]
push ecx
add eax, 4
push eax
lea ecx, [esp + 0x24]
call fcn.0040b110
test eax, eax
jne 0x408f99
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
test eax, eax
je 0x408f57
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x408f5c
call fcn.0042e792
mov edx, dword [edi + 4]
mov eax, dword [esp + 0x18]
mov dword [eax + edx + 4], 1
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409120
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x409127
cmp dword [esp + 0x28], 8
jb 0x408fab
push esi
lea ecx, [esp + 0x20]
push ecx
call fcn.0040aae0
cmp esi, dword [ebp + 0xc]
jne 0x40901a
cmp dword [esp + 0x2c], 0
jne 0x40901a
lea edx, [esp + 0x1c]
push edx
call fcn.0040a990
test eax, eax
jne 0x40901a
mov edi, dword [ebp + 0x10]
mov eax, dword [edi + 4]
test eax, eax
je 0x408fe8
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x408fed
call fcn.0042e792
mov eax, dword [edi + 4]
mov ecx, dword [esp + 0x18]
mov dword [ecx + eax + 4], 1
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x408f84
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x40902d
mov eax, dword [ebx + 8]
sub eax, ecx
sar eax, 4
cmp esi, eax
jb 0x409032
call fcn.0042e792
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebx + 4]
mov eax, dword [ecx + 4]
add edi, dword [esp + 0x20]
test eax, eax
je 0x40905c
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jb 0x409061
call fcn.0042e792
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x18]
lea esi, [edx + ecx + 8]
mov ecx, dword [edi + 4]
mov edi, dword [esi]
lea eax, [ecx - 0x10]
sub edi, 0x10
cmp eax, edi
je 0x4090c5
cmp dword [edi + 0xc], 0
jl 0x4090b7
mov edx, dword [eax]
cmp edx, dword [edi]
jne 0x4090b7
call fcn.00401a70
mov dword [esp + 0x20], eax
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4090ac
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov ecx, dword [esp + 0x20]
add ecx, 0x10
mov dword [esi], ecx
jmp 0x4090c5
mov ebx, dword [ecx - 0xc]
push ecx
mov eax, esi
call fcn.00401ae0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx + 4]
test eax, eax
je 0x4090e7
mov ecx, dword [ebx + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x14], eax
jb 0x4090ec
call fcn.0042e792
mov edx, dword [ebx + 4]
mov eax, dword [esp + 0x18]
mov dword [eax + edx + 4], 0
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409120
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
mov ebx, dword [ebp + 8]
add esi, 1
mov eax, ebx
mov dword [esp + 0x14], esi
call fcn.00402b40
cmp esi, eax
jb 0x4089c0
mov edi, dword [esp + 0x50]
cmp edi, dword [esp + 0x54]
jbe 0x409150
call fcn.0042e792
lea esp, [esp]
mov ebx, dword [esp + 0x54]
cmp dword [esp + 0x50], ebx
jbe 0x40915f
call fcn.0042e792
cmp edi, ebx
je 0x409191
cmp edi, dword [esp + 0x54]
jb 0x40916e
call fcn.0042e792
lea ecx, [edi + 8]
push ecx
call fcn.0040b1c0
cmp edi, dword [esp + 0x54]
jb 0x409182
call fcn.0042e792
add edi, 0x14
jmp 0x409150
push 0x80004005
call fcn.00401000
xor esi, esi
cmp dword [esp + 0x2c], esi
je 0x4092a9
mov edx, dword [0x458a2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x458a2c
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 7
mov edx, dword [0x458a2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x458a2c
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov bl, 8
mov byte [esp + 0x68], bl
mov edx, dword [0x458a2c]
mov eax, dword [edx + 0xc]
mov ecx, 0x458a2c
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x30]
mov byte [esp + 0x70], 9
call fcn.0040a870
mov edi, dword [esp + 0x28]
cmp dword [edi - 0xc], esi
jne 0x409224
lea eax, [edi - 0x10]
mov byte [esp + 0x68], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x409253
lea ecx, [esp + 0x28]
push ecx
call fcn.0040a440
test eax, eax
je 0x409236
push 1
jmp 0x409237
push esi
call fcn.00406e10
lea eax, [edi - 0x10]
add esp, 4
mov byte [esp + 0x68], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40925f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409284
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4092a9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x50]
cmp eax, esi
je 0x4092cf
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x54]
push ecx
call fcn.0040c120
mov edx, dword [esp + 0x54]
add esp, 4
push edx
call fcn.0042e297
add esp, 4
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409303
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc