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

Disassembly:
push 0xffffffffffffffff
push 0x446f95
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x45b8b4]
xor eax, esp
mov dword [esp + 0x470], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45b8b4]
xor eax, esp
push eax
lea eax, [esp + 0x488]
mov dword fs:[0], eax
mov esi, ecx
push 0x44eac8
lea ecx, [esp + 0x24]
mov dword [esp + 0x7c], esi
call fcn.004039f0
xor ebx, ebx
mov dword [esp + 0x490], ebx
mov eax, dword [esi + 0xd4]
push eax
lea ecx, [esp + 0x24]
push str._slist.txt
push ecx
call fcn.00403d50
add esp, 0xc
lea edx, [esp + 0x34]
push edx
call fcn.00404810
lea eax, [esp + 0x5c]
mov byte [esp + 0x490], 1
mov ecx, dword [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x40]
lea ecx, [esp + 0x3c]
call fcn.00408e90
add esp, 8
test al, al
je 0x407c6e
lea ecx, [esp + 0x34]
call fcn.004092a0
cmp al, bl
jne 0x407cac
lea esi, [esp + 0x34]
call fcn.004048f0
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x407ca2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4087f6
call fcn.0041623a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407cc6
push 0x80004005
call fcn.00403720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov byte [esp + 0x490], 2
call fcn.0041623a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407cf8
push 0x80004005
call fcn.00403720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x490], 3
call fcn.0041623a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407d2a
push 0x80004005
call fcn.00403720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov byte [esp + 0x490], 4
call fcn.0041623a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407d5c
push 0x80004005
call fcn.00403720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ebp, [eax + 0x10]
mov dword [esp + 0x28], ebp
mov byte [esp + 0x490], 5
call fcn.0041623a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407d8e
push 0x80004005
call fcn.00403720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x2c], edi
mov byte [esp + 0x490], 6
call fcn.0041623a
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x407dc0
push 0x80004005
call fcn.00403720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
push str.Header
lea eax, [esp + 0x38]
mov byte [esp + 0x494], 7
call fcn.004090a0
test al, al
je 0x40806a
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x407e20
cmp dword [esp + 0x50], 1
jne 0x407e20
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ecx
push str.Host
lea eax, [esp + 0x38]
call fcn.004090a0
lea esi, [esp + 0x24]
lea eax, [esp + 0x34]
call fcn.00404950
mov byte [esp + 0x490], 8
mov ecx, dword [eax]
mov esi, dword [esp + 0x18]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x407e99
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x407e8b
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x407e8b
push eax
call fcn.00403f60
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x407e82
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x18], ebp
jmp 0x407e99
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.00403df0
mov byte [esp + 0x490], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407ec1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x44f4e0
lea eax, [esp + 0x38]
call fcn.004090a0
lea esi, [esp + 0x74]
lea eax, [esp + 0x34]
call fcn.00404950
mov byte [esp + 0x490], 9
mov ecx, dword [eax]
mov esi, dword [esp + 0x1c]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x407f3a
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x407f2c
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x407f2c
push eax
call fcn.00403f60
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x407f23
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x1c], ebp
jmp 0x407f3a
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00403df0
mov byte [esp + 0x490], 7
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407f62
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Version
lea eax, [esp + 0x38]
call fcn.004090a0
lea esi, [esp + 0x70]
lea eax, [esp + 0x34]
call fcn.00404950
mov byte [esp + 0x490], 0xa
mov ecx, dword [eax]
mov esi, dword [esp + 0x14]
lea eax, [ecx - 0x10]
add esi, 0xfffffff0
cmp eax, esi
je 0x407fdb
cmp dword [esi + 0xc], ebx
lea edi, [esi + 0xc]
jl 0x407fcd
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x407fcd
push eax
call fcn.00403f60
mov ebp, eax
add esp, 4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x407fc4
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebp, 0x10
mov dword [esp + 0x14], ebp
jmp 0x407fdb
mov eax, dword [ecx - 0xc]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00403df0
mov byte [esp + 0x490], 7
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408003
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x408048
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov esi, eax
and eax, 0xffff
sar esi, 0x10
mov esi, dword [edi + esi*4]
shl eax, 5
mov eax, dword [esi + eax + 0x10]
mov dword [esp + 0x44], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
push str.Header
lea eax, [esp + 0x38]
call fcn.004090a0
test al, al
jne 0x407dee
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
cmp dword [eax - 0xc], ebx
jne 0x408199
lea eax, [esi - 0x10]
mov byte [esp + 0x490], 6
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40809b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x490], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4080bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x490], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4080e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40810b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 2
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 0x408133
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40815b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.004048f0
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40818f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 3
jmp 0x4087f6
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], ebx
jne 0x4082c8
lea eax, [esi - 0x10]
mov byte [esp + 0x490], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4081ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x490], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4081ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x490], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408212
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40823a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 2
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 0x408262
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40828a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.004048f0
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4082be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 4
jmp 0x4087f6
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], ebx
jne 0x4083f7
lea eax, [esi - 0x10]
mov byte [esp + 0x490], 6
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4082f9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x490], 5
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40831d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x490], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408341
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 3
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 2
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 0x408391
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083b9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.004048f0
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4083ed
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 5
jmp 0x4087f6
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x45f8b4
call fcn.00403ee0
push 0x44f4e4
push 0x44f4e8
lea edx, [esp + 0x1c]
push edx
call fcn.00403000
push str.Item
lea eax, [esp + 0x38]
call fcn.004090a0
test al, al
mov ebp, dword [esp + 0x14]
je 0x4086d4
mov eax, dword [esp + 0x78]
add eax, 0x100
mov dword [esp + 0x7c], eax
mov ecx, dword [esp + 0x40]
cmp ecx, ebx
je 0x408473
cmp dword [esp + 0x50], 1
jne 0x408473
mov eax, dword [esp + 0x44]
mov dword [esp + 0x3c], ecx
xor ecx, ecx
cmp eax, ebx
setne cl
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], ecx
push 0x44f4f4
lea eax, [esp + 0x38]
call fcn.004090a0
lea esi, [esp + 0x78]
lea eax, [esp + 0x34]
call fcn.00404950
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x494], 0xb
call fcn.00403ee0
mov byte [esp + 0x490], 7
mov eax, dword [esp + 0x78]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4084c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Source
lea eax, [esp + 0x38]
call fcn.004090a0
lea esi, [esp + 0x70]
lea eax, [esp + 0x34]
call fcn.00404950
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x494], 0xc
call fcn.00403ee0
mov byte [esp + 0x490], 7
mov eax, dword [esp + 0x70]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40851d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Target
lea eax, [esp + 0x38]
call fcn.004090a0
lea esi, [esp + 0x74]
lea eax, [esp + 0x34]
call fcn.00404950
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x494], 0xd
call fcn.00403ee0
mov byte [esp + 0x490], 7
mov eax, dword [esp + 0x74]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408572
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
cmp eax, ebx
je 0x4085b7
mov edi, dword [esp + 0x64]
mov edx, dword [esp + 0x40]
mov ecx, eax
mov esi, eax
and eax, 0xffff
sar esi, 0x10
mov esi, dword [edi + esi*4]
shl eax, 5
mov eax, dword [esi + eax + 0x10]
mov dword [esp + 0x44], edx
xor edx, edx
cmp ecx, ebx
setne dl
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x50], edx
push 0x44eac8
lea ecx, [esp + 0x28]
call fcn.004039f0
mov byte [esp + 0x490], 0xe
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push esi
push ebp
push eax
push ecx
lea edx, [esp + 0x34]
push str._s_s__s__s
push edx
call fcn.00403d50
push 0x404
lea eax, [esp + 0x9c]
push ebx
push eax
call fcn.00430e80
mov eax, dword [esp + 0x4c]
lea ecx, [esp + 0xa4]
add esp, 0x24
sub ecx, eax
nop
mov dl, byte [eax]
mov byte [ecx + eax], dl
add eax, 1
cmp dl, bl
jne 0x408610
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x180]
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x408630
lea edx, [esp + 0x280]
mov eax, esi
sub edx, esi
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x408647
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x380]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x408660
sub esp, 0x404
mov edi, esp
mov ecx, 0x101
lea esi, [esp + 0x484]
mov dword [esp + 0x884], ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x480]
push ecx
call fcn.00408940
mov byte [esp + 0x490], 7
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4086be
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.Item
lea eax, [esp + 0x38]
call fcn.004090a0
test al, al
jne 0x408441
mov byte [esp + 0x490], 6
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4086fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 5
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408724
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40874c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov byte [esp + 0x490], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408770
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 2
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 0x408798
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x490], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x34]
call fcn.004048f0
mov dword [esp + 0x490], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4087f4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x488]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x470]
xor ecx, esp
call fcn.0042e419
add esp, 0x480
ret