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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x60
mov esi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [0x674014]
xor ecx, ebp
mov dword [esp + 0x58], ecx
movdqu xmm0, xmmword [eax]
movdqa xmmword [esp + 0x40], xmm0
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x479e08
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
push eax
mov dword [esp + 0x24], ecx
push ecx
mov dword [esp + 0x20], edi
push edi
mov dword [esp + 0x1c], edx
push edx
call fcn.004b5e80
add esp, 0x10
mov dword [esp + 0xc], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x479973
mov ebx, eax
mov eax, dword [esp + 0xc]
lea esi, [eax + 0x24]
mov edx, ecx
shr edx, 1
and edx, 0x55555555
mov eax, ecx
sub eax, edx
mov edx, eax
and edx, 0x33333333
shr eax, 2
and eax, 0x33333333
add eax, edx
mov edx, eax
shr edx, 4
add edx, eax
and edx, 0xf0f0f0f
imul eax, edx, 0x1010101
shr eax, 0x18
mov dword [esp + 0x14], eax
cmp eax, 1
ja 0x479827
lea edx, [ecx - 1]
and edx, ebx
jmp 0x479835
cmp ebx, ecx
jae 0x47982f
mov edx, ebx
jmp 0x479835
mov eax, ebx
xor edx, edx
div ecx
mov dword [esp + 0x24], esi
mov eax, dword [esi]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x479973
mov edi, dword [eax]
test edi, edi
je 0x479973
mov esi, edx
lea eax, [ecx - 1]
mov dword [esp + 0x28], eax
jmp 0x479876
and eax, dword [esp + 0x28]
cmp eax, esi
jne 0x479973
mov edi, dword [edi]
test edi, edi
je 0x479973
mov eax, dword [edi + 4]
cmp eax, ebx
jne 0x4798b0
mov eax, dword [edi + 8]
xor eax, dword [esp + 0x10]
mov edx, dword [edi + 0xc]
xor edx, dword [esp + 0x18]
or edx, eax
jne 0x47986c
mov eax, dword [edi + 0x10]
xor eax, dword [esp + 0x20]
mov edx, dword [edi + 0x14]
xor edx, dword [esp + 0x1c]
or edx, eax
jne 0x47986c
jmp 0x4798c3
cmp dword [esp + 0x14], 1
jbe 0x479860
cmp eax, ecx
jb 0x479864
xor edx, edx
div ecx
mov eax, edx
jmp 0x479864
lea eax, [edi + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqu xmm0, xmmword [eax]
movdqa xmmword [esp + 0x30], xmm0
lea esi, [esp + 0x50]
mov ecx, dword [esp + 0x24]
push edi
push esi
call fcn.0047f580
mov eax, dword [esp + 0xc]
lea edi, [eax + 0x4c]
cmp dword [eax + 0x58], 0xc350
jne 0x479965
mov eax, dword [esp + 0xc]
lea ebx, [eax + 0x38]
cmp dword [eax + 0x44], 0
je 0x47995d
mov eax, dword [eax + 0x40]
test eax, eax
je 0x479921
nop dword [eax]
mov esi, dword [eax]
push eax
call fcn.005dc756
add esp, 4
mov eax, esi
test esi, esi
jne 0x479910
mov eax, dword [esp + 0xc]
mov dword [eax + 0x40], 0
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x47994e
xor ecx, ecx
nop word cs:[eax + eax]
mov edx, dword [ebx]
mov dword [edx + ecx*4], 0
inc ecx
cmp eax, ecx
jne 0x479940
mov eax, dword [esp + 0xc]
mov dword [eax + 0x44], 0
lea esi, [esp + 0x50]
mov ecx, ebx
push edi
call fcn.00480440
lea eax, [esp + 0x30]
mov ecx, edi
push eax
push eax
push esi
call fcn.00480870
mov esi, dword [esp + 0xc]
lea ecx, [esi + 0x60]
lea edi, [esp + 0x40]
push edi
call fcn.0047f650
lea ecx, [esi + 0xf8]
push edi
call fcn.0047f7e0
push dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
lea edi, [esi + 0x74]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x479e14
mov dword [esp + 0x1c], edi
mov edi, dword [esi + 0x7c]
test edi, edi
je 0x479b70
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x7c]
mov ebx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], ecx
jmp 0x479a09
add edi, 4
mov edi, dword [edi]
test edi, edi
je 0x479a35
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
cmp eax, ebx
mov esi, ecx
sbb esi, edx
jb 0x479a00
cmp ebx, eax
mov eax, edx
sbb eax, ecx
jb 0x479a2f
mov eax, dword [edi + 0x1c]
mov ecx, dword [esp + 0x14]
cmp dword [edi + 0x18], ecx
sbb eax, dword [esp + 0x18]
jb 0x479a00
mov dword [esp + 0x10], edi
jmp 0x479a03
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x20]
je 0x479b70
mov eax, dword [esi + 0x10]
mov edi, dword [esi + 0x14]
cmp ebx, eax
mov ecx, edx
sbb ecx, edi
jb 0x479b70
cmp eax, ebx
sbb edi, edx
jb 0x479a6f
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x18]
mov eax, dword [esp + 0x18]
sbb eax, dword [esi + 0x1c]
jb 0x479b70
mov edi, dword [esi + 0x20]
add esi, 0x24
cmp edi, esi
jne 0x479aa6
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x479b1e
nop dword [eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x479a90
jmp 0x479b3c
mov edi, eax
cmp eax, esi
je 0x479a79
lea eax, [edi + 0x20]
mov ebx, dword [esp + 0x34]
cmp ebx, dword [esp + 0x38]
jae 0x479ad0
mov ecx, ebx
push eax
call fcn.00502240
add ebx, 0x18
mov dword [esp + 0x34], ebx
jmp 0x479ada
lea ecx, [esp + 0x30]
push eax
call fcn.0047f940
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x479b00
nop word cs:[eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x479af0
jmp 0x479aa0
mov eax, dword [edi + 8]
cmp dword [eax], edi
je 0x479aa0
add edi, 8
nop word [eax + eax]
mov ecx, dword [edi]
lea edi, [ecx + 8]
mov eax, dword [ecx + 8]
cmp dword [eax], ecx
jne 0x479b10
jmp 0x479aa0
mov eax, dword [esi + 8]
cmp dword [eax], esi
je 0x479b3c
lea ecx, [esi + 8]
nop dword [eax + eax]
mov edx, dword [ecx]
lea ecx, [edx + 8]
mov eax, dword [edx + 8]
cmp dword [eax], edx
jne 0x479b30
lea ebx, [esi + 0x20]
mov ecx, dword [esp + 0xc]
cmp dword [ecx + 0x78], esi
jne 0x479b4b
mov dword [ecx + 0x78], eax
dec dword [ecx + 0x80]
push esi
push dword [ecx + 0x7c]
call fcn.00430eba
add esp, 8
mov ecx, ebx
push dword [esi + 0x24]
call fcn.0047e3f0
push esi
call fcn.005dc756
add esp, 4
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ebx, dword [esp + 0xc]
lea edi, [ebx + 0x98]
push edi
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x479e20
mov eax, dword [esp + 0x44]
xor eax, dword [ebx + 0xa4]
mov ecx, dword [esp + 0x40]
xor ecx, dword [ebx + 0xa0]
or ecx, eax
jne 0x479bd3
mov eax, dword [ebx + 0xa8]
xor eax, dword [esp + 0x48]
mov ecx, dword [ebx + 0xac]
xor ecx, dword [esp + 0x4c]
or ecx, eax
jne 0x479bd3
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov ecx, ebx
call fcn.00478170
jmp 0x479bfc
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x479bf5
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + 0xb0]
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp ebx, esi
mov ebx, dword [esp + 0xc]
jne 0x479bfc
jmp 0x479bca
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov esi, dword [ebx + 0x110]
test esi, esi
je 0x479d80
lea ecx, [ebx + 0x110]
mov edi, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], ecx
jmp 0x479c4d
add esi, 4
mov ebx, dword [esp + 0xc]
mov esi, dword [esi]
test esi, esi
je 0x479c86
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0x14]
cmp eax, edi
mov ebx, ecx
sbb ebx, edx
jb 0x479c40
cmp edi, eax
mov eax, edx
sbb eax, ecx
mov ebx, dword [esp + 0xc]
jb 0x479c80
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x14]
cmp dword [esi + 0x18], ecx
sbb eax, dword [esp + 0x18]
jae 0x479c80
add esi, 4
jmp 0x479c47
mov dword [esp + 0x10], esi
jmp 0x479c47
mov esi, dword [esp + 0x10]
cmp esi, dword [esp + 0x1c]
je 0x479d80
mov ecx, dword [esi + 0x10]
mov eax, dword [esi + 0x14]
mov dword [esp + 0xc], ecx
cmp edi, ecx
mov ecx, edx
sbb ecx, eax
jb 0x479d80
cmp dword [esp + 0xc], edi
sbb eax, edx
jb 0x479cc6
mov eax, dword [esp + 0x14]
cmp eax, dword [esi + 0x18]
mov eax, dword [esp + 0x18]
sbb eax, dword [esi + 0x1c]
jb 0x479d80
lea eax, [esi + 0x28]
mov edi, dword [esp + 0x34]
cmp edi, dword [esp + 0x38]
je 0x479ce4
mov ecx, edi
push eax
call fcn.00502240
add edi, 0x18
mov dword [esp + 0x34], edi
jmp 0x479cee
lea ecx, [esp + 0x30]
push eax
call fcn.0047f940
movzx eax, byte [esi + 0x4b]
test al, al
jns 0x479cf9
mov eax, dword [esi + 0x44]
test eax, eax
je 0x479d0c
lea eax, [esi + 0x40]
lea ecx, [ebx + 0x118]
push eax
call fcn.0047fa60
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x479d2a
nop word cs:[eax + eax]
mov eax, ecx
mov ecx, dword [ecx]
test ecx, ecx
jne 0x479d20
jmp 0x479d4c
mov eax, dword [esi + 8]
cmp dword [eax], esi
je 0x479d4c
lea ecx, [esi + 8]
nop word cs:[eax + eax]
mov edx, dword [ecx]
lea ecx, [edx + 8]
mov eax, dword [edx + 8]
cmp dword [eax], edx
jne 0x479d40
cmp dword [ebx + 0x10c], esi
jne 0x479d5a
mov dword [ebx + 0x10c], eax
dec dword [ebx + 0x114]
push esi
push dword [ebx + 0x110]
call fcn.00430eba
add esp, 8
lea ecx, [esi + 0x20]
call fcn.004796b0
push esi
call fcn.005dc756
add esp, 4
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x34]
cmp esi, edi
je 0x479da0
nop dword [eax]
mov ecx, dword [ebx + 0x18]
push esi
call fcn.004fa1f0
add esi, 0x18
cmp esi, edi
jne 0x479d90
mov ecx, dword [ebx + 0x18]
lea eax, [esp + 0x40]
push eax
call fcn.004fce70
mov ecx, ebx
call fcn.00478f90
mov edi, dword [esp + 0x30]
test edi, edi
je 0x479df3
mov esi, dword [esp + 0x34]
cmp esi, edi
je 0x479de4
nop word cs:[eax + eax]
add esi, 0xffffffe8
mov ecx, esi
call fcn.005021f0
cmp esi, edi
jne 0x479dd0
mov eax, dword [esp + 0x30]
jmp 0x479de6
mov eax, edi
mov dword [esp + 0x34], edi
push eax
call fcn.005dc756
add esp, 4
mov ecx, dword [esp + 0x58]
xor ecx, ebp
call fcn.005dd6f3
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ecx, edi
call fcn.004cea50
jmp 0x479799
mov ecx, edi
call fcn.004cea50
jmp 0x4799c4
mov ecx, edi
call fcn.004cea50
jmp 0x479b93