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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x552b2b
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5c2b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebx], 0x5a8df4
mov dword [ebp - 4], 0x31
mov eax, dword [ebx + 0xdc]
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4fbb23
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebx + 0xe0]
cmp eax, dword [ebx + 0xe4]
je 0x4fbb5b
mov edi, dword [ebx + 0xe4]
mov esi, eax
cmp esi, edi
je 0x4fbb5b
lea ecx, [ecx]
mov eax, dword [esi]
test eax, eax
je 0x4fbb4e
cmp eax, 0xffffffff
je 0x4fbb4e
push eax
call ecx
mov ecx, dword [sym.imp.KERNEL32.dll_CloseHandle]
add esi, 4
cmp esi, edi
jne 0x4fbb40
mov byte [ebp - 4], 0x30
mov esi, dword [ebx + 0x108]
test esi, esi
je 0x4fbbad
mov edi, dword [ebx + 0x10c]
cmp esi, edi
je 0x4fbb81
mov ecx, esi
call fcn.00519bb0
add esi, 0x20
cmp esi, edi
jne 0x4fbb73
push dword [ebx + 0x108]
call fcn.0047c370
add esp, 4
mov dword [ebx + 0x108], 0
mov dword [ebx + 0x10c], 0
mov dword [ebx + 0x110], 0
mov byte [ebp - 4], 0x2f
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x4fbbe2
push eax
call fcn.0047c370
add esp, 4
mov dword [ebx + 0xfc], 0
mov dword [ebx + 0x100], 0
mov dword [ebx + 0x104], 0
mov byte [ebp - 4], 0x2e
lea eax, [ebx + 0xf8]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0x2e
mov edx, dword [eax]
or eax, 0xffffffff
sub edx, 0x10
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4fbc0f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x2d
mov eax, dword [ebx + 0xec]
test eax, eax
je 0x4fbc44
push eax
call fcn.0047c370
add esp, 4
mov dword [ebx + 0xec], 0
mov dword [ebx + 0xf0], 0
mov dword [ebx + 0xf4], 0
mov byte [ebp - 4], 0x2c
mov eax, dword [ebx + 0xe0]
test eax, eax
je 0x4fbc79
push eax
call fcn.0047c370
add esp, 4
mov dword [ebx + 0xe0], 0
mov dword [ebx + 0xe4], 0
mov dword [ebx + 0xe8], 0
mov byte [ebp - 4], 0x2b
lea esi, [ebx + 0xd4]
mov dword [ebp - 0x14], esi
mov byte [ebp - 4], 0x34
mov ecx, esi
mov eax, dword [esi]
push eax
push dword [eax]
lea eax, [ebp - 0x10]
push eax
call fcn.0051ca10
mov byte [ebp - 4], 0x2b
push dword [esi]
call fcn.0047c370
add esp, 4
mov byte [ebp - 4], 0x2a
lea eax, [ebx + 0xc4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x2a
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbcd5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x29
lea eax, [ebx + 0xc0]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x29
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbd02
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x28
lea eax, [ebx + 0xb8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x28
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x28
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbd36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x27
lea eax, [ebx + 0xb4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x27
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbd63
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x26
lea eax, [ebx + 0xb0]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x26
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbd90
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x25
lea eax, [ebx + 0xac]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x25
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbdbd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x24
lea eax, [ebx + 0xa8]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x24
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbdea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x23
lea eax, [ebx + 0xa4]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x23
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbe17
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x22
lea eax, [ebx + 0xa0]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x22
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbe44
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x21
lea eax, [ebx + 0x9c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x21
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbe71
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x20
lea eax, [ebx + 0x98]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x20
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbe9e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1f
lea eax, [ebx + 0x94]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1f
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbecb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1e
lea eax, [ebx + 0x90]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1e
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbef8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1d
lea eax, [ebx + 0x8c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1d
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbf25
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1c
lea eax, [ebx + 0x88]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1c
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbf52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1b
lea eax, [ebx + 0x84]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1b
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbf7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x1a
lea eax, [ebx + 0x80]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x1a
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbfac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x19
lea eax, [ebx + 0x7c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x19
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fbfd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x18
lea eax, [ebx + 0x78]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x18
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc000
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x17
lea eax, [ebx + 0x74]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x17
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc02a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x16
lea eax, [ebx + 0x70]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x16
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc054
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x15
lea eax, [ebx + 0x6c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x15
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc07e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x14
lea eax, [ebx + 0x68]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x14
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc0a8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x13
lea eax, [ebx + 0x64]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x13
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc0d2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
lea eax, [ebx + 0x60]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x12
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc0fc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x11
lea eax, [ebx + 0x5c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x11
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc126
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x10
lea eax, [ebx + 0x58]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0x10
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc150
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xf
lea eax, [ebx + 0x54]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xf
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc17a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xe
lea eax, [ebx + 0x50]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xe
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc1a4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xd
lea eax, [ebx + 0x4c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xd
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc1ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xc
lea eax, [ebx + 0x48]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xc
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc1f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xb
lea eax, [ebx + 0x44]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xb
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc222
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0xa
lea eax, [ebx + 0x40]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 0xa
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc24c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
lea eax, [ebx + 0x3c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 9
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc276
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 8
lea eax, [ebx + 0x38]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 8
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc2a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
lea eax, [ebx + 0x34]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 7
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc2ca
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
lea eax, [ebx + 0x30]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 6
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc2f4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
lea eax, [ebx + 0x2c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 5
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc31e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 4
lea eax, [ebx + 0x28]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 4
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc348
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 3
lea eax, [ebx + 0x24]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 3
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc372
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
lea eax, [ebx + 0x20]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 2
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc39c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
lea eax, [ebx + 0x1c]
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
or ecx, 0xffffffff
mov edx, dword [eax]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc3c6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov esi, dword [ebx + 0x10]
test esi, esi
je 0x4fc42a
mov edi, dword [ebx + 0x14]
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x4fc40a
jmp 0x4fc3e0
mov byte [ebp - 4], 0
or ecx, 0xffffffff
mov edx, dword [esi]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc400
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x4fc3e0
push dword [ebx + 0x10]
call fcn.0047c370
add esp, 4
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebx + 4]
test esi, esi
je 0x4fc48f
mov edi, dword [ebx + 8]
mov dword [ebp - 0x14], esi
cmp esi, edi
je 0x4fc46f
mov dword [ebp - 4], 0xffffffff
or ecx, 0xffffffff
mov edx, dword [esi]
sub edx, 0x10
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4fc465
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 4
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x4fc442
push dword [ebx + 4]
call fcn.0047c370
add esp, 4
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret