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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x130
mov esi, dword [ebp + 8]
mov edi, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 8], ecx
cmp byte [esi + 8], 2
jne 0x4459bf
cmp dword [edi + 0x3c], 0
je 0x4459bf
mov ebx, dword [esp + 0x14]
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x44]
lea eax, [edi + 0x30]
mov dword [esp], eax
push ebx
push dword [edi + 0x4c]
push dword [edi + 0x48]
call fcn.0043a094
add esp, 0xc
mov ecx, dword [esp]
mov edi, edx
mov edx, eax
push ebx
push edi
mov edi, dword [esp + 0x10]
call fcn.00447a28
pop ecx
pop edx
test eax, eax
je 0x4459bf
mov ecx, esi
jmp 0x446093
mov eax, dword [esi + 0x18]
movq xmm0, qword [esi + 0x10]
movsd xmm2, qword [esi]
movq xmm1, qword [esi + 8]
mov edx, dword [esp + 0x14]
lea ecx, [edi + 0x50]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x58], eax
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
call fcn.004464c7
test eax, eax
je 0x445d8f
mov edi, eax
xor ebx, ebx
mov eax, dword [edi + 0xc]
test eax, eax
je 0x445d71
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
lea edx, [ecx + 1]
cmp edx, esi
mov edx, dword [edi]
cmovb esi, ebx
dec eax
neg esi
lea esi, [ecx + esi + 1]
mov dword [edi + 8], esi
mov dword [edi + 0xc], eax
mov eax, dword [edx + ecx*4]
mov dword [esp + 0xa4], eax
mov al, byte [eax + 0x40]
test al, al
je 0x445a49
lea ecx, [esp + 0xa4]
call fcn.00439ac7
jmp 0x445a02
mov al, byte [esp + 0x59]
movzx ecx, word [esp + 0x5a]
mov byte [esp + 0x59], 2
cmp al, 2
je 0x44644a
mov dl, byte [esp + 0x58]
movsd xmm0, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x40]
movsd xmm1, qword [esp + 0x48]
mov byte [esp + 0x128], dl
movsd qword [esp + 0x120], xmm0
movsd qword [esp + 0x118], xmm1
movsd qword [esp + 0x110], xmm2
mov byte [esp + 0x129], al
mov word [esp + 0x12a], cx
lea ecx, [esp + 0xa8]
lea edx, [esp + 0x110]
call fcn.00446510
mov bl, byte [esp + 0xdd]
cmp bl, 2
jne 0x445b0e
mov al, byte [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xb0]
mov bl, byte [esp + 0xc1]
movzx ecx, word [esp + 0xc2]
mov byte [esp + 0x30], al
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm2
jmp 0x445b87
lea ecx, [esp + 0xc4]
movzx esi, word [esp + 0xde]
mov al, byte [ecx + 0x18]
movsd xmm0, qword [ecx + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea ecx, [esp + 0x40]
mov byte [esp + 0x30], al
movsd qword [esp + 0x28], xmm0
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm2
call fcn.00439b72
mov eax, dword [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
movsd xmm2, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xb0]
mov ecx, esi
mov dword [esp + 0x58], eax
movsd qword [esp + 0x50], xmm0
movsd qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
mov esi, dword [esp + 0xa4]
mov dword [esp + 0xfc], esi
mov al, byte [esi + 0x40]
test al, al
jne 0x445ba9
mov al, 1
xchg byte [esi + 0x24], al
test al, al
je 0x445c4e
mov al, byte [esp + 0x30]
movq xmm0, qword [esp + 0x28]
movsd xmm2, qword [esp + 0x18]
movq xmm1, qword [esp + 0x20]
mov word [esp], cx
mov byte [esp + 0x80], al
movq qword [esp + 0x78], xmm0
movq qword [esp + 0x70], xmm1
movsd qword [esp + 0x68], xmm2
lea ecx, [esp + 0xfc]
call fcn.00439ac7
cmp bl, 2
jne 0x445c02
cmp byte [esp + 0x59], 2
mov ebx, 0
jne 0x445a02
jmp 0x445d6b
lea ecx, [esp + 0x40]
call fcn.00439b72
mov al, byte [esp + 0x80]
movq xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x68]
movq xmm1, qword [esp + 0x70]
mov byte [esp + 0x58], al
movzx eax, word [esp]
movq qword [esp + 0x50], xmm0
movq qword [esp + 0x48], xmm1
movsd qword [esp + 0x40], xmm2
mov byte [esp + 0x59], bl
xor ebx, ebx
mov word [esp + 0x5a], ax
jmp 0x445a02
cmp byte [esi + 0x21], 2
mov word [esp + 0x90], cx
jne 0x44645f
lea ecx, [esi + 8]
mov dword [esp + 4], ecx
call fcn.00439b72
mov ecx, dword [esp + 4]
mov al, byte [esp + 0x30]
mov byte [ecx + 0x18], al
movzx eax, word [esp + 0x90]
movsd xmm0, qword [esp + 0x28]
movsd qword [ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x18]
movq xmm1, qword [esp + 0x20]
movq qword [ecx + 8], xmm1
movq qword [ecx], xmm0
mov byte [esi + 0x21], bl
mov word [esi + 0x22], ax
xor eax, eax
mov bl, 2
xchg byte [esi + 0x24], al
mov al, byte [esi + 0x40]
test al, al
je 0x445bdc
mov al, 1
xchg byte [esi + 0x24], al
test al, al
jne 0x445bdc
mov eax, dword [ecx + 0x18]
mov dword [esp + 0xc0], eax
movsd xmm0, qword [ecx + 0x10]
movsd qword [esp + 0xb8], xmm0
movq xmm0, qword [ecx]
movq xmm1, qword [ecx + 8]
movq qword [esp + 0xb0], xmm1
movq qword [esp + 0xa8], xmm0
mov byte [esi + 0x21], 2
mov bl, byte [esp + 0xc1]
cmp bl, 2
jne 0x445d1a
lea ecx, [esp + 0xa8]
call fcn.00439b72
xor eax, eax
mov bl, 2
jmp 0x445d63
mov al, byte [esp + 0xc0]
movsd xmm0, qword [esp + 0xb8]
movq xmm1, qword [esp + 0xb0]
mov byte [esp + 0x80], al
movsd qword [esp + 0x78], xmm0
movq xmm0, qword [esp + 0xa8]
movzx eax, word [esp + 0xc2]
movq qword [esp + 0x70], xmm1
mov word [esp], ax
movq qword [esp + 0x68], xmm0
xor eax, eax
xchg byte [esi + 0x24], al
jmp 0x445bdc
cmp dword [edi + 0xc], 0
jne 0x445d8f
mov edx, dword [esp + 0xc]
lea esi, [esp + 0xa8]
mov ecx, esi
push dword [esp + 0x14]
call fcn.0043a001
pop eax
mov ecx, esi
call fcn.0043a08a
cmp byte [esp + 0x59], 2
je 0x446098
mov esi, dword [esp + 8]
mov edx, dword [esp + 0x14]
lea edi, [esp + 0xa8]
mov ecx, edi
lea eax, [esi + 0x30]
mov dword [esp], eax
call fcn.0043a4db
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x40]
mov dword [esp + 0x38], eax
push edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
call fcn.0043a094
add esp, 0xc
mov ecx, eax
mov dword [esp + 0x10], edx
mov edx, dword [esi + 0x30]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc], 0
shr ecx, 0x19
movd xmm0, ecx
punpcklbw xmm0, xmm0
mov ebx, esi
pshuflw xmm0, xmm0, 0
mov dword [esp + 4], edx
pshufd xmm1, xmm0, 0
and ebx, eax
movdqa xmmword [esp + 0x100], xmm1
movdqu xmm0, xmmword [edx + ebx]
movdqa xmmword [esp + 0x90], xmm0
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov word [esp + 0x18], ax
lea ecx, [esp + 0x18]
call fcn.0041bfb6
test eax, eax
je 0x445e5c
mov eax, dword [esp]
add edx, ebx
and edx, esi
neg edx
imul edi, edx, 0x24
lea edx, [esp + 0xa8]
mov eax, dword [eax]
lea ecx, [eax + edi - 0x24]
call fcn.0043a305
test al, al
je 0x445e2b
jmp 0x445e9c
movdqa xmm1, xmmword [esp + 0x90]
pcmpeqd xmm0, xmm0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
jne 0x44619c
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
movdqa xmm1, xmmword [esp + 0x100]
lea ebx, [ebx + eax + 0x10]
add eax, 0x10
mov dword [esp + 0xc], eax
and ebx, esi
jmp 0x445e10
mov ebx, dword [esp + 4]
movsd xmm0, qword [esp + 0xa8]
movsd xmm1, qword [esp + 0xb0]
mov eax, dword [esp + 0xb8]
mov esi, dword [esp + 0xbc]
add ebx, edi
mov edi, dword [esp + 8]
movsd qword [esp + 0x6b], xmm0
movsd qword [esp + 0x73], xmm1
mov dword [esp + 0x7b], eax
mov eax, dword [esp + 0x7b]
movsd xmm0, qword [esp + 0x6b]
movsd xmm1, qword [esp + 0x73]
mov edx, dword [esp]
lea ecx, [esp + 0xa8]
mov dword [esp + 0x2b], eax
movsd qword [esp + 0x23], xmm1
movsd qword [esp + 0x1b], xmm0
mov dword [ecx + 0x10], eax
movsd qword [ecx + 8], xmm1
movsd qword [ecx], xmm0
mov dword [ecx + 0x18], ebx
mov dword [ecx + 0x14], esi
mov dword [ecx + 0x1c], edx
call fcn.004479f8
mov eax, dword [edi + 0x78]
cmp eax, dword [ebx - 4]
jbe 0x44608f
mov eax, dword [esp + 0x58]
movq xmm0, qword [esp + 0x50]
movsd xmm2, qword [esp + 0x40]
movq xmm1, qword [esp + 0x48]
lea esi, [esp + 0xa8]
add ebx, 0xfffffff4
mov dword [esi + 0x28], eax
movq qword [esi + 0x20], xmm0
movq qword [esi + 0x18], xmm1
movsd qword [esi + 0x10], xmm2
call fcn.0047c9b0
mov dword [esi + 4], edx
mov dword [esi], eax
mov dword [esi + 8], ecx
mov ecx, ebx
mov edx, esi
call fcn.004465c8
cmp dword [edi + 0x7c], 0
jne 0x446098
mov eax, dword [esp + 8]
mov esi, dword [eax + 8]
cmp esi, 0x3b9aca00
je 0x446098
mov edi, dword [esp + 8]
lea eax, [edi + 0x7c]
mov ebx, dword [edi + 4]
mov dword [esp + 0x90], eax
mov eax, dword [edi]
mov dword [esp], eax
call fcn.004465f3
mov ecx, dword [esp + 0x90]
mov dword [esp + 4], eax
mov dword [esp + 0x100], edx
call fcn.00439977
mov eax, dword [esp + 4]
mov ecx, dword [esp]
mov dword [esp + 4], ebx
mov edx, ebx
mov dword [edi + 0x7c], eax
push 0
push 0
push 0
mov dword [esp + 0x9c], esi
push esi
call fcn.0048a7f2
add esp, 0x10
test al, al
je 0x446473
call fcn.0047c9b0
lea ebx, [esp + 0xa8]
mov esi, edx
mov edi, ecx
mov edx, eax
mov ecx, ebx
push 0x4d61f0
push edi
push esi
call fcn.0048f4ef
add esp, 0xc
push 0x50
pop ecx
push 8
pop edx
call fcn.00488916
push 0x14
pop ecx
mov dword [esp + 0xc], eax
mov edi, eax
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0xc]
call fcn.0043a530
mov ebx, dword [esp + 8]
mov esi, eax
mov ecx, dword [ebx + 0x70]
test ecx, ecx
je 0x4460a9
mov edx, dword [ebx + 0x74]
call fcn.00488427
mov edi, eax
mov ebx, edx
push 0x20
pop ecx
push 8
pop edx
call fcn.00488916
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x100]
mov dword [eax + 4], ecx
mov ecx, dword [esp]
mov dword [eax], ecx
mov ecx, dword [esp + 0x90]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0x10], ecx
mov byte [eax + 0x14], 0
mov dword [eax + 0x18], edx
mov dword [eax + 0x1c], esi
push 0x4ce098
push eax
push edi
call dword [ebx + 0xc]
add esp, 0xc
jmp 0x446098
lea ecx, [esp + 0x40]
call fcn.00439b7d
mov ecx, dword [esp + 0x14]
call fcn.004399ff
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, dword [0x5060d4]
mov eax, dword [0x5060d0]
mov dword [esp + 8], esi
mov ebx, eax
mov ecx, edx
add ebx, 1
adc ecx, 0
lock cmpxchg8b qword [0x5060d0]
jne 0x4460b8
mov dword [esp + 0x18], eax
mov eax, dword [esp + 4]
mov edi, dword [esp + 0xc]
mov esi, dword [esp + 0x100]
lea ebx, [esp + 0x18]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x6c], eax
mov eax, dword [esp]
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x78], edi
mov byte [esp + 0x7c], 0
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
call fcn.00403f66
test eax, eax
je 0x4464a2
mov ecx, eax
call fcn.0048cbbf
mov ecx, dword [esp + 4]
cmp dword [eax], 2
mov dword [esp + 0x10], edx
mov edx, dword [esp + 8]
mov dword [esp + 0xac], ecx
mov ecx, dword [esp]
mov dword [esp + 0xa8], ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xb8], edi
mov byte [esp + 0xbc], 0
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], edx
mov dword [esp + 0xc8], ebx
jne 0x4461f4
lea eax, [esp + 0xa8]
push eax
call fcn.00446627
pop eax
xor ebx, ebx
jmp 0x446408
mov edi, dword [esp + 8]
cmp dword [edi + 0x38], 0
je 0x446439
mov bl, byte [esp + 0xa8]
movsd xmm0, qword [esp + 0xa9]
movsd xmm2, qword [esp + 0xb1]
movsd xmm1, qword [esp + 0xb8]
mov esi, dword [esp + 0x3c]
cmp bl, 3
movsd qword [esp + 0x70], xmm2
movsd qword [esp + 0x68], xmm0
movsd qword [esp + 0x77], xmm1
jne 0x4462c4
mov ebx, dword [esp + 0x10]
jmp 0x445ed6
mov ecx, eax
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
add eax, 4
cmp dword [ecx], 0
mov dword [esp + 0x3c], edx
mov dword [esp + 0x38], ebx
je 0x446353
mov edi, dword [eax]
lock inc dword [edi]
jle 0x4464c3
lea eax, [edi + 8]
mov dword [esp + 0x64], eax
lea eax, [edi + 0x90]
mov dword [esp + 0x60], eax
push 0x40
pop edx
mov ecx, 0x80
call fcn.00488916
mov ebx, eax
mov dword [eax], 0xcc
and dword [eax + 4], 0
mov dword [eax + 8], 0x4ce52c
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax + 0x18], edi
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x60]
mov edx, ebx
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 4]
and dword [ebx + 0x2c], 0
and dword [ebx + 0x28], 0
mov dword [ebx + 0x34], eax
mov eax, dword [esp]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 0xc]
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 8]
mov byte [ebx + 0x44], 0
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], eax
and dword [ebx + 0x50], 0
and dword [ebx + 0x54], 0
and dword [ebx + 0x58], 0
push ebx
call fcn.004474f9
pop ecx
mov ecx, dword [esp + 0x64]
mov edx, eax
call fcn.0048dcd5
jmp 0x446408
lea eax, [esp + 0xa9]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
movsd xmm0, qword [eax + 0xf]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
movsd qword [esp + 0x27], xmm0
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm2
push dword [esp + 0x10]
push esi
call fcn.0043a69e
pop ecx
pop ecx
mov ecx, dword [edi + 0x30]
and dl, 1
neg eax
movzx edx, dl
imul eax, eax, 0x24
sub dword [edi + 0x38], edx
mov byte [ecx + eax - 0x24], bl
lea ebx, [ecx + eax]
movsd xmm0, qword [esp + 0x18]
movsd xmm1, qword [esp + 0x20]
movsd qword [ecx + eax - 0x23], xmm0
movsd qword [ecx + eax - 0x1b], xmm1
movsd xmm0, qword [esp + 0x27]
movsd qword [ecx + eax - 0x14], xmm0
mov dword [ecx + eax - 0xc], 8
and dword [ecx + eax - 8], 0
and dword [ecx + eax - 4], 0
inc dword [edi + 0x3c]
jmp 0x445f1a
mov dword [esp + 0xf8], eax
mov eax, dword [eax]
lock inc dword [eax]
jle 0x4464c3
mov dword [esp + 0x60], eax
add eax, 8
mov dword [esp + 0x64], eax
push 0x40
pop edx
mov ecx, 0x80
call fcn.00488916
mov ebx, eax
mov dword [eax], 0xcc
and dword [eax + 4], 0
mov dword [eax + 8], 0x4ce43c
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x64]
mov edx, ebx
mov dword [ebx + 0x18], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x24], eax
mov eax, dword [esp + 0x3c]
mov dword [ebx + 0x20], eax
mov eax, dword [esp + 4]
and dword [ebx + 0x2c], 0
and dword [ebx + 0x28], 0
mov dword [ebx + 0x34], eax
mov eax, dword [esp]
mov dword [ebx + 0x30], eax
mov eax, dword [esp + 0x90]
mov dword [ebx + 0x38], eax
mov eax, dword [esp + 8]
mov dword [ebx + 0x40], edi
mov byte [ebx + 0x44], 0
mov dword [ebx + 0x48], esi
mov dword [ebx + 0x4c], eax
and dword [ebx + 0x50], 0
and dword [ebx + 0x54], 0
and dword [ebx + 0x58], 0
push ebx
call fcn.004474f9
pop ecx
test eax, eax
je 0x446408
mov ecx, dword [esp + 0xf8]
mov edx, eax
call fcn.0048d913
mov eax, dword [esp + 0x10]
dec dword [eax]
test ebx, ebx
je 0x4464b1
mov ecx, 0x84
mov eax, 0xcc
lock cmpxchg dword [ebx], ecx
je 0x446098
mov eax, dword [ebx + 8]
push ebx
call dword [eax + 0x10]
add esp, 4
jmp 0x446098
mov ecx, dword [esp]
mov edx, dword [esp + 0x38]
call fcn.004a685c
jmp 0x4461aa
push 0x12
pop edx
mov ecx, str.value_already_sent
push 0x4cdbe8
call fcn.004a5670
pop eax
ud2
push 0x20
pop edx
mov ecx, 0x4cbed0
push 0x4cbf58
call fcn.004a5340
jmp 0x44645c
lea ecx, [esp + 0xa8]
mov edx, 0x4cdbc4
mov dword [ecx], 0x4d6184
mov dword [ecx + 4], 1
and dword [ecx + 0x10], 0
mov dword [ecx + 8], 0x4fa19c
and dword [ecx + 0xc], 0
call fcn.004a51c0
ud2
lea eax, [esp + 0x68]
push eax
call fcn.00446627
pop eax
mov al, 1
jmp 0x4464b3
xor eax, eax
lea ecx, [esp + 0xa8]
mov byte [ecx], al
call fcn.004a6824
ud2
ud2