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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
mov eax, 0x1ae0
call fcn.00460860
mov edi, ecx
mov eax, dword [0x4ef418]
xor eax, ebp
mov dword [esp + 0x1ad8], eax
xor eax, eax
cmp byte [ebp + 0xc], 0
je 0x4399fd
mov dword [esp + 0x18], eax
lea eax, [esp + 0x158]
push 0x1980
push 0xff
push eax
call fcn.00463600
add esp, 0xc
lea esi, [esp + 0x68]
push 0xf0
push 0
push esi
call fcn.00463600
add esp, 0xc
movq xmm0, qword [edi + 0x1188]
pshufd xmm1, xmm0, 0x55
movd dword [esi + 0xe0], xmm0
movd dword [esi + 0xe4], xmm1
movq xmm0, qword [edi + 0x1190]
pshufd xmm1, xmm0, 0x55
movd dword [esi + 0xe8], xmm0
movd dword [esi + 0xec], xmm1
lea eax, [edi + 0x40]
mov dword [esp + 0x20], eax
push eax
call dword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x4399e7
mov eax, dword [edi + 0x1174]
mov ecx, dword [edi + 0x1178]
add ecx, eax
mov dword [esp + 0x68], ecx
mov eax, dword [edi + 0x116c]
mov dword [esp + 0x6c], eax
mov eax, dword [edi + 0x1170]
mov dword [esp + 0x70], eax
mov eax, dword [edi + 0x117c]
mov dword [esp + 0x74], eax
mov eax, dword [edi + 0x1180]
mov dword [esp + 0x78], eax
mov eax, dword [edi + 0x1198]
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0x119c]
mov dword [esp + 0x94], eax
mov eax, dword [edi + 0x11a0]
mov dword [esp + 0x98], eax
mov eax, dword [edi + 0x11a4]
mov dword [esp + 0x9c], eax
xor esi, esi
mov edx, edi
mov dword [esp + 0xc], edi
jmp 0x439723
mov eax, dword [esp + ecx + 0x16c]
add dword [esp + 0x7c], eax
mov eax, dword [esp + ecx + 0x164]
add dword [esp + 0x80], eax
mov eax, dword [esp + ecx + 0x168]
add dword [esp + 0x84], eax
mov eax, dword [esp + ecx + 0x170]
add dword [esp + 0x88], eax
mov eax, dword [esp + ecx + 0x174]
add dword [esp + 0x8c], eax
jmp 0x439716
mov ecx, ebx
mov edx, dword [esp + 0xc]
push edi
call fcn.00439aa0
mov edx, dword [esp + 0x10]
add esp, 4
mov edi, dword [edi + 4]
test edi, edi
jne 0x4396ee
mov ecx, dword [esp + 0x28]
cmp byte [esp + ecx + 0x158], 0
jne 0x4396a9
inc esi
cmp esi, 0x88
je 0x43987c
mov edi, esi
shl edi, 5
mov ebx, dword [edx + edi + 0x48]
lea eax, [esi + esi*2]
shl eax, 4
mov dword [esp + 0x28], eax
mov byte [esp + eax + 0x158], 0
test ebx, ebx
je 0x439708
call fcn.00451cc0
mov edx, dword [esp + 0xc]
lea ecx, [edx + edi]
add ecx, 0x4c
cmp ebx, eax
jne 0x439770
mov ebx, dword [ecx]
test ebx, ebx
jne 0x439772
xor ebx, ebx
cmp dword [edx + edi + 0x50], 0
jne 0x439772
cmp dword [edx + edi + 0x58], 0x100
jb 0x439708
jmp 0x439772
mov ebx, dword [ecx]
mov eax, dword [esp + 0x28]
lea ecx, [esp + eax]
add ecx, 0x158
pxor xmm0, xmm0
movdqu xmmword [ecx], xmm0
movdqu xmmword [ecx + 0x20], xmm0
movdqu xmmword [ecx + 0x10], xmm0
mov byte [ecx], 1
mov byte [ecx + 1], 0
mov eax, dword [edx + edi + 0x58]
mov dword [esp + 0x10], eax
movzx eax, byte [esp + 0x10]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
shr eax, 8
mov dword [esp + 0x24], eax
mov dword [ecx + 0x20], eax
mov eax, dword [edx + edi + 0x54]
mov dword [esp + 0x2c], eax
mov dword [ecx + 4], eax
shl dword [esp + 0x14], 0xc
mov eax, dword [edx + edi + 0x64]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
imul eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
mul dword [edx + edi + 0x60]
add edx, dword [esp + 0x10]
shr edx, 0xa
movzx eax, dx
mov edx, dword [esp + 0x14]
mov dword [ecx + 8], edx
imul eax, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
imul edx, eax
mov dword [ecx + 0xc], edx
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x14]
imul eax, dword [esp + 0x24]
mov dword [ecx + 0x14], eax
test ebx, ebx
mov dword [esp + 0x1c], ecx
je 0x439833
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push ebx
call fcn.00439aa0
add esp, 4
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x43981b
mov eax, dword [esp + 0xc]
mov ebx, dword [eax + edi + 0x50]
jmp 0x439855
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0xc]
push ebx
call fcn.00439aa0
mov eax, dword [esp + 0x10]
add esp, 4
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x43983d
add edi, eax
add edi, 0x48
mov ebx, dword [edi]
call fcn.00451cc0
mov edx, dword [esp + 0xc]
cmp ebx, eax
mov ebx, dword [esp + 0x1c]
je 0x439708
mov edi, dword [edi]
jmp 0x439704
mov ecx, dword [edx + 0x11c4]
test ecx, ecx
je 0x4398b6
xor edx, edx
xor eax, eax
mov bl, byte [ebp + 0xc]
mov edi, dword [esp + 0x18]
mov esi, dword [ecx + 8]
mov esi, dword [esi + 0xc]
test bl, bl
je 0x4399f5
add eax, esi
lea esi, [edx + 1]
mov ecx, dword [ecx]
test ecx, ecx
je 0x4398bd
cmp edx, 0xfff
mov edx, esi
jae 0x4398bd
jmp 0x439891
xor eax, eax
xor esi, esi
mov bl, byte [ebp + 0xc]
add dword [esp + 0x7c], eax
add dword [esp + 0x80], eax
add dword [esp + 0x84], esi
mov eax, dword [esp + 0xc]
mov al, byte [eax + 3]
mov byte [esp + 0xa0], al
test al, al
jne 0x439927
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x439980
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x68]
push eax
push dword [ebp + 8]
call fcn.0043c5d0
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x439a0f
mov ecx, dword [esp + 0x1ad8]
xor ecx, ebp
call fcn.0045bb2d
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
call fcn.00439bd0
lea edx, [esp + 0xa8]
mov ecx, eax
push edx
push 1
call fcn.00439be0
call fcn.00439bd0
lea edx, [esp + 0xf8]
mov ecx, eax
push edx
push 0
call fcn.00439be0
jmp 0x4398e1
lea eax, [esp + edi]
add eax, 0x158
mov ecx, dword [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.004bf410
add edi, 0x30
cmp edi, 0x1980
je 0x439984
cmp byte [esp + edi + 0x158], 0
jne 0x439955
jmp 0x439969
xor edi, edi
jmp 0x439974
test esi, esi
je 0x4398f3
xor edi, edi
xor ebx, ebx
inc ebx
mov eax, dword [esp + 0x18]
mov eax, dword [eax + edi*4]
pxor xmm0, xmm0
movdqa xmmword [esp + 0x30], xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x40], xmm0
mov word [esp + 0x30], 0x101
mov dword [esp + 0x50], ebx
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], eax
mov ecx, dword [ebp + 0x10]
lea eax, [esp + 0x30]
push eax
push dword [ebp + 8]
call fcn.004bf410
inc edi
cmp esi, edi
jne 0x439991
jmp 0x4398f3
mov ecx, dword [esp + 0x20]
call fcn.00451c60
jmp 0x439631
mov dword [edi + edx*4], esi
jmp 0x43989f
push 0x4000
call fcn.00459b73
add esp, 4
jmp 0x4395af
push eax
call fcn.00459b7c
add esp, 4
jmp 0x43990f