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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xf0
mov esi, dword [ebp + 8]
mov ebx, ecx
mov dword [esp + 0x10], edx
mov dword [esp + 4], ecx
cmp byte [esi + 8], 2
jne 0x454287
cmp dword [ebx + 0x3c], 0
je 0x454287
lea eax, [ebx + 0x30]
mov ecx, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
mov ebx, dword [esp + 0x10]
mov dword [esp], eax
push ebx
mov eax, dword [esp + 8]
push dword [eax + 0x4c]
mov eax, dword [esp + 0xc]
push dword [eax + 0x48]
call fcn.0044873e
add esp, 0xc
mov ecx, dword [esp]
mov edi, edx
mov edx, eax
push ebx
mov ebx, dword [esp + 8]
push edi
call fcn.004550c6
pop ecx
pop edx
test eax, eax
je 0x454287
mov ecx, esi
jmp 0x4548ed
movq xmm0, qword [esi + 0x10]
movsd xmm2, qword [esi]
movq xmm1, qword [esi + 8]
mov edx, dword [esp + 0x10]
lea ecx, [ebx + 0x50]
mov dword [esp + 0xc], ecx
movq qword [esp + 0x58], xmm0
movq qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm2
call fcn.00454a1e
test eax, eax
je 0x4545d0
mov ebx, eax
xor edi, edi
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4545b5
mov ecx, dword [ebx + 8]
mov esi, dword [ebx]
lea edx, [ecx + 1]
cmp edx, esi
mov edx, dword [ebx + 4]
cmovb esi, edi
dec eax
neg esi
lea esi, [ecx + esi + 1]
mov dword [ebx + 8], esi
mov dword [ebx + 0xc], eax
mov eax, dword [edx + ecx*4]
mov dword [esp + 0x9c], eax
mov al, byte [eax + 0x3c]
test al, al
je 0x45430a
lea ecx, [esp + 0x9c]
call fcn.0044821c
jmp 0x4542c3
mov al, byte [esp + 0x5d]
movzx ecx, word [esp + 0x5e]
mov byte [esp + 0x5d], 2
cmp al, 2
je 0x4549f8
movsd xmm0, qword [esp + 0x55]
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
lea edx, [esp + 0xd0]
movsd qword [esp + 0xdd], xmm0
movsd qword [esp + 0xd8], xmm1
movsd qword [esp + 0xd0], xmm2
mov byte [esp + 0xe5], al
mov word [esp + 0xe6], cx
lea ecx, [esp + 0x68]
call fcn.00454a67
mov al, byte [esp + 0x95]
cmp al, 2
jne 0x4543a9
movsd xmm0, qword [esp + 0x75]
movsd xmm2, qword [esp + 0x68]
mov al, byte [esp + 0x7d]
movzx edi, word [esp + 0x7e]
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0x25], xmm0
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm2
mov byte [esp], al
jmp 0x454408
lea ecx, [esp + 0x80]
movzx edi, word [esp + 0x96]
mov byte [esp], al
movsd xmm0, qword [ecx + 0xd]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
lea ecx, [esp + 0x48]
movsd qword [esp + 0x25], xmm0
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm2
call fcn.004482c7
movsd xmm0, qword [esp + 0x78]
movsd xmm2, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
movsd qword [esp + 0x58], xmm0
movsd qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm2
mov esi, dword [esp + 0x9c]
mov dword [esp + 0xbc], esi
mov al, byte [esi + 0x3c]
test al, al
jne 0x45442a
mov al, 1
xchg byte [esi + 0x20], al
test al, al
je 0x4544c4
movq xmm0, qword [esp + 0x25]
movsd xmm2, qword [esp + 0x18]
movq xmm1, qword [esp + 0x20]
mov word [esp + 0xa0], di
movq qword [esp + 0x3d], xmm0
movq qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm2
xor edi, edi
lea ecx, [esp + 0xbc]
call fcn.0044821c
mov al, byte [esp]
cmp al, 2
jne 0x45447b
cmp byte [esp + 0x5d], 2
jne 0x4542c3
jmp 0x4545af
lea ecx, [esp + 0x48]
mov byte [esp], al
call fcn.004482c7
movq xmm0, qword [esp + 0x3d]
movsd xmm2, qword [esp + 0x30]
movq xmm1, qword [esp + 0x38]
mov al, byte [esp]
movzx ecx, word [esp + 0xa0]
movq qword [esp + 0x55], xmm0
movq qword [esp + 0x50], xmm1
movsd qword [esp + 0x48], xmm2
mov byte [esp + 0x5d], al
mov word [esp + 0x5e], cx
jmp 0x4542c3
cmp byte [esi + 0x1d], 2
jne 0x454a0a
lea ecx, [esi + 8]
mov dword [esp + 8], ecx
call fcn.004482c7
mov ecx, dword [esp + 8]
movsd xmm0, qword [esp + 0x25]
mov al, byte [esp]
movsd qword [ecx + 0xd], xmm0
movq xmm0, qword [esp + 0x18]
movq xmm1, qword [esp + 0x20]
movq qword [ecx + 8], xmm1
movq qword [ecx], xmm0
mov byte [esi + 0x1d], al
mov word [esi + 0x1e], di
xor eax, eax
xchg byte [esi + 0x20], al
mov al, byte [esi + 0x3c]
mov byte [esp], 2
test al, al
je 0x454456
mov al, 1
mov edi, 0
xchg byte [esi + 0x20], al
test al, al
jne 0x454458
movsd xmm0, qword [ecx + 0x10]
movsd qword [esp + 0x78], xmm0
movq xmm0, qword [ecx]
movq xmm1, qword [ecx + 8]
movq qword [esp + 0x70], xmm1
movq qword [esp + 0x68], xmm0
mov byte [esi + 0x1d], 2
mov al, byte [esp + 0x7d]
cmp al, 2
jne 0x454571
lea ecx, [esp + 0x68]
call fcn.004482c7
xor eax, eax
xchg byte [esi + 0x20], al
mov byte [esp], 2
jmp 0x454458
mov byte [esp], al
movq xmm0, qword [esp + 0x75]
movsd xmm2, qword [esp + 0x68]
movzx eax, word [esp + 0x7e]
movq xmm1, qword [esp + 0x70]
movq qword [esp + 0x3d], xmm0
mov word [esp + 0xa0], ax
movq qword [esp + 0x38], xmm1
movsd qword [esp + 0x30], xmm2
xor eax, eax
xchg byte [esi + 0x20], al
jmp 0x454458
cmp dword [ebx + 0xc], 0
jne 0x4545d0
mov edx, dword [esp + 0xc]
lea esi, [esp + 0x68]
mov ecx, esi
push dword [esp + 0x10]
call fcn.00448699
pop eax
mov ecx, esi
call fcn.00448731
cmp byte [esp + 0x5d], 2
je 0x4548f2
mov esi, dword [esp + 4]
mov edx, dword [esp + 0x10]
lea edi, [esp + 0x68]
mov ecx, edi
lea eax, [esi + 0x30]
mov dword [esp + 0xc], eax
call fcn.00448b4c
mov edx, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
lea eax, [esi + 0x40]
mov dword [esp + 0x60], eax
push edi
push dword [esi + 0x4c]
push dword [esi + 0x48]
call fcn.0044873e
add esp, 0xc
mov ecx, eax
mov dword [esp + 0x14], edx
mov edx, dword [esi + 0x30]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x64], eax
mov dword [esp + 8], 0
shr ecx, 0x19
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
mov dword [esp], esi
and esi, eax
pshufd xmm1, xmm0, 0
movdqa xmmword [esp + 0xc0], xmm1
movdqu xmm0, xmmword [edx + esi]
mov ebx, edx
movdqa xmmword [esp + 0xa0], xmm0
pcmpeqb xmm0, xmm1
pmovmskb eax, xmm0
mov word [esp + 0x18], ax
lea ecx, [esp + 0x18]
call fcn.00416dad
test eax, eax
je 0x454693
add edx, esi
and edx, dword [esp]
neg edx
imul edi, edx, 0x24
lea edx, [esp + 0x68]
lea ecx, [ebx + edi - 0x24]
call fcn.00448948
test al, al
je 0x454669
jmp 0x4546d2
movdqa xmm1, xmmword [esp + 0xa0]
pcmpeqd xmm0, xmm0
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
test eax, eax
jne 0x45490e
mov eax, dword [esp + 8]
movdqa xmm1, xmmword [esp + 0xc0]
mov edx, ebx
lea esi, [esi + eax + 0x10]
add eax, 0x10
and esi, dword [esp]
mov dword [esp + 8], eax
jmp 0x45464c
movsd xmm0, qword [esp + 0x68]
movsd xmm1, qword [esp + 0x70]
mov eax, dword [esp + 0x78]
mov esi, dword [esp + 0x7c]
add ebx, edi
movsd qword [esp + 0x33], xmm0
movsd qword [esp + 0x3b], xmm1
mov dword [esp + 0x43], eax
mov eax, dword [esp + 0x43]
movsd xmm0, qword [esp + 0x33]
movsd xmm1, qword [esp + 0x3b]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x68]
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.00455096
mov edi, dword [esp + 4]
mov eax, dword [edi + 0x80]
cmp eax, dword [ebx - 4]
jbe 0x4548e9
movsd xmm0, qword [esp + 0x58]
movsd xmm2, qword [esp + 0x48]
movsd xmm1, qword [esp + 0x50]
lea esi, [esp + 0x68]
add ebx, 0xfffffff4
movsd qword [esi + 0x10], xmm0
movsd qword [esi + 8], xmm1
movsd qword [esi], xmm2
call fcn.0047ae80
mov dword [esi + 0x1c], edx
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], ecx
mov ecx, ebx
mov edx, esi
call fcn.00454b38
cmp dword [edi + 0x84], 0
jne 0x4548f2
mov eax, dword [esp + 4]
mov edi, dword [eax + 8]
cmp edi, 0x3b9aca00
je 0x4548f2
mov ebx, dword [esp + 4]
mov eax, dword [ebx]
mov ecx, dword [ebx + 0x78]
mov edx, dword [ebx + 0x7c]
mov dword [esp], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0xa0], eax
call fcn.00454b63
test eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], edx
je 0x454903
mov dword [esp + 0xc], edi
mov dword [esp + 0x30], eax
mov esi, eax
lea edi, [ebx + 0x84]
mov dword [esp + 0xc0], edx
mov dword [esp + 0x34], edx
call fcn.00454b70
mov ecx, edi
mov dword [esp + 8], eax
mov dword [esp + 0x14], edx
call fcn.0044747c
mov eax, dword [esp + 8]
mov dword [edi], eax
lock inc dword [esi]
jle 0x454a1c
call fcn.0047ae80
mov dword [esp + 8], eax
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], ecx
call fcn.0047ae80
lea edi, [esp + 0x30]
push ecx
push edx
push eax
push edi
call fcn.0042c73e
add esp, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb4], edx
call fcn.00448b69
mov ecx, dword [ebx + 0x70]
mov edx, dword [ebx + 0x74]
mov dword [esp + 0xb0], eax
call fcn.0042c732
mov edi, eax
mov ebx, edx
push 0x38
pop ecx
push 8
pop edx
call fcn.0048e46f
mov ecx, dword [esp + 0xa0]
mov edx, dword [esp + 0xc0]
mov dword [eax + 4], ecx
mov ecx, dword [esp]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x60]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], edx
mov esi, dword [esp + 0xb8]
mov edx, dword [esp + 0xb4]
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], edx
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0xb0]
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], edx
push 0x4d9024
push eax
push edi
call dword [ebx + 0xc]
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.0044755d
jmp 0x4548f2
lea ecx, [esp + 0x48]
call fcn.004482d2
mov ecx, dword [esp + 0x10]
call fcn.00448154
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x68]
call fcn.004474a8
jmp 0x4548f2
mov eax, dword [esp + 4]
cmp dword [eax + 0x38], 0
je 0x4549e6
mov bl, byte [esp + 0x68]
movsd xmm0, qword [esp + 0x69]
movsd xmm2, qword [esp + 0x71]
movsd xmm1, qword [esp + 0x78]
mov esi, dword [esp + 0x64]
cmp bl, 3
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x30], xmm0
movsd qword [esp + 0x3f], xmm1
jne 0x454956
mov ebx, dword [esp + 0x14]
jmp 0x4546f8
mov edi, dword [esp + 4]
lea eax, [esp + 0x69]
movsd xmm0, qword [eax + 0xf]
movsd xmm2, qword [eax]
movsd xmm1, qword [eax + 8]
mov ecx, dword [edi + 0x30]
mov edx, dword [edi + 0x34]
movsd qword [esp + 0x27], xmm0
movsd qword [esp + 0x20], xmm1
movsd qword [esp + 0x18], xmm2
push dword [esp + 0x14]
push esi
call fcn.00448cd5
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
and dword [ecx + eax - 0xc], 0
mov dword [ecx + eax - 8], 8
and dword [ecx + eax - 4], 0
inc dword [edi + 0x3c]
jmp 0x45473e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
call fcn.004a25ce
jmp 0x45491c
push 0x12
pop edx
mov ecx, str.value_already_sent
push 0x4d8ce8
call fcn.004a0680
push 0x20
pop edx
mov ecx, 0x4d9738
push 0x4d97b4
call fcn.004a0350
ud2